Jupyter variable pane never finishes loading what my variables are in VS Code
See original GitHub issueEnvironment data
- VS Code version: Version: 1.41.1
- Extension version (available under the Extensions sidebar):2020.2.59126-dev
- OS and version: macOS Catalina 10.15.2 (19C57)
- Python version (& distribution if applicable, e.g. Anaconda): python 3.7.6 64-bit (‘base’:conda)
- Type of virtual environment used (N/A | venv | virtualenv | conda | …): conda
- Relevant/affected Python packages and their versions: Jupyter
- Jedi or Language Server? (i.e. what is
"python.jediEnabled"
set to; more info microsoft/vscode-python#3977): N/A
Expected behaviour
When I open the variable pane in Jupyter VS Code, it should eventually display the variables, but it gets stuck. The script I have is:
from collections import OrderedDict
od = OrderedDict([
('first',1)
])
od
Actual behaviour
Variables in variable pane are never loaded:
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]
I know this is crucial but I am not sure how to reproduce it on another computer or if I am the only one with the issue. I just open jupyter and when I try to run cells and see the variables in the variable pane, it just never finishes loading the variables in my jupyter cell…
Logs (Output for Python
in the Output
panel (View
→Output
, change the drop-down the upper-right of the Output
panel to Python
))
Empty logs
Output from Console
under the Developer Tools
panel (toggle Developer Tools on under Help
; turn on source maps to make any tracebacks be useful by running Enable source map support for extension debugging
)
I tried this but nothing interesting appeared…
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:11 (6 by maintainers)
Top GitHub Comments
Can you try updating your build? You’re using an insider’s build and we’ve been modifying this code lately.
The latest works for me with your example.
Yes. You can’t expand variable objects to see their structure. That’s this bug here: https://github.com/microsoft/vscode-python/issues/9628
However this bug which is about variables not expanding at all is fixed.