Debugging classes with DOM::Node

Zack Rusin zack at kde.org
Mon Nov 10 19:54:29 GMT 2003


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. 

Zack

-- 
All those who believe in telekinesis, raise my hand.




More information about the kfm-devel mailing list