where
Abstract
Generates a function call stack for a breakpoint within an event.
Syntax
where
| Argument | Type | Description |
|---|---|---|
| no arguments |
Details
This command displays a function call stack (FCS) that shows where in the execution of model code the current breakpoint occurred. The breakpoint must be one that causes a break while a Kernel Procedure is being executed, such as mstop or pkstop; if not, there will be no FCS to display.
Example
ODB> where
____________________________ (ODB 18.6.0: Event) ____________________________
* Time : 319.512469382582 sec, [5m 19s . 512ms 469us 382ns 582ps]
* Event : execution ID (3053791), schedule ID (#3207476), type (self intrpt)
* Source : execution ID (3053790), top.SINGAPORE.ROUTER.ATM_switch_2 [Objid=150265] (processor)
* Data : code (0), ICI ID (2778)
> Module : top.SINGAPORE.ROUTER.ATM_switch_2 [Objid=150265] (processor) [process id: 2912]
------------------------------------------------------------
Call Block
Count Line# Function
------------------------------------------------------------
0) 499097 17 ams_atm_sw_v3 [Dequeue enter execs]
1) 249311 5059 ams_atm_sw_extract_and_send (<args>)
2) 249339 1175 Oms_Qm_Packet_Dequeue (qpool_pptr, q_id_ptr, svc_comp_t_ptr, deq_t_ptr)
3) 249315 3401 oms_qm_packet_extract_handler (<args>)
4) 449267 1682 oms_buffer_dequeue (buffer_handle, index)
5) 747951 571 ams_qm_get_cell_count (Packet* pkptr)
6) 3989272 9836 op_pk_total_size_get (pkptr)
------------------------------------------------------------