You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,7 +60,7 @@ DebugMCP is an MCP server that gives AI coding agents full control over the VS C
60
60
|**continue_execution**| Continue until next breakpoint | None |
61
61
|**pause_execution**| Interrupt a freely-running program and stop at its current location (no breakpoint needed) | None |
62
62
|**restart_debugging**| Restart the current debug session | None |
63
-
|**add_breakpoint**| Add a breakpoint at a specific line (optionally conditional) |`fileFullPath` (required)<br>`lineContent` (required)<br>`condition` (optional) |
63
+
|**add_breakpoint**| Add a breakpoint at a specific line (optionally conditional) |`fileFullPath` (required)<br>`line` (required, 1-based)<br>`condition` (optional) |
64
64
|**remove_breakpoint**| Remove a breakpoint from a specific line |`fileFullPath` (required)<br>`line` (required) |
65
65
|**clear_all_breakpoints**| Remove all breakpoints at once | None |
66
66
|**list_breakpoints**| List all active breakpoints | None |
@@ -371,7 +371,7 @@ Yes. DebugMCP supports `.cs` files and `.csproj` project files for C#/.NET debug
371
371
-**Symptom**: Breakpoints are set but execution doesn't pause
372
372
-**Solution**:
373
373
- Ensure the correct file is being debugged
374
-
- Check that the breakpoint line content matches exactly
374
+
- Check that the breakpoint line number is correct
375
375
- Verify the relevant language debugger extension is installed
@@ -271,10 +264,10 @@ export class DebugMCPServer {
271
264
description: 'Set a breakpoint to pause execution at a critical line of code. Essential for debugging: pause before potential errors, examine state at decision points, or verify code paths. Breakpoints let you inspect variables and control flow at exact moments. Provide an optional condition to create a conditional breakpoint that only pauses when the expression evaluates to true (e.g. "i == 5" or "user.id === null").',
272
265
inputSchema: {
273
266
fileFullPath: z.string().describe('Full path to the file'),
274
-
lineContent: z.string().describe('Line content'),
267
+
line: z.number().int().describe('Line number (1-based) where the breakpoint should be set'),
275
268
condition: z.string().optional().describe('Optional condition expression. When provided, execution only pauses if this expression evaluates to true at the breakpoint location.'),
0 commit comments