Native Inspect Manual (H06.03+)

Table Of Contents
Syntax of Native Inspect Commands
Native Inspect Manual528122-003
3-15
bt command
To set a breakpoint at a code address:
bt command
Prints a backtrace of all stack frames (frame numbers are preceded by a number sign,
#).
Alias: tn
count
is an integer that displays a backtrace of the innermost count frames. If you
specify a negative count, then a backtrace of the outermost -count frames is
displayed.
Debugging TNS
Although Native Inspect does not debug TNS processes, the bt command can display
a TNS stack trace.
Example
To display the current frame:
(eInspect 3,663):b *0x70002c40:2
Breakpoint 3 at 0x70002c40:2: file \SIERRA.$YOSE1.SYMBAT1.SCXXTST, line
372.
(eInspect 3,663):c
Continuing.
Breakpoint 3, 0x70002c40:2 in pcbDataStructs_initialize ()
at \SIERRA.$YOSE1.SYMBAT1.SCXXTST:372
372 PCB_addAttribute( pcb, PCBAttribute_createNonstop(
PCBList.entry[11] ) );
{ bt | tn } [ count ]
(eInspect 4,770): bt
#0 pcbDataStructs_initialize () at \SIERRA.$YOSE1.SYMBAT1.SCXXTST:362
#1 0x700016a0:0 in main (argc=1, argv=0x8003010)
at \SIERRA.$YOSE1.SYMBAT1.SCXXTST:217
#2 0x700011f0:0 in _MAIN () at \SPEEDY.$RLSE.T8432H01.CPLMAINC:68