Re: [Anjuta-list] Cannost start terminal for debugging



Since you're experiencing this with KDevelop as well, it seems that the
problem is specific to your setup. Check if the generated executables
are stripped, as this causes problems with breakpoints sometimes. To do
this, do a 'strip <Executable Name>' from the command line and see if
the executable size reduces significantly. If yes, then the problem is
something different. If no, then your debugging option is off and you
need to compile with debugging enabled (cc -g instead of just 'cc').

Hope this helps.

Rgds,
Biswa.

> 
> Hello everybody
> 
> When I try to debug a program I start the debugger, I set the breakpoint
> and then I start the execution (F4) and the program rus correctly in a
> gnome-terminal or xterm console.
> When I arrive at the point where the breakpoint is set the execution does
> not break and if closing my program I get an error dialog with the message
> "Cannot start terminal for debugging".
> I am using Mandrake9 (gcc3.2, gdb 5.2.1) and I have a similar problem in
> debugging even with kdevelop (the execution does not break at given
> breakpoints).
> 
> Any suggestion?
> 
> --
> Luca Rosellini
> Email:  luca rosellini libero it
> PGP FP: 7711 92E2 30D2 A731 4362  4A7B 748C DF72 FE63 1C40
> Registered Linux User 261056
> 
> Se Laura fosse stata la moglie di Petrarca, pensate che lui le avrebbe
> dedicato sonetti tutta la vita?
>   -- Lord Byron
> 
> 
> -------------------------------------------------------
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> http://www.vasoftware.com
> _______________________________________________
> Anjuta-list mailing list
> Anjuta-list lists sourceforge net
> https://lists.sourceforge.net/lists/listinfo/anjuta-list
> 
> 






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]