gdb_set_breakpoint
Set breakpoints in Nintendo Switch executables for debugging on Yuzu or hardware via GDB. Specify function names, file locations, or memory addresses to pause execution during analysis.
Instructions
Set a breakpoint at a function, file:line, or *address. For offset-from-main breakpoints, use switch_break_at instead.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"location": "<location>"
},
"name": "gdb_set_breakpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| location | Yes | Breakpoint location (function, file:line, or *address) | |
| condition | No | Conditional expression | |
| temporary | No | Whether breakpoint is temporary |