Skip to content

context¤

usage: context [-h] [--on] [--off] [subcontext ...]

Print out the currently enabled context sections.

This is the text that gets printed on every stop. It can be useful to run this command manually when you change some process/debugger state but don't want to step/continue (e.g. after using the down and up commands).

Alias: ctx

Positional arguments¤

Positional Argument Help
subcontext Submenu to display: 'regs', 'disasm', 'code', 'stack', 'backtrace', 'ghidra', 'args', 'threads', 'heap_tracker', 'expressions', and/or 'last_signal'

Optional arguments¤

Short Long Help
-h --help show this help message and exit
--on Show the section(s) in subsequent context commands again. The section(s) have to be in the 'context-sections' list.
--off Do not show the section(s) in subsequent context commands even though they might be in the 'context-sections' list.

Notes¤

To see more commands related to context control run:

pwndbg -c context
To see context configuration run:
config context

Usage example¤