[webkit-help] [WebKit Help] - Click on URL

Vivek Satpute vivekonline86 at gmail.com
Sun Jan 24 20:39:03 PST 2010


Hi Ariya,

For printing the stack-trace, generally I use dump_stack() function call in
kernel code. But dump_stack() does not works in userspace. So Could you
please tell me, how you have generated the stack-trace mentioned at
http://trac.webkit.org/wiki/CodePaths. Because placing debugging printfs
in all function does not seem to be feasible and its time consuming.

So, could you please tell me how can I generate stacktrace. ?


On Mon, Jan 25, 2010 at 2:21 AM, Ariya Hidayat <ariya.hidayat at gmail.com>wrote:

> > If in GTKBrowser, some webpage is loaded and that page have link i.e. URL
> to
> > some other site. If I click to that URL, in webkit MouseEvent gets called
> > and then
> > that URL is get loaded. But, I am not getting which code snippet copies
> the
> > URL (on which I have clicked) from page to some buffer.
> >
> > Can anyone help me out ?
>
> Try to see if setting a breakpoint in MainResourceLoader::load would
> help. Usually it might give a useful backtraces, something that I used
> to create http://trac.webkit.org/wiki/CodePaths for some other related
> examples.
>
>
> If you are new here, read this one carefully first:
> https://lists.webkit.org/pipermail/webkit-help/2009-August/000146.html
>
>
>
> --
> Ariya Hidayat
> http://www.linkedin.com/in/ariyahidayat
> _______________________________________________
> webkit-help mailing list
> webkit-help at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-help
>


-Vivek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20100125/89020ade/attachment-0001.html>


More information about the webkit-help mailing list