NonStop Development Environment for Eclipse Debugging Supplement
• Lookup on same system as launch (see Main tab), when selected, specifies that the debugger
look for the files on the same system as specified for the debugging configuration on the Main
tab.
• Lookup on system:, when selected, specifies that the debugger look for the files on the system
specified in the box. To specify a system, select the system in drop-down list or click Edit... to
specify a different system than those shown in the list.
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)
The local
compile-time
location.
The Add File System Directory dialog is
displayed. Follow the instructions in “Add File
System Directory dialog” (page 48).
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
does not have any mappings associated with
it. To add path mappings to a path mapping
entry, select the path mapping entry in the list
in the Source tab and click Edit.... The Path
Mappings dialog is displayed. Follow the
instructions in “Creating and editing path
mapping lookups” (page 30).
Local Path MappingOn the local system
using a path derived
by substituting part or
all of a file’s
compile-time path
with a replacement
path.
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.)
The remote
compile-time
location.
The Add File System Directory dialog is
displayed. Follow the instructions in “Add File
System Directory dialog” (page 48).
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
does not have any mappings associated with
it. To add path mappings to a path mapping
entry, select the path mapping entry in the list
in the Source tab and click Edit.... The Path
Mappings dialog is displayed. Follow the
instructions in “Creating and editing path
mapping lookups” (page 30).
Remote Path MappingOn the remote system
using a path derived
by substituting part or
all of a file’s
compile-time path
with a replacement
path.
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
30 Debugging Tasks










