gdb_get_status
Check the current status of a GDB debugging session to monitor execution state and debugger activity for Nintendo Switch executables.
Instructions
Get the current status of the GDB session.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- The `get_status` method inside the `GDBSession` class in `gdb_interface.py` provides the actual logic for retrieving the session status.
def get_status(self) -> dict[str, Any]: """Get the current status of the GDB session.""" return { "is_running": self.is_running, "target_loaded": self.target_loaded, "has_controller": self.controller is not None, } - src/gdb_multiarch_mcp/server.py:241-245 (registration)The tool `gdb_get_status` is registered in `server.py` as part of the tool definitions.
Tool( name="gdb_get_status", description="Get the current status of the GDB session.", inputSchema=NO_ARGS_SCHEMA, ), - src/gdb_multiarch_mcp/server.py:458-459 (handler)The request handler in `server.py` dispatches the `gdb_get_status` tool to `session.get_status()`.
elif name == "gdb_get_status": result = session.get_status()