-
-
Notifications
You must be signed in to change notification settings - Fork 214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New breakpoint API/UI #1388
Comments
Two additional thoughts at the moment to consider:
|
I'm not too keen on this because of its UI implications. Going from present/absent to present/inactive/absent requires additional toggle options. I have so far never wanted it or missed it given how easy it is to re-add one, but I'll keep it in mind |
Adding it back is easy, as long as I remember where it was… It's easy for me to forget it as I delve into a stack of rarely visited places, searching for a target breakpoint, but leaving a few intermediate breakpoints behind (for use if the deepest one turned out to be positioned incorrectly). Most of these intermediate breakpoints could be inactive for me in such case. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
There are some feature requests in nvim-dap-ui that partially would benefit from those API changes:
|
Problem Statement
Possible Solutions
Nothing set in stone, but rough plan:
New API:
dap.bp.get(opts)
with filtersdap.bp.set(opts)
(TDB if this can cover data breakpoints and method breakpoints)dap.bp.jump([count])
New
dap-breakpoints://
virtual buffer:w
to save changes (updating conditions, deleting them)Extend
:DapBreakpoint
user commands to either:Considered Alternatives
No response
The text was updated successfully, but these errors were encountered: