microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.52k stars 28.99k forks source link

Flickering while debugging with debug.inlineValues and editor.wordWrap setting enabled #212142

Closed testforstephen closed 5 months ago

testforstephen commented 5 months ago

Starting from VS Code 1.88, debugging Java application will cause the editor area flickering with the setting "editor.wordWrap": "on". By looking into the DAP log, I can see the client keeps requesting inline values continuously when word wrap is enabled. If I turn off workWrap setting, it becomes normal.

https://github.com/microsoft/vscode-java-debug/assets/7119865/e9da1696-0a45-465a-89ed-59a4f926a78d

BTW, this didn't happen for VS Code 1.87, and it looks like a regression of recent VS Code version.

khe817 commented 5 months ago

I want to add. If I revert back to redhat.java version 1.25.0 with the current vscode version, the issue also goes away for me.

JustinGrote commented 5 months ago

I can also reproduce

https://github.com/microsoft/vscode/assets/15258962/64cfb15e-2516-4d16-872a-038369cd4bff

0xPaulo commented 5 months ago

I put this line, the problem disappeared: "debug.inlineValues": "off"

connor4312 commented 5 months ago

This is fixed on VS Code Insiders already