delaction
Abstract
Removes a defined action from the list of actions. If the argument all is passed, all actions are deleted.
Syntax
delaction <action_id> | all
| Argument | Type | Description |
|---|---|---|
<action_id> |
integer | numeric action ID of the action-of-interest An action ID can be obtained for this argument by using the ODB command status, which lists all actions in numeric order. |
all |
n/a | Remove all defined actions. |
Details
There is no way to restore a deleted action. However, actions can be suspended via the suspaction command and reactivated via the actaction command. Action IDs are unique, and are not reused after the associated action is deleted.
Example
ODB> status
Breakpoints :
None
Traces :
Full trace is disabled
Encapsulation trace is enabled
Execution trace is disabled
Trace format: indented
No other traces
Actions :
2) action at event (1513): status
3) action at event (1521): snapshot snap_file
Miscellaneous :
Memory tagging is disabled
ODB> delaction 2
“action at event (1513): status” is deleted.
ODB> status
Breakpoints :
None
Traces :
Full trace is disabled
Encapsulation trace is enabled
Execution trace is disabled
Trace format: indented
No other traces
Actions :
3) action at event (1521): snapshot snap_file
Miscellaneous :
Memory tagging is disabled