[webkit-dev] Running test case under debugger "gdb"

David Kilzer ddkilzer at webkit.org
Fri Mar 20 20:36:14 PDT 2009


On Mac OS X, you can start gdb and use:

(gdb) attach -waitfor DumpRenderTree

Then start run-webkit-tests.

If your gdb doeesn't have "attach -waitfor", you can just put a timeout in run-webkit-tests like this after the "dump tool" is opened but before any tests are sent to it:

sleep(15); # sleep 15 seconds so gdb can be attached

Dave



----- Original Message ----
> From: Husam Senussi <husam at senussi.com>
> To: webkit-dev at lists.webkit.org
> Sent: Friday, March 20, 2009 7:32:40 PM
> Subject: [webkit-dev] Running test case under debugger "gdb"
> 
> Hi,
> 
> is there any easy way to use debugger with test case.
> 
> Thanks
> Husam
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev



More information about the webkit-dev mailing list