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

List:       kde-devel
Subject:    Re: kmail and gdb
From:       Ellis Whitehead <kde () ellisw ! net>
Date:       2002-01-23 16:13:56
[Download RAW message or body]

On Wednesday 23 January 2002 10:48, Schmidt, John wrote:
> Does gdb allow for attachment to a running process like dbx on AIX??
Yes.

> If so, try firing up kmail then attach gdb to kmails pid...
That's too late.  I need to break at the very start of the initialization 
process...

> -----Original Message-----
> From: Ellis Whitehead [mailto:kde@ellisw.net]
> Sent: Wednesday, January 23, 2002 10:54 AM
> To: kde-devel@kde.org
> Subject: kmail and gdb
>
>
> Another gdb-related question:
>
> When I try to run kmail in gdb, I get a DCOP error and the program aborts.
> kmail works fine if run alone, though.  Any ideas about how to deal with
> this?
>
> Thanks,
> Ellis
>
> ------
> (gdb) break main
> Breakpoint 1 at 0x81b7700
> (gdb) r
> Starting program: /usr/local/kde-cvs/bin/kmail
> [New Thread 1024 (LWP 13709)]
> [Switching to Thread 1024 (LWP 13709)]
>
> Breakpoint 1, 0x81b7700 in main ()
> (gdb) n
> Single stepping until exit from function main,
> which has no line number information.
> ERROR: KUniqueApplication: DCOP communication error!
>
> Program exited with code 0377.
>
> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
> >> unsubscribe
>
> <<
>
> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
> >> unsubscribe <<

 
>> 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