HP WDB GUI 5.7 Reference Manual (September 2007)
Debugging with WDB GUI
Fixing the Code from within the Debugger
Chapter 364
3. Select the Open in debugger toggle (this is the default).If you prefer, you can choose to
open the file in an external editor.
4. Make changes to the source file or files.
5. If you’re using an external editor, save your changes when you have completed them.
6. Click on one of the following toolbar buttons:
• Step Into
• Step Over
• Step Out
• Step Last
•Go
• Restart
7. WDB GUI asks you if you want to apply the source changes. Click Yes. The debugger
performs the command you selected using the modified source.
The Build View tab displays any build output and reports when the build has completed.
NOTE
• When the debugger starts an external editor, it chooses the editor based on
the environment variable EDITOR. If EDITOR is not set, the debugger
starts vi.
• Files you open are monitored for changes (text changes for the debugger
editor; modification times for external editors). When you click on a
program execution button (such as Step Into), the debugger asks you if you
want to rebuild changed files.
• The fix and continue feature is not supported on IPF platform.
Explicitly requesting the debugger for monitoring or rebuilding files
You can explicitly request that the debugger monitor or fix a specific file or files. This is
useful, for example, for building dependent files that need to be rebuilt because you change a
header file.
To explicitly request for monitoring a specific file for changes
1. On the Edit menu, click Fix List.... The Add/Delete Fix List Files dialog appears.