Native Inspect Manual (H06.03+)

Table Of Contents
Syntax of Native Inspect Commands
Native Inspect Manual528122-003
3-14
break command, tbreak command
Setting Global Breakpoints
Global breakpoints are breakpoints that are set using the -g command option. To
set global breakpoints, you must be logged on as the super ID, you must turn on
priv mode by using the priv command, and no one else can be performing global
debugging at the same time. A global breakpoint is triggered by any process that
executes the code on which the global breakpoint is set.
Examples
To set code breakpoints:
To list breakpoints:
To define a breakpoint condition:
Note. Set global breakpoints when debugging a problem in code that is shared by multiple
processes. However, use global breakpoints with care because they might result in numerous
processes being suspended in the debugger.
(eInspect 1,325):b 216
Breakpoint 1 at 0x70001670:2: file \SIERRA.$YOSE1.SYMBAT1.SCXXTST, line
216.
(eInspect 1,325):b test_complexTypes
Breakpoint 2 at 0x70003700:0: file \SIERRA.$YOSE1.SYMBAT1.SCXXTST, line
420.
(eInspect 1,325):
(eInspect 1,325):info break
Num Type Disp Enb Address What
1 breakpoint keep y 0x70001672 in main
at
\SIERRA.$YOSE1.SYMBAT1.SCXXTST:216
2 breakpoint keep y 0x70003700 in test_complexTypes
at
\SIERRA.$YOSE1.SYMBAT1.SCXXTST:420
(eInspect 1,329):b 352
Breakpoint 1 at 0x70002540:0: file \SIERRA.$YOSE1.SYMBAT1.SCXXTST, line
352.
(eInspect 1,329):condition 1 pcb->pin == 2
(eInspect 1,329):info break
Num Type Disp Enb Address What
1 breakpoint keep y 0x70002540 in pcbDataStructs_initialize
at
\SIERRA.$YOSE1.SYMBAT1.SCXXTST:352
stop only if pcb->pin == 2