Skip to content
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

The breakpoints UI is really confusing #106559

Closed
Spongman opened this issue Sep 12, 2020 · 3 comments
Closed

The breakpoints UI is really confusing #106559

Spongman opened this issue Sep 12, 2020 · 3 comments
Assignees
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues feature-request Request for new features or functionality *out-of-scope Posted issue is not in scope of VS Code
Milestone

Comments

@Spongman
Copy link

(i'm using vscode-cpptools over ssh to a linux box debugging with gdb)

For example:

  • there's right-click menu items for "Enable/Disable All Breakpoints", but that seems to be different from whatever this button does:
    image what's the difference between 'active' and 'enabled' ?

  • there seem to be 3 different 'enable' / 'active' states:

    • the red circle, which can also be grey, or hollow. what do those even mean? it can also be white, for some reason.
    • the checkbox
    • the whole line can be greyed out, does this mean the code isn't loaded or the breakpoint is disabled, de-activated?
  • shouldn't there be a right-click menu item in the breakpoint list to enable/disable a breakpoint. How about 'Activate All Breakpoints' ?

  • if you click the 'Deactivate Breakpoints' button, then toggle the checkbox on one breakpoint (or add another breakpoint in the code), the whole lot seem to be re-activated, is this intentional? seems weird.

  • if you click on a breakpoint in the breakpoints list) then the line is highlighted (and the circle turns white always, even if it was grey or hollow before, hiding the current state, why?). then if you use the cursor keys to move the selection to a different breakpoint, the original one stays selected (with its white circle), but hitting space toggles the checkbox of the other breakpoint. which one is supposed to be selected here? how many highlights do you need?

  • there's a checkbox that can be toggled with the space bar, why no multi-select?

@vscodebot
Copy link

vscodebot bot commented Sep 12, 2020

@weinand weinand added the debug Debug viewlet, configurations, breakpoints, adapter issues label Sep 13, 2020
@isidorn
Copy link
Contributor

isidorn commented Sep 16, 2020

THanks for the feedback however all of these are by design. We felt that makes the nicest experience.
We were inspired by chrome dev tools who also support this mechanism of enabling / disabling and deactivation on top.

The only things which we could support from the list is multi select, and for that I can leave this open as a feature request.

@isidorn isidorn added the feature-request Request for new features or functionality label Sep 16, 2020
@isidorn isidorn added this to the Backlog milestone Sep 16, 2020
@isidorn isidorn added the *out-of-scope Posted issue is not in scope of VS Code label Nov 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues feature-request Request for new features or functionality *out-of-scope Posted issue is not in scope of VS Code
Projects
None yet
Development

No branches or pull requests

4 participants
@Spongman @weinand @isidorn and others