switch_my_bt
Generate absolute address backtraces for Nintendo Switch debugging by walking the frame pointer chain. Use with gdb-multiarch-mcp to analyze game execution flow.
Instructions
Print the backtrace as absolute addresses by walking the frame pointer chain. Often misses the first address — use 'p/x $lr' for that.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/gdb_multiarch_mcp/server.py:551-552 (handler)The handler in `call_tool` that executes the `my_bt` command via `session.execute_command`.
elif name == "switch_my_bt": result = session.execute_command("my_bt") - src/gdb_multiarch_mcp/server.py:391-397 (registration)Tool definition and registration for `switch_my_bt`.
name="switch_my_bt", description=( "Print the backtrace as absolute addresses by walking the frame pointer " "chain. Often misses the first address — use 'p/x $lr' for that." ), inputSchema=NO_ARGS_SCHEMA, ),