-
Notifications
You must be signed in to change notification settings - Fork 410
Description
Issue Type: Bug
If I add any entry to the watch panel, and the entry is shown, the debugger lags. It only happens if the variable being watched is shown, if I collaps the watch list or close the debug view, it behaves as normal.
I tried to create a new project to see if I could reproduce it there, but with no success. Also tried to copy the project to somewhere else and debug from there, but the same behaviour occurs. Not sure what is going on behind the scenes, since I can watch the same variable as a local variable, still a simple assignment with no function call will execute with random delay.
Extension version: 0.9.0
VS Code version: Code 1.23.1 (d0182c3417d225529c6d5ad24b7572815d0de9ac, 2018-05-10T17:11:17.614Z)
OS version: Windows_NT x64 10.0.17134
System Info
| Item | Value |
|---|---|
| CPUs | Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 x 2808) |
| GPU Status | 2d_canvas: enabled flash_3d: enabled flash_stage3d: enabled flash_stage3d_baseline: enabled gpu_compositing: enabled multiple_raster_threads: enabled_on native_gpu_memory_buffers: disabled_software rasterization: disabled_software video_decode: enabled video_encode: enabled vpx_decode: enabled webgl: enabled webgl2: enabled |
| Memory (System) | 15.86GB (8.25GB free) |
| Process Argv | C:\Program Files\Microsoft VS Code\Code.exe . |
| Screen Reader | no |
| VM | 0% |
Stepping through this code is "laggy" while watching the variable i:
public class Jalla {
public static void main(String[] args) {
int i = 0;
i = 1;
i = 1;
i = 1;
i = 1;
i = 1;
i = 1;
i = 1;
i = 1;
i = 1;
i = 1;
i = 1;
}
}
But by collapsing the watch list makes the UI responsive again. It only happens if I try to step too fast (if I wait a few seconds after a step before doing another step, it happens instantaniously), like the UI is waiting for something.