You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Debugging it reveals that hovering over "${module}" is processed by the hover handler (which just gets the symbol details and returns that it's a variable with the name module) and hovering over "$module" actually goes through the code lens handler.
I think what's going on is that, while debugging, VS Code automatically looks up the values of symbols on hover if they are variables. So $module is recognized as a variable because of its symbol type, but ${module} is not (it's an expression). I actually plumbed in logic to evaluate variables on hover and it works like you'd expect (though I haven't fixed up the formatting).
So like when I have all LSP messages getting logged, when not debugging I see a hover request go across for both ${module} and $module, but when debugging I only see a hover request go across for ${module}, there is no request being sent for $module which is what makes me think VS Code is doing a client-side lookup for the variable's value based on the already known list of variables and their values (since the debugger is stopped).
Type: Bug
Start Debugging.
Expected: Can peek the value during debugging
Actual: Cannot, however "$module" works fine.
Extension version: 2023.11.1
VS Code version: Code 1.85.1 (0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2, 2023-12-13T09:49:37.021Z)
OS version: Windows_NT x64 10.0.22635
Modes:
System Info
canvas_oop_rasterization: enabled_on
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
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
A/B Experiments
The text was updated successfully, but these errors were encountered: