Abbreviation | Command | Description |
h [command] | help [command] | Displays a usage message. To obtain help for a particular engine_debug command, specify that command. |
p | status | Displays the current debugger state, and position if stopped. |
ha | hashes | Lists injected files and their hashes. |
si | stepinto | Steps into an action. |
sot | stepout | Steps out of an action. |
sov | stepover | Steps over an instruction. |
r | run | Begins processing instructions. |
b | stop | Stops processing instructions. |
w [-to int] | wait [--timeout timeout] | Waits for the correlator to stop processing instructions. Specify an integer that indicates the number of seconds to wait. The debugger waits forever if you do not specify a timeout. See
The wait command for more information. |
s | stack [--context contextid] | [--frame frameid] | Displays current stack information for all contexts. The output includes the frame ID associated with each variable. To display stack information for only a particular context, specify the --context argument. To display stack information for only a particular frame, specify the --frame argument. |
i | inspect --instance monitorinstance | --instance monitorinstance --frame frameid | --instance monitorinstance --variable variablename | --instance monitorinstance --frame frameid --variable variablename | --frame frameid | --frame frameid --variable variablename | Displays the value of one or more variables. Specify a monitor instance and/or a frame ID and/or a variable name to display a list of variables in that monitor or in a particular monitor frame, or to display the value of a particular variable. Obtain monitor instance IDs from engine_inspect output or correlator log statements. Obtain frame IDs from engine_inspect stack output. |
c | context [--context contextid] | Displays information about all contexts in the correlator or about only the context you specify. Information displayed includes context name, context ID, monitor instances in the context, and monitor instance IDs. |
e | enable | Enables debugging. You must run this in order to do any debugging. |
d | disable | Disables debugging. You must run this to disable debugging. If you do not disable debugging, the correlator runs more slowly and continues to stop when it hits breakpoints. |
boe | breakonerror enable | Causes the debugger to pause if it encounters an error. |
boeoff | breakonerror disable | Causes the debugger to continue processing if it encounters an error. |
ba | breakpoint add [--breakonce] --file filename --line linenumber | [--breakonce] --owner ownername --action actionname --line linenumber | Adds a breakpoint at the beginning of the specified line. If you do not specify --breakonce, the correlator always pauses at this point when debugging is enabled. You must specify the line number where you want the breakpoint. As usual, this is the absolute offset from the beginning of the file. You must specify either the name of the file that contains the breakpoint or the owner and action name that contains the breakpoint. When the owner is a monitor instance, specify package_name.monitor_name or just monitor_name if there is no package. |
bd | breakpoint delete --file filename --line linenumber | --owner ownername --action actionname --line linenumber | --breakpoint breakpointid | Removes a breakpoint. Specify one of the following: File name and line number. Owner name, action name and line number. When the owner is a monitor instance, specify package_name.monitor_name or just monitor_name if there is no package. Breakpoint ID. You can obtain a breakpoint ID by executing the breakpoint list command. |
bls | breakpoint list | For each breakpoint in the correlator, this displays the following: Breakpoint ID. Name of file that contains the breakpoint. Name of the action that contains the breakpoint. Name of the owner of the breakpoint. Number of the line that the breakpoint is on. The breakpoint owner is the name of the monitor that contains the breakpoint or the name of the event type definition that contains the breakpoint. If the breakpoint is in an event type definition, the definition must specify an action and processing must create a closure between an event instance and an action call. For information about closures, see
Using action type variables. |
Value | Description |
0 | Success. All requests were processed successfully. |
1 | Failure. The correlator could not parse the command line, or an exception occurred, such as losing a connection or trying to use a non-existent ID. |