[webkit-dev] How can I debug webkit in debugger?

Gustavo Noronha gns at gnome.org
Thu Feb 19 14:31:07 PST 2009


On Wed, 2009-02-18 at 19:36 +0530, Nitin Walke wrote:
> How can I debug webkit in debugger? I am using opensuse and I have
> build webkit using
> "WebKitTools/Scripts/build-webkit --gtk --debug" command. How can I
> debug webkit in ddd debugger
> using GtkLauncher?

I don't know how ddd works, but I usually do it like this with gdb:

First, I cd to WebKitBuild/Debug. Then I run:

libtool --mode=execute gdb --args ./Programs/GtkLauncher http://mytest.com/

That should do it. I'm not sure if there is an easier way to do this
through scripts.

See you,

-- 
Gustavo Noronha <gns at gnome.org>
GNOME contributor



More information about the webkit-dev mailing list