Skip to content

fix(build): check for active debug session before building#50

Merged
CalvinAllen merged 1 commit intomainfrom
fix/build/check-debugger-before-build
Mar 24, 2026
Merged

fix(build): check for active debug session before building#50
CalvinAllen merged 1 commit intomainfrom
fix/build/check-debugger-before-build

Conversation

@CalvinAllen
Copy link
Contributor

Summary

  • Build tools (build_solution, build_project, clean_solution) now check if a debug session is active before proceeding
  • If debugging is active, returns a message directing the agent to use debugger_stop first
  • Prevents VS from showing a blocking modal dialog that the MCP server cannot interact with

Closes #46

Test plan

  • Start debugging a project, then call build_solution — should return message about stopping debugging first
  • Start debugging, then call build_project — same behavior
  • Start debugging, then call clean_solution — same behavior
  • Call build_solution without debugging active — should build normally
  • Start debugging, call debugger_stop, then build_solution — should build normally

Build, build project, and clean tools now check if a debug session is
active and return a message directing the agent to use debugger_stop
first, preventing VS from showing a blocking modal dialog.
@CalvinAllen CalvinAllen merged commit 8b54779 into main Mar 24, 2026
2 checks passed
@CalvinAllen CalvinAllen deleted the fix/build/check-debugger-before-build branch March 24, 2026 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Building while debugging

1 participant