suspstop

摘要

临时禁用指定的断点,使其不会被触发。

语法

suspstop <bkpt_id> | all

参数 类型 说明
<bkpt_id> integer 目标断点的数字断点 ID
可以使用 ODB 命令 status 获取断点 ID,它会按数字顺序列出所有待处理的断点。
all n/a 禁用所有断点。

详细说明

当断点被暂停时,即使其定义条件成立,ODB 也不会触发该断点。status 命令会在已暂停的断点后附加文字 “(suspended)”。可以使用 actstop 命令将已暂停的断点完全恢复到正常状态。此命令可以暂停所有类型的断点,包括通过 evstop、intstop 和 mstop 等 ODB 命令设置的断点。

示例

ODB> status

Breakpoints :
          0)  stop at time = (50) sec.
          1)  stop at time = (100) sec.
          2)  stop at time = (150) sec.


Traces :
     Full trace is disabled
     Encapsulation trace is enabled
     Execution trace is disabled
     Trace format: indented

     No other traces


Actions :
     None


Miscellaneous :
     Memory tagging is disabled


ODB> suspstop 1
"stop at time = (100) sec." is disabled.

ODB> status

Breakpoints :
          0)  stop at time = (50) sec.
          1)  stop at time = (100) sec. (suspended)
          2)  stop at time = (150) sec.


Traces :
     Full trace is disabled
     Encapsulation trace is enabled
     Execution trace is disabled
     Trace format: indented

     No other traces


Actions :
     None


Miscellaneous :
     Memory tagging is disabled


ODB> cont

仿真将执行 t=50 和 t=150 处的断点,跳过 t=100 处已暂停的断点。

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com