Author Topic: Archlinux Codeblocks: Debugger executable cannot be found  (Read 498 times)

Offline Fuchele

  • Single posting newcomer
  • *
  • Posts: 1
Archlinux Codeblocks: Debugger executable cannot be found
« 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
 

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13011
    • Travis build status
Re: Archlinux Codeblocks: Debugger executable cannot be found
« Reply #1 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.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]