pwndbg_contextwatch
Add a watched expression to the context display for continuous monitoring during debugging. The expression refreshes automatically with each context update.
Instructions
Add a watched expression to the context display.
pwndbg command: contextwatch (alias: ctx-watch, cwatch) Source: pwndbg/commands/context.py Category: Context
Adds an expression that will be evaluated and displayed every time the context refreshes.
Args: session_id: The UUID of the session. expression: The expression to watch (e.g. "$rax", "(int)$rsp"). cmd: Optional command to use for display (e.g. "hexdump", "telescope").
See: https://pwndbg.re/2025.05.30/reference/pwndbg/commands/context/
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| expression | Yes | ||
| cmd | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |