-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Getting "null" and "Debug adapter process has terminated unexpectedly" when debugging #313
Comments
@Archangel7777777 Can you provide which version of OS you are using and what version of the extension? |
@pieandcakes |
@Archangel7777777 Can you tell me what you are doing when it gives you the exception? Specifically some steps where I can reproduce this issue? Also, can you enable trace and traceResponse and engineLogging in the Ex: |
@pieandcakes In terms steps to reproduce I don't really have any. Originaly I only had the In terms of the logging I added what you suggest to the launch config and ran it. Nothing appeared the debug console (am I looking in the right place?). I did try turning on developer tools and had a look in the console and found the following: Not sure if any helps as I new to visual code studio so I have no idea of what I am doing let me know if you need anything else. |
@Archangel7777777 Can you try reinstalling the extension? you can do that in the extension manager and search for the C++ extension and choose the uninstall option and then reinstall it again. The logging I had you enable should show up in the Debugger Console. What that tells me is that there is something wrong with the installation. The other item it might be is that it can't find gdb. you can add the tag |
@pieandcakes I managed to reinstall the extenstion. According to the debug console all dependicies were installed correctly and it was finised installing. After reloading I tried debugging but found that it hung and kept loading even after pressing the red stop button. Eventaully I exited vs code and found the same error as before when trying to debug. |
@pieandcakes I did also try using the tag suggested unfortunatly nothing changed! |
@Archangel7777777 Can you see if you have mono.linux running? You can do |
@pieandcakes Good news it's Fixed! It turns out there was a problem with mono. After finding out that
After that monodevelop was up and running and vs code was debugging. Thank you very much for your help even though it was not you problem in the end. |
@Archangel7777777 Awesome! I'm glad this is fixed for you. |
Add support for cygwin on windows
Hello,
I am currently having a issue where I am unable to run a executable compile with g++ and get the following errors:
My "launch.json":
gdb Seems to be working fine in a normal shell and i am currently running arch linux.
The text was updated successfully, but these errors were encountered: