You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Make StackView scroll to the top when a breakpoint is hit #88073
debugDebug viewlet, configurations, breakpoints, adapter issuesfeature-requestRequest for new features or functionalityverification-neededVerification of issue is requestedverifiedVerification succeeded
Right now when a breakpoint is hit, the function updateTreeSelection() in callStackView.ts is called, and it in turn calls this.tree.reveal(element).
The logic of reveal() is that it shows the wanted element at the very bottom of the scroll view. What this means is that in the Call Stack view, we'll only see the thread that hit the breakpoint and the first frame at the very bottom -- Ideally I think we want to show this at the top, so that we can see the whole stack trace, not just the first frame.
changed the title [-]Make StackView scroll to the top a breakpoint is hit[/-][+]Make StackView scroll to the top when a breakpoint is hit[/+]on Jan 4, 2020
Marko Novakovic (@mnovakovic) try it out in VS Code insiders from Friday and let us know if it behaves good for you so we add a verified label here. Thanks
Isidor Nikolic (@isidorn) sorry for the late reply. I tested it on the latest Insiders Build and it works as expected -- on breakpoint, the stack view shows the current thread in the middle if there are multiple threads in the program and the behavior is not changed compared to the previous version if there are fewer threads.
I can see that you guys (i.e. the VSCode team at Microsoft) are working heavily on Debugging UX improvements and our teams at Facebook could also suggest a few improvements we could benefit from. What is the process on picking the improvements to work on? Is it only done via feature requests? If so, how do you pick and prioritize the requests?
Thanks for coming back, adding verified label.
For suggestions on improvments please create new feature requests. Feel free to ping me Isidor Nikolic (@isidorn) on them. Thanks
debugDebug viewlet, configurations, breakpoints, adapter issuesfeature-requestRequest for new features or functionalityverification-neededVerification of issue is requestedverifiedVerification succeeded
Activity
[-]Make StackView scroll to the top a breakpoint is hit[/-][+]Make StackView scroll to the top when a breakpoint is hit[/+]isidorn commentedon Jan 9, 2020
Marko Novakovic (@mnovakovic) try it out in VS Code insiders from Friday and let us know if it behaves good for you so we add a verified label here. Thanks
isidorn commentedon Jan 21, 2020
Marko Novakovic (@mnovakovic) did you get a chance to give this a spin?
mnovakovic commentedon Jan 21, 2020
Isidor Nikolic (@isidorn) sorry for the late reply. I tested it on the latest Insiders Build and it works as expected -- on breakpoint, the stack view shows the current thread in the middle if there are multiple threads in the program and the behavior is not changed compared to the previous version if there are fewer threads.
mnovakovic commentedon Jan 21, 2020
Also another question for you Isidor Nikolic (@isidorn).
I can see that you guys (i.e. the VSCode team at Microsoft) are working heavily on Debugging UX improvements and our teams at Facebook could also suggest a few improvements we could benefit from. What is the process on picking the improvements to work on? Is it only done via feature requests? If so, how do you pick and prioritize the requests?
isidorn commentedon Jan 22, 2020
Thanks for coming back, adding verified label.
For suggestions on improvments please create new feature requests. Feel free to ping me Isidor Nikolic (@isidorn) on them. Thanks