During startup program exited with code 127


I have installed CLion and then created project, tried to debug, then it's throwing the error "During startup program exited with code 127".

I googled it, the most common answer is set env variable SHELL, I did it.

I did everything, installed 32 libs(already installed), set LD_LIBRARY_PATH.

Even I asked a question in https://unix.stackexchange.com/questions/401003/gdb-during-startup-program-exited-with-code-127.

Nothing worked out. Please help



I have gone through the following but didn't help





I see that https://unix.stackexchange.com/questions/401003/gdb-during-startup-program-exited-with-code-127 question was deleted.

Did you manage to solve the issue? Or is it still actual?



I had this problem.  In clion I went to Settings->Build, Execution and Deployment->Toolchains and changed the debugger setting to "gdb".  It seems that I had a problem with the bundled gdb.  

Ah... but now it does not let me set breakpoints :(



Hi, Alan.

What CLion version do you use? On which OS? If you use CLion on Linux: is your login shell different from bash? What is the whole error message that you get when use the bundled gdb?