suspaction
摘要
临时禁用指定的操作。
语法
suspaction <action_id> | all
| 参数 | 类型 | 说明 |
|---|---|---|
<action_id> |
integer | 目标操作的数字操作 ID 可以使用 ODB 命令 status 获取操作 ID,它会按数字顺序列出所有待处理的操作。 |
| all | n/a | 禁用所有操作。 |
详细说明
当操作被暂停时,即使其定义条件成立,ODB 也不会执行该操作。可以使用 actaction 命令将已暂停的操作完全恢复到正常状态。
示例
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> suspaction 3
“action at event (1521): snapshot snap_file” is disabled.
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 (suspended)
Miscellaneous :
Memory tagging is disabled