Skip to content

Draggable logpoints and breakpoints in gutter #182133

Closed

Description

@johncrim

Frequently after editing a file, breakpoints and logpoints are no longer positioned on the correct line. While handling that better would be nice (as a separate feature request), the initial request is the ability to drag logpoints and breakpoints up and down the gutter to reposition them.

Today, if I try this either the breakpoint/logpoint is removed, or I receive the following prompt:

image

Moving a non-conditional breakpoint is no big deal (F9 + F9).

But to move a logpoint, or conditional breakpoint, today I have to:

  1. Open the condition or logpoint, select all the text, and copy it to the clipboard
  2. Right click in the gutter, then choose "Add Conditional Breakpoint..." or "Add Logpoint...", then paste the text into the text box, then hit enter.
  3. Click the previous logpoint or conditional breakpoint to delete it, read the dialog message, and then choose "Remove Logpoint" (or equivalent).

Being able to move the line number associated with a logpoint or breakpoint by dragging it would be a big improvement.

Activity

  1. changed the title [-]Draggable logpoints and breakpoints in gutters[/-] [+]Draggable logpoints and breakpoints in gutter[/+] on May 10, 2023
  2. added
    feature-request
    debug
    on May 11, 2023
  3. vscodenpa commented on May 11, 2023

    @vscodenpa

    This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

    Happy Coding!

  4. joyceerhl commented on May 24, 2023

    @joyceerhl
    Contributor

    Is this a duplicate of #88227?

  5. johncrim commented on May 24, 2023

    @johncrim
    Author

    Thanks Joyce Er (@joyceerhl) - I would say yes, it's a duplicate if the scope of #88227 were expanded to include logpoints - there's no mention of logpoints in the issue. I'll add a comment there to try to figure out if they're the same.

  6. roblourens commented on May 24, 2023

    @roblourens
    Member

    Yes, I'll say it's a dupe

  7. added
    *duplicate
    on May 24, 2023
  8. locked and limited conversation to collaborators on Jul 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

*duplicatedebugfeature-request

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions