Skip to main content
Glama
William-An

cpp-debug-mcp

by William-An

gdb_start_session

Start a GDB debugging session for a compiled C++ executable, enabling step-by-step execution, breakpoints, and variable inspection.

Instructions

Start a GDB debugging session for a compiled C++ executable.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
executableYesPath to the compiled executable (must be built with -g for debug symbols).
argsNoCommand-line arguments to pass to the program.
working_dirNoWorking directory for the debug session..

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/William-An/cpp-debug-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server