Skip to content

Variables are not displayed when debugging two sessions and one ends #113742

@yannickowow

Description

@yannickowow

Hi,
First of all, Happy new Year!
I submit here an issue regarding to Variables in Debug View.

  • VSCode Version: Latest (1.52.1)
  • OS Version: Win10 x64

Steps to Reproduce:

  1. Launch a Debug Configuration 1 (my case is from a custom DebugAdapter, this problem occurs as well with C/C++ Extension)
  2. Launch a second Debug Configuration (it can be a different type from previous one)
  3. End a session (Stop or Step)
  4. Second session has now focus but variables are not revealed.

Variables are correctly displayed when switching one session to another, but they are not displayed after a session ended.
Regards.

EDIT: If you try the same steps with 3 sessions:

  1. First, you will see that your current session does not display variables.
  2. If you switch to the 3rd session, it will display variables associated.
  3. If you switch again, it will show you variables associated.

Does this issue occur when all extensions are disabled?: N/A : Need at least one extension to debug.

EDIT2: This ""problem"" is due to stackFrame lost focus, which happens when debuggee stops. It can be an expected behaviour. If so, I can close this issue.

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