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

Proposal: pin specific thread(s) when debugging #140845

Open
Banyc opened this issue Jan 17, 2022 · 1 comment
Open

Proposal: pin specific thread(s) when debugging #140845

Banyc opened this issue Jan 17, 2022 · 1 comment
Assignees
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues feature-request Request for new features or functionality
Milestone

Comments

@Banyc
Copy link

Banyc commented Jan 17, 2022

Background

Multithreading is getting trend these days. Each debug session creates a bunch of independent PCs walking around the code. However, VSCode seems to lack the ability to focus on just a few threads rather than all threads in a process.

Pains

Each time I want to perform a step-through to a PC, I have to find that thread from Debug->Call Stack->specific thread that marked "Paused on step". And then I hover the curser on the tiny "step-in" icon and carefully press the button. When I settle down my mouse, the stack frame suddenly shows up at the other location! I have to carefully redo that nonsense. Sometimes, the stack frame stays relatively stable, but after I get used to the click-click muscle inertia, the stack relocates and fools me clicking the wrong frame!

Suggestion

Please make those frames stable or reserve shortcuts for frame-debugging. It would be a plus by supporting users to pin one or more interested frames. Those shortcuts should only affect those pinned frames. The pinned frames should be sorted in pin-time order.

@Banyc Banyc changed the title Pin specific thread(s) when debugging Proposal: pin specific thread(s) when debugging Jan 17, 2022
@weinand weinand added the debug Debug viewlet, configurations, breakpoints, adapter issues label Jan 17, 2022
@weinand weinand added this to the On Deck milestone Jan 17, 2022
@weinand weinand added the feature-request Request for new features or functionality label Jan 17, 2022
@weinand
Copy link
Contributor

weinand commented Oct 19, 2022

see #116109

@weinand weinand assigned connor4312 and unassigned weinand Oct 19, 2022
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
Projects
None yet
Development

No branches or pull requests

3 participants