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

Flickering while debugging java #1466

Closed
theinfinull opened this issue Apr 18, 2024 · 17 comments
Closed

Flickering while debugging java #1466

theinfinull opened this issue Apr 18, 2024 · 17 comments
Assignees
Labels

Comments

@theinfinull
Copy link

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

@hfghgakjd
Copy link

I've encountered this problem too, is there any solution?

@testforstephen
Copy link
Contributor

pls give more details about what the problem is. It's better to share some reproduce steps.

@caymaynard
Copy link

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.

@davidnussio
Copy link

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".

@alfahami
Copy link

alfahami commented Apr 23, 2024

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.

@alfahami
Copy link

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.

@Tonio101
Copy link

Tonio101 commented Apr 26, 2024

Running into the same problem here. Must have happen with a recent update.
Thanks @davidnussio , workaround fixed the issue.
"debug.inlineValues": "off"

@Tonio101
Copy link

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.

@maratib
Copy link

maratib commented Apr 30, 2024

Remove the following from your settings :
"editor.wordWrap": "on"
this will fix the issue

Copy link

github-actions bot commented May 5, 2024

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.

@github-actions github-actions bot closed this as completed May 5, 2024
@testforstephen
Copy link
Contributor

Video is welcome to show what the problem is.

@davidnussio
Copy link

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

  1. start debugging
  2. then shrink the window until the text wraps.
  3. inlineValues starts to flickering

@khe817
Copy link

khe817 commented May 6, 2024

I did the screen recording that was requested:

vscode-debug-flickering.mp4

@testforstephen Steps to reproduce are as @davidnussio said.

@testforstephen
Copy link
Contributor

@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.

@testforstephen testforstephen reopened this May 7, 2024
@testforstephen
Copy link
Contributor

Opened an issue at VS Code microsoft/vscode#212142

@jaysonsosweet
Copy link

Same here

@testforstephen
Copy link
Contributor

this has been fixed in the latest vscode version. At least, I cannot reproduce it in [email protected].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

10 participants