RP2040 VS Code Language Server Crashed
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- ajwentzel
- Posts: 2
- Joined: Mon Mar 15, 2021 11:18 pm
RP2040 VS Code Language Server Crashed
I recently purchased a RP2040 Feather and followed the guide (https://learn.adafruit.com/adafruit-fea ... -ide-setup) for flashing some code using the Arduino software. However, when I try to use VS Code, I get a bunch of messages about the C++ language server crashing on launch. What's odd is that it seems the code still successfully compiles. If I switch back to a different feather, e.g. the Feather M0 and restart VS Code, the crash doesn't happen. Does anyone have experience with using VS Code and the RP2040?
- mikeysklar
- Posts: 13936
- Joined: Mon Aug 01, 2016 8:10 pm
Re: RP2040 VS Code Language Server Crashed
There are a couple of different github issues that seem to address VScode crash on startup with the RP2040. Make sure you are running v1.65.0-insider or newer.
https://github.com/microsoft/vscode/issues/142574
https://github.com/microsoft/vscode/issues/110186
https://github.com/microsoft/vscode/issues/142574
https://github.com/microsoft/vscode/issues/110186
(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:
Crash on Ubuntu 18.04.3 (#89370)
code crashes when workspace has multiple root directories (#89828)
Remote display X11 not working after update (#110119)
- ajwentzel
- Posts: 2
- Joined: Mon Mar 15, 2021 11:18 pm
Re: RP2040 VS Code Language Server Crashed
Those all seem to deal with VS code itself crashing (they also don't mention the RP2040). This is just the 'language server'. I've attached a screenshot. Edit: I'm also running version 1.75.1
- mikeysklar
- Posts: 13936
- Joined: Mon Aug 01, 2016 8:10 pm
Re: RP2040 VS Code Language Server Crashed
Looks like another re-install the plugin fixed it here:
# The language server crashed 5 times in the last 3 minutes. It will not be restarted. #6856
https://github.com/microsoft/vscode-cpp ... ssues/6856
This repo has a lot of open issues, but if it continues for you this would be a place to log your bug.
https://github.com/microsoft/vscode-cpptools/issues
# The language server crashed 5 times in the last 3 minutes. It will not be restarted. #6856
https://github.com/microsoft/vscode-cpp ... ssues/6856
This repo has a lot of open issues, but if it continues for you this would be a place to log your bug.
https://github.com/microsoft/vscode-cpptools/issues
Please be positive and constructive with your questions and comments.