Skip to content

Ozzafar/issue 18 add breakpoint line#108

Merged
ozzafar merged 2 commits into
mainfrom
ozzafar/issue-18-add-breakpoint-line
Jul 20, 2026
Merged

Ozzafar/issue 18 add breakpoint line#108
ozzafar merged 2 commits into
mainfrom
ozzafar/issue-18-add-breakpoint-line

Conversation

@ozzafar

@ozzafar ozzafar commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

No description provided.

ozzafar and others added 2 commits July 20, 2026 15:08
Replace the substring-based `lineContent` parameter with a 1-based `line`
number, making add_breakpoint consistent with remove_breakpoint,
list_breakpoints, and the documented tool schema.

The handler now validates the line (integer >= 1 and within the file's
line count) and sets a single breakpoint at that line, failing clearly
instead of substring-matching (which could set multiple/unexpected
breakpoints). Updated the MCP tool schema, routing handler/test, README,
SKILL.md, and the C# troubleshooting doc.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 6ea24b92-40ad-4539-aa13-61aa6ff8751f
Extract the shared "race work against a timeout" logic used by
DebuggingExecutor.dapRequest and DebugMCPServer.runTool into a tested
withTimeout() utility (behavior preserved), and add regression coverage
for the "server stuck when a tool call hangs" fix:

- withTimeout.test.ts: resolves fast work, propagates work rejections,
  rejects with the caller's error when work hangs, and clears the timer
  so a late-but-eventual result still wins.
- routing.test.ts: a control server that accepts but never responds must
  cause handleStartDebugging to reject with the actionable "did not
  respond within ... unresponsive" message. RoutingDebuggingHandler now
  accepts an optional forwardTimeoutMs override so the test runs fast.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 6ea24b92-40ad-4539-aa13-61aa6ff8751f
@ozzafar
ozzafar merged commit 802e6e9 into main Jul 20, 2026
2 checks passed
@github-actions

Copy link
Copy Markdown

✅ Extension Build Successful!

📦 VSIX artifact is ready for download

👉 View artifacts

Scroll down to the "Artifacts" section and download extension-vsix

To install: In VS Code, run Extensions: Install from VSIX... and select the downloaded file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant