Skip to content
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

Debugging #43

Open
TonyHuff opened this issue Dec 30, 2017 · 4 comments
Open

Debugging #43

TonyHuff opened this issue Dec 30, 2017 · 4 comments

Comments

@TonyHuff
Copy link

I have installed VS Code on my Raspberry PI and it compiles and runs my programs with the C++ extension. I am having an issue launching the debugger. It complains 'debug adapter process has terminated unexpectedly'. I seen nothing in the OUTPUT window.

@magic-k
Copy link

magic-k commented Dec 31, 2017

I had similar problems when my gdb was too old.

@TonyHuff
Copy link
Author

TonyHuff commented Jan 1, 2018

I have
GNU gdb (Raspbian 7.12-6) 7.12.0.20161007-git

Looking at the log there are complaints of the version of ...
Corlib not in sync with this runtime: expected corlib version 1050400003, found 138.
Loaded from: /home/pi/.vscode-oss/extensions/ms-vscode.cpptools-0.14.0/debugAdapters/framework/mscorlib.dll
Download a newer corlib or a newer runtime at http://www.mono-project.com/download.Corlib not in sync with this runtime: expected corlib version 1050400003, found 138.
Loaded from: /home/pi/.vscode-oss/extensions/ms-vscode.cpptools-0.14.0/debugAdapters/framework/mscorlib.dll
Download a newer corlib or a newer runtime at http://www.mono-project.com/download.
When I go to the url there is a not found message.

@gigamegawatts
Copy link

For what it's worth, I have the same problem. I didn't find the solution, though.

You would think that replacing the mscorlib.dll file in the specified folder would fix it. I installed the latest version of mono-devel for Raspian (5.4.1.6) from the mono-project web site. It includes various versions of mscorlib.dll in subdirectories of /usr/lib/mono. I tried the most likely candidate (/usr/lib/mono/4.5/mscorlib.dll) - that error message goes away, but the "Debug adapter process" error still occurs, this time with no error message written to the Output window.

Not knowing Mono at all, I'm out of my depth.

@truekinetix
Copy link

I also get the 'debug adapter process has terminated unexpectedly' message when trying to debug C++ with code-oss Version 1.29.0 and the C++ extension on a Raspberry PI 3+.

Any update on a fix ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants