I'm new to c++ and trying to debug a small personal project in codelite manjaro. But whenever i click on 'debug' it says "Failed to locate gdb! at 'gdb'".When i checked in the 'debugger options' as expected no debugger path was specified.I think the error is due to this.I even attached a screenshot.Please help me. debugger error screenshot
Asked
Active
Viewed 311 times
0
-
Did you install `gdb` via your distribution's package manager? – Botje Mar 09 '20 at 14:40
-
1check if gdb is installed with `which gdb`, then if it provides a path, use this one in your IDE. – Jaffa Mar 09 '20 at 14:41
1 Answers
0
Go to Setting--> Build Settings and confirm the path for Gdb. In Ubuntu for my case it is /usr/bin/gdb (you can actually traverse through the folder manually to see if the actual gdb file is there

Frank R Tilugulilwa
- 11
- 1
- 2