Skip to content

Make StackView scroll to the top when a breakpoint is hit #88073

Closed

Description

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.

Activity

  1. 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
  2. added
    debug
    on Jan 4, 2020
  3. added
    feature-request
    on Jan 6, 2020
  4. isidorn commented on Jan 9, 2020

    @isidorn

    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

  5. added
    verification-needed
    on Jan 9, 2020
  6. isidorn commented on Jan 21, 2020

    @isidorn

    Marko Novakovic (@mnovakovic) did you get a chance to give this a spin?

  7. mnovakovic commented on Jan 21, 2020

    @mnovakovic
    Author

    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.

  8. mnovakovic commented on Jan 21, 2020

    @mnovakovic
    Author

    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?

  9. isidorn commented on Jan 22, 2020

    @isidorn

    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

  10. locked and limited conversation to collaborators on Feb 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

debugfeature-requestverification-neededverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions