pkstop
Abstract
Sets a breakpoint for a specified packet.
Syntax
pkstop <pk_id> [<actions>]
| Argument | Type | Description |
|---|---|---|
<pk_id> |
integer | numeric ID of the packet on which to set a breakpoint |
<actions> |
string | [optional] one or more space-separated keywords specifying which actions affecting the specified packet should trigger a breakpoint. See the Details section for allowed keywords. |
Details
This command causes program execution to stop whenever an event deals with the specified packet or, optionally, specific actions involving that packet.
Table 31: Valid <actions> Keywords
| Keyword | Description |
|---|---|
| create | packet is created |
| destroy | packet is destroyed |
| copy | packet is copied |
| get | some packet’s information is retrieved |
| set | some packet’s information is updated |
| send | packet is sent (stream or transmitter) |
| receive | packet is received (stream or receiver) |
| deliver | packet is delivered directly to a module |
| sar | packet is involved in SAR operations |
Example
ODB> pkstop 1520
Added breakpoint #0: stop at any access of packet (1520)
ODB> pkstop 3000 create destroy copy
Added breakpoint #1: stop at access of packet (3000) for "create" "destroy" "copy"