windbg_bp_template
Set WinDbg breakpoints from templates to log arguments, expressions, or stack traces, and halt on conditions like signed-negative values or pointer ranges.
Instructions
Set a breakpoint from an AI-friendly template: log this/args, log expression, stop on signed-negative, pointer range, or stack log.
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": "windbg_bp_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expr | No | Expression used by log_expr/stop_signed_negative/stop_pointer_range | |
| stack | No | Stack frames to log | |
| stop_if | No | Optional cdb condition; required for stop_pointer_range | |
| location | Yes | Address or symbol for the breakpoint | |
| template | No | Breakpoint template | log_this |