HP WDB GUI 5.7 Reference Manual (September 2007)
Debugging with WDB GUI
Loading a Program and Changing Program Settings
Chapter 326
Set desired breakpoints at this stage because once you continue executing the process, you
will not have control of execution until a breakpoint has been reached.
NOTE
• You can debug executables that are stored on NFS-mounted file systems,
but you cannot attach to an existing process if the executable that you run
resides on an NFS-mounted file system rather than on the local machine’s
file system. To fix this problem, copy the executable onto your local
machine’s file system, restart the process on your local machine, run the
debugger, and attach to the process.
• If you want to attach to a running process that contains shared libraries,
before you run the program, run the command /usr/bin/pxdb -s enable
executable_file where executable_file is the name of the program
executable.
To detach process
Click Stop Debugging on the Debug menu to detach a process.
After the process is detached, the process continues running independently of the WDB GUI,
and the WDB GUI no longer has any control of the process.
Setting Environment Variables
You can set environment variables that will be in effect for the current debug session.