debugger_get_callstack
Get the call stack
How to use it
debugger_get_callstack is exposed by the VS MCPServer MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the debugger_get_callstack tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install VS MCPServer
claude mcp add --transport http visualstudio http://localhost:5050Other tools in VS MCPServer (39)
Cancel a running build
Build a specific project
Build the entire solution
Get current build status
Clean the solution
Add a breakpoint at a file and line
Pause execution (Ctrl+Alt+Break)
Continue execution (F5)
Evaluate an expression in the current debug context
Get local variables in current frame
Start debugging (F5), optionally for a specific project
Start without debugger (Ctrl+F5), optionally for a specific project
List all breakpoints
Remove a breakpoint
Get the active document
Run code cleanup on a document
Close a document
List all open documents
Open a file in the editor
Read document contents
Saves an open document
Write to a document
Search within documents
Navigate to a specific line
Insert text at cursor position
Find and replace text
Find all references to a symbol
Navigate to the definition of a symbol
Get detailed project information
List all projects in the solution
Get the current text selection
Set the selection range
Close the current solution
Get information about the current solution
Open a solution file
Get the current startup project
Set the startup project for debugging
Get all symbols defined in a document
Search for symbols across the solution