debug_state
Query the current debug session on a mobile device to retrieve state, breakpoints, and optionally stack, local variables, or thread information.
Instructions
Query the current debug session. Returns {state, breakpoints} by default. Set include_stack=true to also fetch the stack of the stopped thread; include_vars=true to also fetch frame[0] locals; include_threads=true to enumerate all threads.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | Yes | Device ID | |
| include_stack | No | Include stack of stopped thread. | |
| include_vars | No | Include frame[0] locals. | |
| include_threads | No | Include all threads. |