evaluate_expression
Evaluate an expression in debug context
How to use it
Project documentation lists evaluate_expression for the DebugMCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.
FULL DEBUGMCP LISTINGOther tools in DebugMCP (15)
Add a breakpoint at a specific line (optionally conditional)
Add a logpoint that logs a message (instead of pausing) when a line is reached
Remove all breakpoints at once
Continue until next breakpoint
Get the values of specifically named variables at the current execution point
List all active breakpoints
List names and types of variables in scope, without reading any values
Interrupt a freely-running program and stop at its current location (no breakpoint needed)
Remove a breakpoint from a specific line
Restart the current debug session
Start a debug session for a source code file
Step into function calls
Step out of the current function
Execute the next line (step over function calls)
Stop the current debug session