Native Inspect Manual (H06.07+)
Syntax of Native Inspect Commands
Native Inspect Manual—528122-006
4-18
catch command
Example
To display the current frame:
catch command
Sets a logical breakpoint on a specified event (a catch event). A catch event is similar
to a breakpoint except that a catch event is associated with a logical event rather than
a code location.
Catch events are treated as breakpoints and each catch event has an associated
breakpoint number. You can use all the breakpoint-related commands to manage catch
events. This includes the commands command, condition command, delete command,
enable command, disable command, and info command with the breakpoints option.
event
is the event on which the process will be held. The events are:
•
STOP holds the process on a STOP event.
•
ABEND holds the process on an ABEND event.
•
LOAD [dllname] holds the process on the loading of a DLL. If you specify
dllname, the process is held when the specified DLL is loaded. If you omit
dllname, the process is held when any DLL is loaded.
•
UNLOAD [dllname] holds the process on the unloading of a DLL. If you specify
dllname, the process is held when the specified DLL is unloaded. If you omit
dllname, the process is held when any DLL is unloaded.
To display a list of current catch events, use the info command
with the breakpoints
option.
Managing a Stopping Process (STOP and ABEND Events)
When a process triggers a STOP or ABEND event, the process is in a stopping state.
You can examine a process that is in a stopping state, but the process cannot execute
any further. Execution control commands are disabled when a process is suspended at
a STOP or ABEND event. You can use the save command to create a snapshot of a
stopping process.
(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
catch event










