session_diagnostics
Checks debug-session and transport health, optionally reconnects the GDB client, and retrieves recent GDB/MI events or GDB server stderr logs to troubleshoot failures.
Instructions
Session/transport diagnostics. what=health([reconnect]) | events | server_logs. events returns recent GDB/MI records; server_logs returns the GDB server's stderr.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| what | Yes | Which operation to perform. | |
| session | No | Optional debug-session name. Omit for the default target. | |
| reconnect | No | If true, try to reconnect the GDB client to the running server. |