-
Notifications
You must be signed in to change notification settings - Fork 203
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
VS Code extension host terminated unexpectedly #3327
Comments
Which VS Code version are you on? |
Ok. I don't really have any ideas on how to debug this, but try checking the dev console under Help > Toggle Developer Tools. |
I'm having the same issue (Windows 11, Julia 1.9.1, VS Code 1.79.2, julia-vscode v1.47.2). I see both the deprecation warning and the " Disabling the julia extension, then enabling it sometimes solves the issue. |
This error apparently signifies a "Break instruction exception". We don't have direct control over the extension host process, so while it's definitely possible we're doing something bad in the extension to crash the host process, I'm not sure how to debug this. It might be worth opening an issue against microsoft/vscode that links here. |
I hoped that using the extension bisect and bug reporting tool I could submit a more useful bug report, but unfortunately not. The following is what the tool generated: Extension version: 1.47.2 System Info
A/B Experiments
I have two more ideas:
|
I can reproduce it with Insiders version as well: Extension version: 1.47.2 System Info
A/B Experiments
|
Probably, but I have no idea what to do with those. Do you also get that |
microsoft/pylance-release#1118 seems very similar. Do you have any non-Microsoft antivir software running? Anyways, I can't really help here -- if you can reliable repro this issue, I'm sure that the VS Code devs would be interested in this. |
I'll check it.
No, only the built in.
Allright, I'll open an issue at vscode. |
I have done this just now, see above. |
Thanks! |
I am trying to further debug this or find a way around, because it is now a daily issue for me. I installed julia-vscode from source and the following happens:
I see the following in the terminal (where the julia extension repo is opened), but doesn't really get what the issue is:
Is this error related to my setup or maybe hints something about the original issue? |
Looks like I have the same problem. For me the extension works when no .jl-file is open at the start (saved from the last session) and I then open a .jl-file. But if I had one opened from the last session, the extension host fails and bisect tells that it is the Julia extension. So maybe the issue arises to to something related to the startup order. Unfortunately I am not experienced with TypeScript and debugging it but if someone tells me how to get more information out of the messages then I would be glad to help. Extension version: 1.51.2 System Info
A/B Experiments
|
Scroll up a bit? The context before that "AssignProcessToJobObject: (87) Falscher Parameter" line might be relevant.
Very strange. Wanna post that additional info in microsoft/vscode#186912? |
I think this might be an NT kernel issue, but I think I found a workaround for it in libuv/libuv#4152 |
The issue has been resolved for me. Thank you everyone for helping, developing and testing solutions! I really do appreciate the julia community :) |
Same (although I don't quite know when). Thank you everyone! |
The libuv fix made it into VS Code 1.84, so you shouldn't have seen the issue since then. |
See below please.
I run into this every now and then.
Is there any way I can debug this further?
I am on Windows 11 and Julia 1.8.5.
Usually when the extension host fails, I do the following: I disable the Julia extension (for vs code to load everything else properly) and then re-enable it.
The text was updated successfully, but these errors were encountered: