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

List:       kde-core-devel
Subject:    Re: developer faq
From:       Carlo Robazza <yoamwmvs () umail ! corel ! com>
Date:       2001-03-08 19:40:07
[Download RAW message or body]

Thanks David. I'll give that a try the next time I'm debugging.

Carlo.

David Faure wrote:

> > I have also found that in places like kcontrol modules, if you want to see actual source
> > when debugging, you have to replace the dummy.cpp entry in the Makefile.am with the actual
> > source files. Otherwise, the only source file listed becomes dummy.cpp. I don't know if
> > this is the proper method, but this hack works for me.
>
> You don't need to do that. Compiling with -g and starting gdb with
> * break main
> * run
> will load the libraries, and then you see all the source files and set
> breakpoints where you want.
>

-- 
The address in the headers is not the poster's real email address.  Do not send
private mail to the poster using your mailer's "reply" feature.  CC's of mail 
to mailing lists are OK.  Problem reports to "postmaster@umail.corel.com".  
The poster's email address is "carlor@corel.com".

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

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