Using the WDB GUI · Setting Pathmap Home and Help Icons Keyword Index Home Using Help
Line Graphic
Line Graphic

Contents

Keyword Index

Using the WDB GUI

Starting and Exiting the WDB GUI



Loading a Program and Changing Program Settings



Opening Source Files



Changing the Working Directory



Saving and Restoring Debug Sessions



Setting Source Paths



Setting Object Paths


{short description of image} Setting Pathmap



Viewing Your Code



Browsing Functions



Setting Signal Handling



Finding Specific Text in Your Code



Using the Command View



Using the Watch View



Using Quick Watch



Using the Local Variables View



Using the Call Stack View



Using the Threads View



Using the Registers View



Examining Memory Use



Using the Program Console



Using Breakpoints



Advancing Through Your Program



Fixing Code from within the Debugger



Starting and Stopping the Debug Process



Setting Debugger Preferences



Customizing Colors and Fonts

Reference Information

Troubleshooting

Using Help



Bullet Overview
Bullet Adding and Deleting Pathmap
Bullet Changing the Order of Pathmaps
Bullet Tips
Bullet See Also

Line Graphic

Overview

You can set pathmap so that WDB GUI can locate the object files for the currently loaded executable, which are spread over many directories. The Pathmap 'From' and 'To' dialog box lets you define a list of substitution rules that need to be applied to the path names to identify the object files and the corresponding source files. In this dialog box, you can add, delete, and change the priority order of pathmap. Line Graphic

Adding and Deleting Pathmap

To add a pathmap

  1. On the Edit menu, click Pathmap.
  2. In the Pathmap dialog box, click the Browse button.
  3. In the From-Add Pathmap File Path and To-Add Pathmap File Path dialog box, double-click in the Directories list to select the appropriate 'From' and 'To' paths.
  4. When the proper path appears in the Selection box in the  From-Add Pathmap File Path and the To-Add Pathmap File Path dialog boxes, click Add to add in Pathmaps in the  From and To text boxes in the  Pathmap dialog box.
  5. Click Add in Pathmap dialog to add pathmaps in pathmap  list.
  6. In the Pathmap dialog box, verify that the pathmaps you selected appear in the Pathmap list.
  7. Click OK.

To delete an object path

  1. On the Edit menu, click Pathmap.
  2. In the Pathmap list, select the pathmap that you want to delete.
  3. Click Delete. The selected Pathmap disappears from the Pathmap list.
  4. Click OK.

To replace a pathmap

  1. On the Edit menu, click Pathmap.
  2. Double-click the directory you want to replace in the Pathmap text box, it will be listed in 'From' and 'To'  path selection text boxes..
  3. Click Browse button, click in the Directories list in the select From-Add Pathmap File paths and To-Add Pathmap File paths to select the new directory with which you want to replace the old one  .
  4. When the proper directory appears in the Selection box, click OK.
  5. In the Pathmap dialog box, verify whether:
    • 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.
Line Graphic

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 an object path 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.
{short description of image}

Tips

  • One way to save your object path information is to save your debug session.
Line Graphic

See Also

Line Graphic

Return to Top