Make extensionHostProcess.js more accessible #216510
Labels
debug
Debug viewlet, configurations, breakpoints, adapter issues
info-needed
Issue requires more information from poster
under-discussion
Issue is under discussion for relevance, priority, approach
Does this issue occur when all extensions are disabled?: well it's about developing extensions
Every time I'm debugging extension code I'm battling against
extensionHostProcess.js
. There was an issue once 5 years ago #74845 where the suggestion was to exclude it from the debugger. But I don't want to do that - often this very file includes some hints to what went wrong.Here's just one example: Today, I was presented with this (no stack trace):
("Canceled" thousands of times, in
extensionHostProcess:147
). I have no idea where it comes from nor what it does. "Canceled" doesn't occur in my workspace. It keeps logging this hundreds of times per second, and eventually the entire editor freezes up. Might be my fault or some log output loop, idk, doesn't matter, this would be okay so far, it it were possible to debug.I could click on the file and after 30 seconds of unresponsiveness, I am eventually facing this:
So I put a breakpoint into line 147, but the "Canceled" message just kept logging as before, so I guess it pointed to the wrong line.
After restarting the extension, the file became invalid, as now a new
extensionHostProcess.js
tab opens up. Apparently every runner gets its own.After restarting, the file is gone.
I can't tell you just how many times stuff like this happens. Development is always a debugging process, and debugging is a constant frustrating pain. I find myself battling against the horrible usability of
extensionHostProcess.js
just way too many times, and it really doesn't have to be like this.Please,
extensionHostProcess.js:147:40205
, not just:147
The text was updated successfully, but these errors were encountered: