HP WDB GUI 5.7 Reference Manual (September 2007)
Debugging with WDB GUI
Fixing the Code from within the Debugger
Chapter 362
• If a is an array, dwelling on a displays the text [...]. This indicates that the variable is an
array and cannot be viewed with dwell. You can use dwell to view the value of individual
elements within an array.
• Dwelling on i displays the value of i.
• Dwelling on [ displays the value of a[i].
In the expression *p, you can use dwell in the following ways:
• Dwelling on the * displays the value of *p
• Dwelling on the p displays the value of p
Tips
• Use the function browser to view source for a particular function. See Browsing Functions for detais
.
• Click the toolbar button to open and close the Disassembly view in a separate window.
• On the View menu, click Source or Disassembly to quickly bring that view to the top.
• You can customize the WDB GUI to display line numbers in the Source view. On the Edit menu,
click Preferences and use the Display Line Numbers check box to set whether line numbers are
displayed in the Source view.
Fixing the Code from within the Debugger
HP WDB lets you change the program you are debugging without having to exit the debugger
or even restart the executable you are debugging. You have the option of explicitly requesting
that a file be rebuilt and patched in, or you can have the debugger monitor source files,
rebuilding the executable whenever changes are detected.