[webkit-qt] GDB Macro's equivalent for WebKit?

carol.szabo at nokia.com carol.szabo at nokia.com
Tue Feb 23 08:51:17 PST 2010


 I did not hear of such a file, but dispersed through WebKit code there are functions such as showTree(RenderObject*)
Which print debugging info on stdout.
Access them via gdb with "call showTree(this)" for example.
This is as far as I got. For strings I did not find any better solution then "call printf("%S", ...)"
Which should work at least on windows.
Carol

> -----Original Message-----
> From: webkit-qt-bounces at lists.webkit.org 
> [mailto:webkit-qt-bounces at lists.webkit.org] On Behalf Of ext 
> webkit-qt-request at lists.webkit.org
> Sent: Monday, February 22, 2010 10:00 AM
> To: webkit-qt at lists.webkit.org
> Subject: webkit-qt Digest, Vol 5, Issue 16
> 
> Send webkit-qt mailing list submissions to
> 	webkit-qt at lists.webkit.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt
> or, via email, send a message with subject or body 'help' to
> 	webkit-qt-request at lists.webkit.org
> 
> You can reach the person managing the list at
> 	webkit-qt-owner at lists.webkit.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of webkit-qt digest..."
> 
> 
> Today's Topics:
> 
>    1. GDB Macro's equivalent for WebKit? (Garth Dahlstrom)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Mon, 22 Feb 2010 00:55:44 -0500
> From: Garth Dahlstrom <gdahlstrom at 2keys.ca>
> To: webkit-qt at lists.webkit.org
> Subject: [webkit-qt] GDB Macro's equivalent for WebKit?
> Message-ID: <7750D562-C84D-444F-8DF5-EC6ED7190BD9 at 2keys.ca>
> Content-Type: text/plain; charset="us-ascii"
> 
> I'm wondering if there is an equivalent to 
> qtcreator/gdbmacros.cpp for WebKit...   
> 
> It would be immensely helpful if there is and someone can 
> point me at them...   get types like "WebCore::String" which 
> are just pointers without values means I must qDebug() or 
> printfs and rebuild / relink WebKit, which slows things down 
> to a painful pace.
> 
> Perhaps gdbmacros isn't there proper name...  any pointers welcome... 
> 
> -G
> 
> 
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: smime.p7s
> Type: application/pkcs7-signature
> Size: 1123 bytes
> Desc: not available
> URL: 
> <http://lists.webkit.org/pipermail/webkit-qt/attachments/20100
> 222/d5940514/attachment-0001.bin>
> 
> ------------------------------
> 
> _______________________________________________
> webkit-qt mailing list
> webkit-qt at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt
> 
> 
> End of webkit-qt Digest, Vol 5, Issue 16
> ****************************************
> 


More information about the webkit-qt mailing list