Python debugger variables display "Invalid variable attributes"
brainsqueeze opened this issue · 4 comments
Issue Type: Bug
Expected results
Expect to see all attributes associated with all variables within the current debugger scope.
Actual results
Most variable attributes are not accessible, and are instead replaced with "Invalid variable attributes".
Extension version: 2020.2.64397
VS Code version: Code 1.42.1 (c47d83b293181d9be64f27ff093689e8e7aed054, 2020-02-11T14:50:36.977Z)
OS version: Linux x64 4.15.0-88-generic snap
System Info
Item | Value |
---|---|
CPUs | Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz (12 x 4299) |
GPU Status | 2d_canvas: enabled flash_3d: enabled flash_stage3d: enabled flash_stage3d_baseline: enabled gpu_compositing: enabled metal: disabled_off multiple_raster_threads: enabled_on oop_rasterization: disabled_off protected_video_decode: unavailable_off rasterization: disabled_software skia_renderer: disabled_off surface_control: disabled_off surface_synchronization: enabled_on video_decode: unavailable_off viz_display_compositor: enabled_on viz_hit_test_surface_layer: disabled_off webgl: enabled webgl2: enabled |
Load (avg) | 1, 1, 1 |
Memory (System) | 15.38GB (0.68GB free) |
Process Argv | --force-user-env --no-sandbox --unity-launch --no-sandbox |
Screen Reader | no |
VM | 0% |
Could you please share the output of import ptvsd; print(ptvsd.__version__)
somewhere in your code?
@int19h the version is '4.1.3'
. I am debugging inside of a Docker container and I am now realizing that I had frozen the ptvsd version on the requirements for the build. I have been debugging other projects that are not running inside of containers and the ptvsd version is not fixed, and those sessions display variables correctly. I will remove the ptvsd version requirement from the Docker build.
Seems like this ticket can likely be closed.
Thanks! Feel free to reopen if it still repros for you.