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

Variables view doesn't show dict key if it has double underscores #1111

Closed
parched opened this issue Nov 2, 2022 · 4 comments
Closed

Variables view doesn't show dict key if it has double underscores #1111

parched opened this issue Nov 2, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@parched
Copy link

parched commented Nov 2, 2022

Type: Bug

Behaviour

Expected vs. Actual

I expected all keys and values to be shown in the variables view, but keys that around surrounded by double underscores are only present under "special variables"

Steps to reproduce:

image

Diagnostic data

  • Python version (& distribution if applicable, e.g. Anaconda): 3.10.8
  • Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Venv
  • Value of the python.languageServer setting: Pylance
Output for Python in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Python)

XXX

User Settings

Multiroot scenario, following user settings may not apply:

languageServer: "Pylance"

linting
• flake8Enabled: true

testing
• pytestEnabled: true

Extension version: 2022.16.1
VS Code version: Code 1.72.2 (d045a5eda657f4d7b676dedbfa7aab8207f8a075, 2022-10-12T22:15:18.074Z)
OS version: Windows_NT x64 10.0.19044
Modes:
Sandboxed: No

System Info
Item Value
CPUs Intel(R) Core(TM) i7-10810U CPU @ 1.10GHz (12 x 1608)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
Load (avg) undefined
Memory (System) 31.78GB (14.35GB free)
Process Argv --crash-reporter-id 82ea7e55-6190-4e83-af54-ecaf12d0c385
Screen Reader no
VM 0%
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdc:30486549
c4g48928:30535728
dsvsc012cf:30540253
azure-dev_surveyone:30548225
vscccc:30566498
pyindex848:30577860
nodejswelcome1:30587005
fc301958:30595537
2e4cg342:30596373

@holmes-mike
Copy link

Similar behaviour when using variablePresentation settings for protected variables

image

Settings added to launch configuration:
"variablePresentation": { "protected": "group" }

@parched
Copy link
Author

parched commented Nov 2, 2022

Does this actually belong in https://github.com/fabioz/PyDev.Debugger? Perhaps @fabioz might know?

@fabioz
Copy link
Collaborator

fabioz commented Nov 2, 2022

@karthiknadig this should be moved to debugpy.

@karthiknadig
Copy link
Member

I will move it.

@karthiknadig karthiknadig transferred this issue from microsoft/vscode-python Nov 2, 2022
@int19h int19h added the bug Something isn't working label Nov 3, 2022
@fabioz fabioz closed this as completed in 727d0d0 Nov 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants