Using SoftBench Debugger

Understanding SoftBench Debugger

Monitor variable values

You can set a watchpoint on a variable, causing it to be monitored after each instruction, statement, or function entry point, or when the program returns control to the debugger. SoftBench Debugger displays the current variable values in the Data Watch Window.

View machine instructions

You can view disassembled machine code with symbolic addresses at any address in your program. You can also view and access register values. SoftBench Debugger shows associated source line numbers where possible, and displays source code.

Visually navigate complicated data structures

You can visualize what is happening to your data structures by using the Data Graph Window to de-reference pointers and look at data structure values.

Debug C++ programs

SoftBench Debugger fully supports C++ data and control structures. You can set breakpoints on specific classes, member functions, templates, instances, and overloaded functions. You can specify how inherited data and functions should be treated.

Edit source files

SoftBench Debugger has a "Source File Area" that allows you to edit source files using a text editor that supports emacs-style key bindings. You can also edit programs with your configured editor from the File menu.

Chapter 7

157

Page 157
Image 157
HP UX SoftBench Software manual