evstop

Abstract

Sets a breakpoint for the specified event. The breakpoint will stop the simulation when the specified event is about to be executed or when it is scheduled.

Syntax

evstop <exec_id> | +<n> | #<sched_id> | @<sched_id>

Argument Type Description
<exec_id> integer stops execution when the specified event is about to be executed; numeric index of the event-of-interest in the event execution sequence
An execution ID can be estimated, or obtained precisely from an ODB Event Banner of a previous simulation run.
+<n> integer stops execution when the specified event is about to be executed; numeric index of the event-of-interest, relative to current event
#<sched_id> integer stops execution when the specified event is about to be executed; numeric index of the event-of-interest in the event scheduling sequence
A schedule ID can be obtained by using the ODB command evprint, which displays portions of the event list.
@<sched_id> integer stops execution when the specified event is scheduled; numeric index of the event-of-interest in the event scheduling sequence
A schedule ID can be obtained by using the ODB command evprint, which displays portions of the event list.

Details

Events can be specified by their execution ID, schedule ID, or by a relative index. All three ID types are displayed by the evprint command, but only the schedule IDs are fixed at that point. The breakpoint is trapped when the specified event is removed from the event list immediately prior to its execution or when the event is added to the event list.

Event breakpoints occur only once, because they are associated with a non-repeatable event and are removed from the pending breakpoint list after being trapped. Breakpoints can be suspended by the command suspstop, reactivated by actstop, or deleted by delstop.

Example

ODB> evstop 100
Added breakpoint #0: stop at event (100)

ODB> cont


____________________________ (ODB 15.0.A: Event) ____________________________

    * Time   :  0.0 sec, [0s]
    * Event  :  execution ID (100), schedule ID (#108), type (remote intrpt)
    * Source :  execution ID (30), top.ABR_N_Source_Configuration.wkstn_SantaClara.AAL [Objid=1183] (processor)
    * Data   :  code (30), ICI ID (29)
    > Module :  top.ABR_N_Source_Configuration.wkstn_SantaClara.ATM_layer [Objid=1184] (processor)

breakpoint #0 trapped : "stop at event (100)"
ODB> evstop @600
Added breakpoint #0: stop at scheduling of event with schedule ID#(600)

ODB> c


____________________________ (ODB 15.0.A: Event) ____________________________

    * Time   :  0.0 sec, [0s]
    * Event  :  execution ID (6), schedule ID (#6), type (begin sim intrpt)
    * Source :  Simulation Kernel
    * Data   :  none
    > Module :  top.New_York.Long_Island.ARP2 [Objid=449] (processor)

..........................................................................

    * Time   :  0.0 sec, [0s]
    * Event  :  execution ID (545), schedule ID (#600), type (self intrpt)
    * Source :  execution ID (6), top.New_York.Long_Island.ARP2 [Objid=449] (processor)
    * Data   :  code (0)
    > Module :   top.New_York.Long_Island.ARP2 [Objid=449] (processor) [process id: 6]

breakpoint #0 trapped : "stop at scheduling of event with schedule ID#(600)"

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