-
Notifications
You must be signed in to change notification settings - Fork 29.5k
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
SkipFiles still opens the file to skip temporarily, causing slowness #126102
Comments
I should note this is a proposed API, not sure if that has something to do with it. I did add the vscode.proposed.d.ts pre steps and |
So really the debugger should not pause here; that's because blackbox patterns in V8 are pretty buggy (or have been historically; VS Code is still on Node 14). But the particular behavior you're seeing is in VS Code, what happens is:
Even for small files this can result in a "flash" of different editors, so I think the behavior should be adjusted to, if the top frame is deemphasized, request and wait for the rest of the stack before picking a file to open. We actually have custom code in js-debug that deals with pauses caused by exceptions that might be thrown before skipFiles is applied, so we could do the same thing in the general case. It feels bad though that the debugger "client" has to fix something that V8 doesn't do properly 😕 |
Aha so the gist is: |
Yea, I think that's right |
I'm having a similar situation. Every time I step into a function, Using: Javascript Debug Terminal
|
@Ragnoroct you're hitting a separate issue, nodejs/node#36022 |
There was already code that was dealing with this case. However it was only catching if the |
@isidorn I'll give it a shot in tomorrow's insiders. Thank you! |
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
"**/app/out/vs/**"
or"C:/users/<username>/AppData/Local/Programs/Microsoft VS Code Insiders/**/*.js"
vscode.test
api callVideo.mp4
Confirmed the file is in skipfiles:
The text was updated successfully, but these errors were encountered: