-
Notifications
You must be signed in to change notification settings - Fork 30.8k
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
Debug: Debugging VS Code breaks down #83994
Comments
Are you sure there isn't anything interesting in the log? If you are still set up to repro this, can you share it? |
@roblourens I've simplified the repro steps. I've sent you the log via Slack. |
Thanks. It looks like electron just stopped responding, and it doesn't look like the DA did anything weird. I'll try to see if there's anything we can do about it though. |
This is really weird. I see it 100% of the time here but there is nothing unusual about this code. It doesn't repro just in Chrome with the web UI. It still reproes in Electron 7. @deepak1556 any idea? |
Observing the same as @roblourens https://streamable.com/zwsw1 , electron render is actually crashing here. I will investigate further. |
Using debug version of electron gave the following trace when the hang happens
Not sure why the same code wouldn't cause an issue in chrome, have to reduce the sample test to ask v8 folks. |
One other thing I tried was to load the web version in a basic electron app and it didn't crash there. The only difference I can notice here is that in desktop version source maps are employed to help debug the typescript file directly whereas its not the case in web version. |
Thanks @deepak1556, I was able to reduce it to code like this added somewhere in vscode:
And the same thing happens with a bp on the first line of |
In the above example |
Ignore my above theory about global promise pollution, upstream issue raised here has the details electron/electron#21288 |
The upstream issue no longer repos with electron 11 and higher. Please check if this is still an issue with latest stable. |
I've just hit a scenario in which debugging VS Code stops working all of a sudden and breaks down UI.
Sorry for the complicated repro steps, but I can't seem to narrow it down more than this:
Repro
grandfather/father/son.txt
, creating the respective folders.9a7d52b769d82d413422fbd5cec3dbaa21a08b2b
and startyarn watch
.grandfather
, you should now see a compressedgrandfather/father
folder along with oneson.txt
child.grandfather
collapses.grandfather
. You'll hit the breakpoint and 🐛I am force to
killall code-oss
and restart debugging. I can repro this 100% of the time.I've showed this to @weinand. We tried getting output which would lead us to the problem using the
trace
option, but that didn't help much. He suggested to try to reproduce in the integrated Chrome DevTools and it does not reproduce.cc @isidorn
The text was updated successfully, but these errors were encountered: