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

CppTools Debugger says "Debug adapter process has terminated unexpectedly" on Arch Linux #100

Closed
equinoxr opened this issue Jul 14, 2016 · 3 comments
Labels

Comments

@equinoxr
Copy link

When I try to Debug my cpp which has a a.out file (made with -g in g++) vscode brings this failure on Arch Linux. Cant fix it because i have even no clue where vscode puts its log for this failure or even if it is producing logs...

is there hope to fix this? at least to include logs for problems like that?

Greetz Marcel

@pieandcakes
Copy link
Contributor

@equinoxr would you be able to provide your launch.json file? Does this happen with a simple hello world project also? Which version of Arch Linux are you using?

@equinoxr
Copy link
Author

equinoxr commented Aug 13, 2016

@pieandcakes : hi,
thx 4 ur reply. here is my json file:

{ "version": "0.2.0", "configurations": [ { "name": "C++ Launch (GDB)", "type": "cppdbg", "request": "launch", "targetArchitecture": "x64", "miDebuggerPath": "/usr/bin/gdb", "program": "/home/equinox/code/test1/a.out", "args": [], "stopAtEntry": false, "cwd": "/home/equinox/code/test1", "environment": [] } ] }

this is my .cpp :

#include

int main ()
{
std::cout << "hello";

 return 0;

}

cat /proc/version gives:

Linux version 4.6.4-1-ARCH (builduser@tobias) (gcc version 6.1.1 20160707 (GCC) ) #1 SMP PREEMPT Mon Jul 11 19:12:32 CEST 2016

greets equinoxr

@equinoxr
Copy link
Author

Hi, some update fixed my problem its working now.
Thanks ! ;)

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

No branches or pull requests

2 participants