Variables in nested block scopes not displaying as expected #809
Labels
bug
Something isn't working
Severity 2
The plugin or a workflow is inconvenient or occasionally broken
Description
This issue is with respect to the
vimspector.Variables
window. If there is more than 1 block scope, the child scope is getting created, but the variables in that scope are not updated, (i.e.), the parent block scope variables are shown in the child scope as well. A screenshot is attached for your reference.Is it reproducible in vim?
Reproducible in Vim
Works with clean config?
Yes
Sample project works?
Not reproducible with sample project
Minimal Reproduction
List of steps to reproduce:
vimspector/support/test/node/simple/
simple.js
file, write code that consists of multiple nested scopes (as shown in the screenshot):call vimspector#Launch()
to start the debugging.Expected Behaviour
On stepping into a child scope, the variables of this scope should be shown in the
vimspector.Variables
window (below the parent scope).Actual Behaviour
The child block is created, but the variables are not showing up in this scope.
Additional information
I used the
vscode-js-debug
adapter.Installation Type
Plugin Manager (git clone)
Vimspector version
831530b
Debug Info
Log file
No response
Vim version
Python version
3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0]
Neovim diagnostics
Operating System
Ubuntu 22.04.3 LTS (64-bit) - Jammy
Declaration
The text was updated successfully, but these errors were encountered: