pause_execution
Pauses a running program for debugging. Waits briefly; if it can't stop within ~5s, returns success with pending:true, and fails with an actionable error if no debuggable target exists.
Instructions
Pause a running program. Waits briefly for the stop; if the program cannot stop within ~5s (e.g. blocked in native code, or an idle server waiting for input), returns success with pending:true and the session reports "paused" the next time the program runs code. Fails with an actionable error if the session has no debuggable target to pause (e.g. a js attach whose target session was never adopted or has ended)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| threadId | No | Thread ID to pause. If omitted or 0, pauses all threads. | |
| sessionId | Yes |