Skip to content

debug: toolbar does not update if focused thread no longer exists #133623

@suzmue

Description

@suzmue
  • VS Code Version: 1.60.1
  • OS Version: darwin/amd64

Steps to Reproduce:
Reported in the vscode-go repo: golang/vscode-go#1648

All threads are stopped expected toolbar to be:

Screen Shot 2021-09-22 at 12 39 23 PM

Instead got:
Screen Shot 2021-09-22 at 12 39 09 PM

This occurs when a stopped event is returned with no threadId AND the previously focused thread no longer exists, then the toolbar is left in the running state with the pause button enabled.

All of the active threads are paused:
Screen Shot 2021-09-22 at 12 25 40 PM

But the focused thread is still running, but actually does not exist anymore:
Screen Shot 2021-09-22 at 12 25 52 PM

The focused thread should be cleared if the thread no longer exists.

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugdebugDebug viewlet, configurations, breakpoints, adapter issuesinsiders-releasedPatch has been released in VS Code InsidersverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions