Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Fuchele on April 19, 2020, 08:25:52 am

Title: Archlinux Codeblocks: Debugger executable cannot be found
Post by: Fuchele on April 19, 2020, 08:25:52 am
Hello fellow Forumusers,

I hope this post is not redundant, I made sure to read the rules of posting, and other posts (+google) but none of the information seems to help me with that problem.

I am using archlinux manjaro Xfce 19.0.2 and I have set up Codeblocks so it works from a compiling stand of view (compiler GNU GCC Compiler).
I am dealing with a what it seems common error:

ERROR: You need to specify a debugger program in the debuggers's settings.
(For GCC compilers, it's 'gdb' (without the quotes))

When I try find a solution most of the answers are for windows users, saying jus look for the "gdb.exe" file.

I tried to search for this file using $sudo find . -name "gdb.exe" but could not find any.

Any suggestion to what I could do?

Best regards
Darius
 
Title: Re: Archlinux Codeblocks: Debugger executable cannot be found
Post by: oBFusCATed on April 19, 2020, 10:28:46 am
Try searching for gdb without exe extension. Most probably /usr/bin/gdb
Btw the default should be just fine, so most probably you don't have it installed.