-
-
Notifications
You must be signed in to change notification settings - Fork 249
Open
Description
Problem Statement
- No good way to query for specific breakpoints via an API (Extend get api of breakpoints to retrieve a bp at specific line #1204)
- No good way to edit conditions or log statements of existing breakpoints (also Extend get api of breakpoints to retrieve a bp at specific line #1204)
- Deleting specific breakpoint requires either going through quickfix list or manually find each breakpoint and toggle them (Add UI and API for ease of control over breakpoints #448)
- Can't jump to next/prev breakpoint easily (Jump to next/previous breakpoint #792)
Possible Solutions
Nothing set in stone, but rough plan:
-
New API:
dap.bp.get(opts)with filtersdap.bp.set(opts)- TDB: should cover data breakpoints and method breakpoints if possible
- Should allow setting
lnum,col,bufnr
dap.bp.jump([count])
-
New
dap-breakpoints://virtual buffer- Lists all breakpoints including their conditions
- Supports inline edits
:wto save changes (updating conditions, deleting them)
-
Extend
:DapBreakpointuser commands to either:- Edit existing condition/logpoints
- Toggle
Considered Alternatives
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels