add_function_breakpoint
Set a breakpoint on a function by name to pause execution when that function is entered. Supports optional condition and hit count expressions.
Instructions
Set a breakpoint on a function by name.
Breaks when the named function is entered. This is useful when you know the method name but not the exact line number.
Escape hatch: see the dap-escape-hatch prompt for unwrapped DAP requests.
Persists across restart cycles. Remove via remove_function_breakpoint or clear via clear_breakpoints (no file arg).
Args: function_name: Full or partial function name to break on condition: Optional condition expression hit_condition: Optional hit count condition
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| condition | No | ||
| function_name | Yes | ||
| hit_condition | No |