[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: KDevelop and GDB
From:       Krzysztof Lichota <krzysiek () lichota ! net>
Date:       2006-08-23 9:33:40
Message-ID: 44EC20F4.8040804 () lichota ! net
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Alan Bryan napisaƂ(a):
> Program exited with code 01.
> 
> I had set one breakpoint in my program and it appears to be prematurely
> exiting before it ever hits my breakpoint. I am using kdevelop version
> 3.3.4 and KDE version 3.5.4. My GDB version is GNU GDB 6.5. The program
> I'm attempting to debug uses no shared libraries (other then the
> standard glibc, KDE, and QT shared libraries).

Try setting the breakpoint on "exit" and examine backtrace to see what
function called exit(). This should give you the hint why program
exited. Also, look at standard error output in "Program" pane, it should
show debugging messages.

HTH

	Krzysztof Lichota



["signature.asc" (application/pgp-signature)]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic