debug_inspect
Inspect iOS app threads, backtraces, registers, and locals in one call, choosing Frida for live sampling or LLDB for paused-process debugging and capability checks.
Instructions
Inspect app threads, bounded backtraces or registers in one call. Frida is immediate and samples running threads. backend=lldb temporarily stops the process, supports locals, then detaches/resumes. mode=capabilities checks host LLDB and cached device debugserver availability. No arbitrary debugger commands or expression execution.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | backtrace | |
| backend | No | frida | |
| symbols | No | ||
| bundle_id | Yes | ||
| device_id | Yes | ||
| thread_id | No | ||
| max_frames | No | ||
| frame_index | No | ||
| max_threads | No | ||
| max_variables | No | ||
| register_names | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No | ||
| elapsed_ms | Yes | ||
| request_id | Yes |