pwndbg_nextret
Break at the next return, retf, iret, or sysret instruction. Useful for quickly reaching function returns during debugging.
Instructions
Break at the next return-like instruction (ret, retf, iret, sysret).
pwndbg command: nextret Source: pwndbg/commands/next.py Category: Step/Next/Continue
Args: session_id: The UUID of the session. timeout: Maximum seconds to wait (default 30).
See: https://pwndbg.re/2025.05.30/reference/pwndbg/commands/next/
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"session_id": "<session_id>"
},
"name": "pwndbg_nextret"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| timeout | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |