Using SoftBench Debugger

Preparing Your Program for Debugging

Preparing Your Program for Debugging

Use Builder to compile (build) your projects for debugging. By default, Builder automatically generates the debug information required by SoftBench Debugger if you set the the "Debug" compile mode toggle button on the SoftBench main tool face. It may be necessary to recompile your application after enabling the "Debug" toggle.

SoftBench Debugger uses information placed in the executable file by the "debug" option of your language compiler. Most compilers use the -goption. The aCC compiler also accepts the -g0flag, forcing the compiler to generate full debug information. This flag is recommended for use with SoftBench Debugger

You do not need to make changes to your source code to use SoftBench Debugger. SoftBench Debugger works with both window-oriented and standard I/O programs. (See “Interacting with Your Program” on page 174.)

Chapter 7

159

Page 159
Image 159
HP UX SoftBench Software manual Preparing Your Program for Debugging