actstop

摘要

重新激活先前由 ODB 命令 suspstop 挂起的断点。

语法

actstop <bkpt_id> | all

参数 类型 说明
<bkpt_id> 整数 目标断点的数字断点 ID
该参数的断点 ID 可通过 ODB 命令 status 获取,该命令按数字顺序列出所有待触发断点。
all n/a 重新激活所有已挂起断点。

详细说明

重新激活断点会抵消挂起的效果,使断点在其条件匹配时被捕获。如果已挂起的时间断点(由 tstop 命令定义)在其指定时间值已过之后被重新激活,它将保留在待触发断点列表中,并在发出下一个 cont 命令后被捕获。下面的示例假设已经为 50 和 100 秒定义了时间断点,且 100 秒处的断点已被挂起。

示例

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> actstop 1
"stop at time = (100) sec." is reenabled.

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> cont


____________________________ (ODB 18.6.0: Event) ____________________________

    * Time   :  50.0 sec, [50s]
    * Event  :  execution ID (329), schedule ID (#326), type (self intrpt)
    * Source :  execution ID (321), top.pksw1.node_0.src [Objid=11] (processor)
    * Data   :  code (1)
    > Module :  top.pksw1.node_0.src [Objid=11] (processor) [process id: 0]

breakpoint #0 trapped : "stop at time = (50) sec."

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · 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