[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: How do I debug kdelibs?
From: David Faure <david () mandrakesoft ! com>
Date: 2002-04-29 12:39:09
[Download RAW message or body]
On Monday 29 April 2002 14:32, Dave Corrie wrote:
> Hi,
>
> Instead of grepping through lots of code, I thought I'd try to find out
> who calls the KMenuBar destructor by debugging an application (I just
> happened to choose knode) and setting a breakpoint in gdb on
> KMenuBar::~KMenuBar. I've tried a couple ways of setting the
> breakpoint, but gdb doesn't seem to be aware of the kmenubar.cpp source
> code:
>
> (gdb) break KMenuBar::~KMenuBar()
> Function "KMenuBar::~KMenuBar()" not defined.
Try typing 'KMenuBar::~KMenuBar (with the leading quote)
then press <tab> to complete.
> (gdb) break kmenubar.cpp:74
> No source file named kmenubar.cpp.
I think that would work after "break main", "run".
--
David FAURE, david@mandrakesoft.com, faure@kde.org
http://people.mandrakesoft.com/~david/
Contributing to: http://www.konqueror.org/, http://www.koffice.org/
KDE, Making The Future of Computing Available Today
>> 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