Hi, Thank you for your reply. I will try what you have suggested. More on your reply, can you please help me in setting up the environment for debugging? I am not able to debug the entire application but rather just build it. If I am setting up break points inside the code, the step-in action never reaches the destined break point. I get all weird walkthroughs. Can you please suggest a way to debug the code so that I could get to know the source more deeper?
Thanks, A.Ajai On Tue, Aug 16, 2011 at 4:53 AM, Nilesh Patil <[email protected]> wrote: > Hi > > This reply is very specific to your query of disabling alert() > functionality. > > If you have debug envirnment ready then you can try putting breakpoint in > JSDomWindow.cpp. Here most of alert type functions are registered as > prototypes. > You can put breakpoint at *jsDOMWindowPrototypeFunctionAlert()* function. > You can trace back or forward how alerts are displayed. > > But i dont know how you will be understanding this without having little > understanding about how JS and DOM binding work. > > Good Luck !!! :) > > Thanks & Regards > Nilesh > > On Tue, Aug 16, 2011 at 6:28 AM, ajai narayanan > <[email protected]>wrote: > >> Hi, >> I am trying to learn webkit and have downloaded the nightlies and built >> it and have so far looked through the code for a basic understanding. >> >> Now I would like to make modifications to webkit so that I understand it >> completely (there by get my hands a little dirty). >> >> All I am trying to do is to do minor modifications to a single component >> of webkit that I could see in evidence when executed. >> >> So as a start I tried blocking certain set of URLs/URL in webkit (added >> functions as part of KURL class) but could not accomplish it without >> breaking the application. >> >> I know this modification has very little meaning but all I am trying to do >> is learn how things work inside (as it has got a lot to do with >> Threads,pipes,Pointers,resource loads,platform API, etc., and individual >> components that form the basis of webkit application). >> >> Can anybody provide me the direction as to where I need to concentrate to >> make this modification? >> >> If its a bad idea to start with can somebody suggest me making "any" >> modification to any module that would help me learn about that particular >> component or webkit? >> >> Any small modifications, say ,disabling the "alert()" function call in JS >> which would help me learn about JavascriptCore in detail would be a great >> help. >> >> I'm sorry if this mailing list is not the right place to ask >> such beginners question and I'm sorry for my naivety. >> >> Thanks, >> A.Ajai >> >> _______________________________________________ >> webkit-help mailing list >> [email protected] >> http://lists.webkit.org/mailman/listinfo.cgi/webkit-help >> >> >
_______________________________________________ webkit-help mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-help
