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

Test: debug focus API #213603

Closed
2 tasks done
connor4312 opened this issue May 28, 2024 · 0 comments
Closed
2 tasks done

Test: debug focus API #213603

connor4312 opened this issue May 28, 2024 · 0 comments

Comments

@connor4312
Copy link
Member

connor4312 commented May 28, 2024

Refs: #63943

Complexity: 3

Create Issue


We've added a debug.onDidChangeActiveStackItem event that can be used to track the focused debug session.

  1. Create a hello world extension.
  2. Add a listener for debug.onDidChangeActiveStackItem and observe the value of debug.activeStackItem.
  3. Start debugging your extension, and then in that window, start a couple other debug sessions (you can use the Debug: Open Link command as an example).
  4. Validate the value and event behave as expected, and read through the docstrings and make sure they makes sense. The active stack item should change whenever a debug session pauses (and becomes active) or when the user selects another session in the Call Stack view. Ending the active session should focus another session, or undefined if there are no others.
@connor4312 connor4312 added this to the May 2024 milestone May 28, 2024
@sandy081 sandy081 removed their assignment May 28, 2024
@lramos15 lramos15 removed their assignment May 28, 2024
@microsoft microsoft locked and limited conversation to collaborators Jul 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants