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

Only show current thread in Run Panel #113506

Closed
andyj513 opened this issue Dec 28, 2020 · 3 comments
Closed

Only show current thread in Run Panel #113506

andyj513 opened this issue Dec 28, 2020 · 3 comments
Assignees
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues *duplicate Issue identified as a duplicate of another issue(s) feature-request Request for new features or functionality

Comments

@andyj513
Copy link

When Debugging a C++ program, I'll place a breakpoint and the debugger stops when it gets there. Because I am debugging a large program, many threads are listed in the Call Stack Panel. Most threads show "PAUSED" and one shows "PAUSED ON STEP". The one that shows "PAUSED ON STEP" is the one that hit my breakpoint and is usually the only one that I care about (e.g., for the call stack, etc.).

My feature request is to be able to hide all the threads that are not "PAUSED ON STEP". That is, hide all the other threads in the panel. Note also that the PAUSED ON STEP thread does not always automatically appear (i.e., scrolled-to) in the panel when the debugger stops on it, and sometimes is not the only thread expanded in the tree, making it a little harder to find in the list. So this feature would help this. It may also speed up debugging by not needing to get the information for (or update the display for) all the other threads that are not displayed.

I expect there will still be times when I will need to see all the other threads, but for me, this has not been very often. I would suggest a toggle button at the top of the pane to hide/show the other threads. And it would be nice if it could either remember the state or default to start hiding the other threads. But other options might work too, such as initially hiding all the other threads, but have an item in the list to click to list all the other threads (that would also serve as an indicator that not all threads are currently being displayed). Etc.

@vscodebot
Copy link

vscodebot bot commented Dec 28, 2020

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

@polinasok
Copy link

I have also noticed that it can be tricky to locate the current thread because the threads that were current or manually expanded at the previous stop stay expanded. I am not sure if some users rely on the position of threads in the list or do take advantage of the expanded-once-expanded-always feature (like with variables), but perhaps the current thread could at least be bolded or otherwise highlighted in place without more substantial UI changes, so it is easy to spot?

@weinand weinand added debug Debug viewlet, configurations, breakpoints, adapter issues feature-request Request for new features or functionality labels Oct 11, 2021
@weinand
Copy link
Contributor

weinand commented Oct 11, 2021

/duplicate #116109

@weinand weinand added the *duplicate Issue identified as a duplicate of another issue(s) label Oct 11, 2021
@weinand weinand closed this as completed Oct 11, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Nov 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues *duplicate Issue identified as a duplicate of another issue(s) feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

3 participants