HPlogo HP WDB-GUI Reference Manual: HP-UX 11i v2 > Chapter 3 Debugging with WDB GUI

Changing the Working Directory

» 

Technical documentation

Complete book in PDF

 » Table of Contents

The current working directory is the directory where the debugger runs. This is where the debugger looks for your program executable and core file. This is also one of the places the debugger looks for your source files.

The default working directory is the location where you first envoked the WDB GUI.

To set the current working directory

  1. On the File menu, click Change Directory.

  2. In the Working Directory dialog box, double-click to select the appropriate directory from the Directories list.

  3. When the proper directory appears in the Selection box, click OK.

Tips

  • If your source files are not in your current working directory, you may need to add directories to your source file path.

  • If your object files are not in your current working directory, you may need to add directories to your object file path.

  • You can save your working directory in a debug session file. The next time you want to debug that program, you can quickly reset the working directory and other information by restoring the debug session that you saved.

© 2004-2005 Hewlett-Packard Development Company, L.P.