HP WDB GUI 5.7 Reference Manual (September 2007)
Debugging with WDB GUI
Opening Source Files
Chapter 3 55
• the directory that you want to replace is highlighted in the Pathmap- From and To
text box.
• the new directory that you selected appears in the directory edit box (to the left of the
Browse button).
6. Click Replace.
7. Click OK.
Changing the Order of Pathmap
In the Pathmap list, the paths are searched in the order in which they are listed, that is, the
WDB GUI will map the first pathmap listed, then the second path, and so on.
To move a pathmap up
1. On the Edit menu, click Pathmap.
2. In the Pathmaps list, select the pathmap you want to move up.
3. Click Move Up until the path is where you want it in the list.
4. Click OK.
To move a pathmap down
1. On the Edit menu, click Pathmap.
2. In the Pathmap list, select the pathmap you want to move down.
3. Click Move Down until the path is in the place where you want it to be in the list.
4. Click OK.
Tip
One way to save your pathmap information is to save your debug session.
Opening Source Files
You can open and view a source file associated with the executable that you are debugging.
For example, you might want to set a breakpoint in a particular source file that is associated
with the current executable, or you might want to edit and rebuild a file in the debugger.