pwndbg_context
Display a unified view of the current debugger state including registers, disassembly, stack contents, and backtrace for a given session.
Instructions
Display the pwndbg context — registers, disassembly, stack, backtrace, etc.
pwndbg command: context (alias: ctx) Source: pwndbg/commands/context.py Category: Context
This is pwndbg's signature command. It shows a unified view of the current debugger state including registers, nearby disassembly, stack contents, backtrace, and any additional context sections configured by the user.
Args: session_id: The UUID of the session. sections: Optional space-separated list of sections to show (e.g. "regs disasm stack backtrace").
See: https://pwndbg.re/2025.05.30/reference/pwndbg/commands/context/
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| sections | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |