Debugging classes with DOM::Node

Andras Mantia amantia at freemail.hu
Mon Nov 10 20:28:05 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Zack Rusin wrote:

> On Monday 10 November 2003 14:26, Andras Mantia wrote:
>> > There might be an option for gdb to disable this behaviour.
>>
>> I've tried to find something, but without success until now.
> 
> I'm not sure if KDevelop allows you to use custom print functions but
> I'd just create a printnode func and add it to my .gdbinit, something
> simple like:
> define printnode
> p $arg0-parent
> p $arg0->next
> p $arg0->prev
> p $arg0->child
> end
> the idea is to explicitely tell gdb what to print.


But during print $arg0->next it will do the same endless printing as "next" is 
of the same type...

Andras

> 
> Zack
> 

- -- 
Quanta Plus developer - http://quanta.sourceforge.net
K Desktop Environment - http://www.kde.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD8DBQE/r/TWTQdfac6L/08RAjbFAKDkRKJFHOqDRj6d+it7C4mNAfKMeACghlKd
KKARaUTTN84O5D3fgnW+WUc=
=7JIM
-----END PGP SIGNATURE-----




More information about the kfm-devel mailing list