gdb_set_breakpoint

在指定位置设置断点,支持条件断点和临时断点。 参数: - location: 断点位置 (文件:行号 或 函数名) - condition (可选): 条件表达式,如 x>5, i==10 - temporary (可选): 临时断点,触发后自动删除 示例: - gdb_set_breakpoint({location:

Server GDB MCP Server zjm1060/gdb-mcp
Category Write
Risk class Medium
Parameters 00 required

What gdb_set_breakpoint does on GDB MCP Server

AI agents use gdb_set_breakpoint to create or update resources in GDB MCP Server — usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your GDB MCP Server environment.

Why gdb_set_breakpoint needs a policy

Setting a breakpoint modifies the debugger's state by inserting a breakpoint record at the specified location. This is a reversible write operation (breakpoints can be deleted/disabled). It does not execute code, destroy data, or have financial implications. The blast radius is low since misuse at most causes unexpected pauses in a debugging session.

From the tool's definition 设置断点 (set breakpoint) at specified location, supports conditional and temporary breakpoints

Questions about gdb_set_breakpoint

What does the gdb_set_breakpoint tool do? +

在指定位置设置断点,支持条件断点和临时断点。 参数: - location: 断点位置 (文件:行号 或 函数名) - condition (可选): 条件表达式,如 x>5, i==10 - temporary (可选): 临时断点,触发后自动删除 示例: - gdb_set_breakpoint({location:. It is categorised as a Write tool in the GDB MCP Server MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.

How do I enforce a policy on gdb_set_breakpoint? +

Register the GDB MCP Server MCP server in PolicyLayer and add a rule for gdb_set_breakpoint: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches GDB MCP Server. Nothing to install.

What risk level is gdb_set_breakpoint? +

gdb_set_breakpoint is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.

Can I rate-limit gdb_set_breakpoint? +

Yes. Add a rate_limit block to the gdb_set_breakpoint rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block gdb_set_breakpoint completely? +

Set action: deny in the PolicyLayer policy for gdb_set_breakpoint. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides gdb_set_breakpoint? +

gdb_set_breakpoint is provided by the GDB MCP Server MCP server (zjm1060/gdb-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.