debug_break
Set software or hardware breakpoints and read/write/access watchpoints to debug bare-metal kernels running in QEMU.
Instructions
Set a breakpoint or watchpoint.
location: 0x1234, symbol, symbol+0x10, or file.c:42. kind: "sw" (software breakpoint), "hw" (hardware breakpoint - use this before paging is enabled or for code that isn't loaded yet), or a watchpoint: "write", "read", "access" (length bytes, default one word).
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": {
"name": "<name>",
"location": "<location>"
},
"name": "debug_break"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | sw | |
| name | Yes | ||
| length | No | ||
| location | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |