GDB Problems

Alvin Beach alvinbeach at
Wed Mar 11 16:44:31 GMT 2009

On March 11, 2009 01:36:59 pm Michael.Schmidt at wrote:
> Hello,
> I've been successfully using GDB in kdevelop, but a co-worker of mine
> has been having issues running GDB.  When he tries to start debugging,
> he gets a "Process Exited" message in the GDB window and the program
> doesn't run.  He seems to have a newer version of GDB than I do.
> Please let me know what I should try to resolve the problem.  I'll
> provide more information if it is needed.
> Thanks,
> Mike

I had this problem when I upgraded from openSUSE 10.3 to openSUSE 11.1.

What worked for me was adding '--mode=execute' in the project settings under 

1. Project->Project Options
2. Debugger
3. In "Debugging shell:" it probably just says "libtool". If so mode switch:
   libtool --mode=execute

That's should fix it. 

Another thing to try is to make the "Debugging shell:" field empty. I've seen 
that work. I typically just add the --mode switch.

The above applies to KDevelop 3 and an Automake Managed project.


More information about the KDevelop mailing list