Flickering while debugging java
Type: Bug
while debugging the code flickers making it difficult to debug.
Extension version: 0.57.0 VS Code version: Code 1.88.1 (e170252f762678dec6ca2cc69aba1570769a5d39, 2024-04-10T17:41:02.734Z) OS version: Windows_NT x64 10.0.22631 Modes:
System Info
| Item | Value |
|---|---|
| CPUs | AMD Ryzen 7 5800H with Radeon Graphics (16 x 3194) |
| GPU Status | 2d_canvas: enabled 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 skia_graphite: disabled_off video_decode: enabled video_encode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: enabled |
| Load (avg) | undefined |
| Memory (System) | 15.41GB (8.59GB free) |
| Process Argv | --crash-reporter-id 8e6a0053-0385-467e-9abf-b3e49c5c6d25 |
| Screen Reader | no |
| VM | 0% |
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
vscoreces:30445986
vscod805:30301674
binariesv615:30325510
vsaa593:30376534
py29gd2263:30899288
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythongtdpath:30769146
welcomedialog:30910333
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
h48ei257:31000450
pythontbext0:30879054
accentitlementsc:30995553
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
d34g3935:30971562
fegfb526:30981948
bg6jg535:30979843
ccp2r3:30993541
dsvsc020:30976470
pythonait:31006305
jchc7451:30973076
gee8j676:31009558
dsvsc021:30996838
01bff139:31013167
I've encountered this problem too, is there any solution?
pls give more details about what the problem is. It's better to share some reproduce steps.
I've encountered this while remote debugging. The values that show inline constantly appear and disappear, which makes it very difficult to debug. It has only started recently.
I'm experiencing the same problem with inline variable flickering. It occurs in Java but works in JavaScript. As a workaround, I set "debug.inlineValues": "off".
I'm facing the same issue, particularly when the debugger runs on instruction that has a Scanner object, especially after prompting the user to input data which was not the case before. It does make debugging very difficult.
I'm experiencing the same problem with inline variable flickering. It occurs in Java but works in JavaScript. As a workaround, I set
"debug.inlineValues": "off".
Thank you. It indeed worked.
Running into the same problem here. Must have happen with a recent update.
Thanks @davidnussio , workaround fixed the issue.
"debug.inlineValues": "off"
Steps to reproduce: Run debugger for a Java program. I've noticed that this only happens if the window/panel is small for the debug inline text. Try splitting into at least 2 editors and run debugger. You'll see it flickering making it extremely difficult to view and debug.
Remove the following from your settings :
"editor.wordWrap": "on"
this will fix the issue
This issue has been closed automatically because it needs more information and has not had recent activity. Please reach out if you have or find the answers we need so that we can investigate further.
Video is welcome to show what the problem is.
Remove the following from your settings :
"editor.wordWrap": "on"this will fix the issue
@maratib workaround is better because is simple to enable/disable with shortcut.
@testforstephen
- start debugging
- then shrink the window until the text wraps.
- inlineValues starts to flickering
I did the screen recording that was requested:
https://github.com/microsoft/vscode-java-debug/assets/7119865/e9da1696-0a45-465a-89ed-59a4f926a78d
@testforstephen Steps to reproduce are as @davidnussio said.
@davidnussio and @khe817, thank you for sharing the reproducing steps. My machine has the setting disabled "editor.wordWrap": "off, that's why I don't reproduce it. When I change it to "editor.wordWrap": "on", I can reproduce it now.
Opened an issue at VS Code https://github.com/microsoft/vscode/issues/212142
Same here
this has been fixed in the latest vscode version. At least, I cannot reproduce it in [email protected].