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

"Could not detect an installed debugger compatible with this file" #45

Open
chris-revell opened this issue Oct 25, 2018 · 10 comments
Open

Comments

@chris-revell
Copy link

Error message received whilst trying to debug .cpp file on a Mac. GDB installed at /usr/local/bin/gdb. Any suggestions?

@my-vegetable-has-exploded

the same problem

@cccnrc
Copy link

cccnrc commented Mar 24, 2019

same problem

@Lulz322
Copy link

Lulz322 commented May 1, 2019

Try to debug a.out file :)

@Moenish
Copy link

Moenish commented Feb 17, 2020

Same problem here but on windows...

Edit: So, in the description it says that it debugs executable files. It won't work with cpp files unless you compile them into a .exe file and then debug that file (well, it worked for me like this on windows, but I don't know how to do it on a Mac)

@penpendandan
Copy link

same problem,how to fix it

@Lulz322
Copy link

Lulz322 commented Mar 30, 2020

Guys, need to debug Executable File(File after gcc/g++), NOT a .CPP files.

@chris-revell
Copy link
Author

Guys, need to debug Executable File(File after gcc/g++), NOT a .CPP files.

This is actually what I was doing - my initial explanation was poorly worded. I never did find a solution.

@Lulz322
Copy link

Lulz322 commented Mar 30, 2020

Guys, need to debug Executable File(File after gcc/g++), NOT a .CPP files.

This is actually what I was doing - my initial explanation was poorly worded. I never did find a solution.

I have the same text trouble that in a topic because i tried to debug .cpp file, when need to debug execution file. In your first message u said " trying to debug .cpp file" :)

@Lulz322
Copy link

Lulz322 commented Mar 30, 2020

Guys, need to debug Executable File(File after gcc/g++), NOT a .CPP files.

This is actually what I was doing - my initial explanation was poorly worded. I never did find a solution.

Ohhh, u have macOS, ok, try to install lldb
lldb better working on MacOS then gdb.

@chris-revell
Copy link
Author

Guys, need to debug Executable File(File after gcc/g++), NOT a .CPP files.

This is actually what I was doing - my initial explanation was poorly worded. I never did find a solution.

I have the same text trouble that in a topic because i tried to debug .cpp file, when need to debug execution file. In your first message u said " trying to debug .cpp file" :)

Yes that was my mistake. As for lldb, I use this in the terminal but have yet to find an atom package for it unfortunately.

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

6 participants