NonStop Development Environment for Eclipse 4.0 Debugging Supplement
Adding source lookup paths
To add an entry to the Source Lookup Path: list in the Source tab, click the Add... button to the right
of the list. The Add Source dialog appears. From this dialog, you can select and add any of the
six types of source lookup rules listed in the dialog. Choose which type of rule you want to add:
This happens nextSelect this rule type and click OK
To look for source
files in this location...
The rule you selected is added to the list of
source lookup path entries shown in the Source
tab.
Local Compile-Time File Path (This is the default
rule for local NonStop projects and
applications built locally outside of NSDEE)
The local
compile-time
location.
The Add File System Directory dialog is
displayed. Follow the instructions in “Add file
system directory dialog” (page 47).
Local File System DirectoryA local directory that
you will specify.
A new path mapping entry is added to the list
of entries in the Source tab, but this new entry
Local Path MappingOn the local system
using a path derived
does not have any mappings associated withby substituting part or
it. To add path mappings to a path mappingall of a file’s
entry, select the path mapping entry in the listcompile-time path
in the Source tab and click Edit.... The Pathwith a replacement
path. Mappings dialog is displayed. Follow the
instructions in “Creating and editing path
mapping lookups” (page 29).
The rule you selected is added to the list of
source lookup path entries shown in the Source
tab.
Remote Compile-Time File Path (This is the
default rule for remote NonStop projects and
applications built on NonStop servers outside
of NSDEE.)
The remote
compile-time
location.
The Add File System Directory dialog is
displayed. Follow the instructions in “Add file
system directory dialog” (page 47).
Remote File System DirectoryA remote directory
that you will specify.
A new path mapping entry is added to the list
of entries in the Source tab, but this new entry
Remote Path MappingOn the remote system
using a path derived
does not have any mappings associated withby substituting part or
it. To add path mappings to a path mappingall of a file’s
entry, select the path mapping entry in the listcompile-time path
in the Source tab and click Edit.... The Pathwith a replacement
path. Mappings dialog is displayed. Follow the
instructions in “Creating and editing path
mapping lookups” (page 29).
Creating and editing path mapping lookups
Path mappings tell the debugger to replace part of a source file's compile-time path with another
path and to use the resulting path to search for source files. For example, suppose your remote
OSS source files were located in /home/mikeb/myproj when you compiled the program, but
later you moved the sources to /home/mikeb/FY09/myproj. By creating a path mapping of
/home/mikeb to /home/mikeb/FY09, you tell the debugger to substitute /home/mikeb/FY09
whenever it looks for a source path that starts with /home/mikeb/.
To add path mapping entries to the Source Lookup Path: list in the Source tab
1. Create a container for the path mapping entries:
a. To the right of the Source Lookup Path: list, click Add.... The Add Source dialog appears.
b. Select either Local Path Mapping or Remote Path Mapping
c. Click OK.
Creating or modifying debug configurations 29










