Skip to main content
Glama
William-An

cpp-debug-mcp

by William-An

gdb_set_breakpoint

Set a breakpoint in a C++ program at a specific location or function, optionally with a condition, to pause execution during debugging.

Instructions

Set a breakpoint at a location.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idYesThe session identifier.
locationYesWhere to break. Accepts "file:line" (e.g. "main.cpp:42"), function name (e.g. "main"), or address.
conditionNoOptional C++ condition expression (e.g. "i > 10").

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