HP WDB GUI 5.8 Reference Manual ( February 2008 )
Debugging with WDB GUI
Debugging Inline Functions
Chapter 3 85
Debugging Inline Functions
HP WDB GUI 5.6 and later versions provide inline debugging support for debugging applica-
tions running on Integrity and HP 9000 systems. To enable inline debugging in HP 9000 sys-
tems, the applications must be compiled with the +inline_debug option (added in the A.03.65
and later versions of the HP aC++ compiler). In Integrity systems, the applications that are
compiled with the -g option support inline debugging by default. Compiler versions A.06.02
and later in Integrity systems support inline debugging.
Using Inline Debugging Options
To enable or disable inline debugging, select Tools->Inline Debug and set the appropriate
inline debugging option. Inline Debug offers the following options:
• On
Select Tools->Inline Debug->On to enable inline debugging functionality without the
inline breakpoint feature. This command is enabled by default in Integrity and HP 9000
systems.
• Off
Select Tools->Inline Debug->Off to disable the inline debugging feature. You can
disable inline debugging by entering this command before loading the application for
debugging.
• Breakpoint All
Select Tools->Inline Debug->Breakpoint All to enable the setting and modifying of
breakpoints at all instances of a particular inline function, in addition to enabling the
inline debugging feature. A single instance of the specified inline function is displayed as
a representative instance for all the instances of the specified inline function. This creates
a single-breakpoint illusion for multiple instances of the inline function. You can set and
modify breakpoints at all instances of the inline functions by setting and modifying
breakpoints at the displayed instance of the inline function. This option must be enabled
before loading the application for debugging. This option is not available for HP 9000
systems.
• Breakpoint Ind.
Select Tools->Inline Debug->Breakpoint Ind. to enable the setting and modifying
normal breakpoints at a particular inline function, in addition to enabling the inline
debugging feature. All instances of a particular inline function are displayed as separate