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 <[email protected]>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 > [email protected] > http://lists.webkit.org/mailman/listinfo.cgi/webkit-help > -Vivek
_______________________________________________ webkit-help mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-help
