Skip to main content
Glama
thebtf

netcoredbg-mcp

by thebtf

add_breakpoint

Idempotent

Sets a breakpoint at a specified line in a source file, pausing execution for debugging. Supports optional condition and hit count conditions.

Instructions

Add a breakpoint at a specific line.

IMPORTANT TIMING:

  • Breakpoints set BEFORE start_debug only work for debugging app startup.

  • For UI apps (WPF/WinForms): remove breakpoints before launch, then add them AFTER the UI is fully loaded. Otherwise the app may hang during initialization.

  • When debugging UI issues: wait for app to be fully interactive before setting breakpoints in event handlers.

Escape hatch: see the dap-escape-hatch prompt for unwrapped DAP requests.

Args: file: Absolute path to source file line: Line number (1-based) condition: Optional condition expression hit_condition: Optional hit count condition

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileYes
lineYes
conditionNo
hit_conditionNo
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Adds behavioral context beyond annotations: warns about potential app hangs during UI initialization, and explains idempotent nature implicitly.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with purpose, then detailed timing info. Slightly verbose but every sentence adds value; could be more concise.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Covers purpose, usage, timing, parameters, and alternatives; sufficient for a simple breakpoint tool without output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Describes each parameter with meaning (absolute path, 1-based line, optional conditions), compensating for 0% schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Clearly states 'Add a breakpoint at a specific line.' Distinguishes from siblings like add_function_breakpoint and add_tracepoint.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides explicit timing instructions (before/after start_debug, UI app details) and escape hatch reference, guiding when to use or not.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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/thebtf/netcoredbg-mcp'

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