Thank you Pavel and Konrad for your help.<div><br></div><div>I followed the below link and was able to achieve the debugging the inspector script.</div><div><br></div><div>Thank you,</div><div>Vivek<br><div><br><div class="gmail_quote">
On Thu, Mar 29, 2012 at 7:12 PM, Pavel Feldman <span dir="ltr"><<a href="mailto:pfeldman@chromium.org">pfeldman@chromium.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
See <a href="http://code.google.com/chrome/devtools/docs/contributing.html" target="_blank">http://code.google.com/chrome/devtools/docs/contributing.html</a> for more info.<br>
<br>
Pavel<br>
<div><div class="h5"><br>
On Thu, Mar 29, 2012 at 4:51 PM, Konrad Piascik <<a href="mailto:kpiascik@rim.com">kpiascik@rim.com</a>> wrote:<br>
> Ok, well I was only able to do this on chrome. I have heard of issues with<br>
> Qt and debugging the inspector. The possible reason for your inability to<br>
> debug may be their sub event loop. Can any Qt developers comment?<br>
> Konrad<br>
> Sent from my BlackBerry on the Rogers Wireless Network<br>
><br>
><br>
> From: Vivek Galatage [mailto:<a href="mailto:vivekgalatage@gmail.com">vivekgalatage@gmail.com</a>]<br>
> Sent: Thursday, March 29, 2012 08:32 AM<br>
> To: Konrad Piascik<br>
> Cc: <a href="mailto:webkit-dev@lists.webkit.org">webkit-dev@lists.webkit.org</a> <<a href="mailto:webkit-dev@lists.webkit.org">webkit-dev@lists.webkit.org</a>><br>
> Subject: Re: [webkit-dev] Debugging inspector injected scripts<br>
><br>
> Hi Konrad,<br>
><br>
> Thank you for your reply.<br>
><br>
> Yes as you pointed out, I have tried this but was unable to do any live<br>
> debugging of the javascript from inspector( such as ResourcesPanel.js etc ).<br>
><br>
> I am able to inspect the inspector but debugging the script is what I am<br>
> looking forward to..<br>
><br>
> I am working on webkit trunk revision 112378 on Qt port on ubuntu 11.10 as<br>
> well as on Windows port.<br>
><br>
> Thank you,<br>
> Vivek<br>
><br>
><br>
> On Thu, Mar 29, 2012 at 5:40 PM, Konrad Piascik <<a href="mailto:kpiascik@rim.com">kpiascik@rim.com</a>> wrote:<br>
>><br>
>> Hi Vivek,<br>
>><br>
>> You can use the inspector to inspect itself. I've done this on chrome many<br>
>> times using the keyboard shortcut ctrl+shift+c (win & linux) or<br>
>> command+shift+c (mac). In order for the keyboard shortcut to work you need<br>
>> to have the inspector undocked and the focus of the inspector be on the<br>
>> panel icons.<br>
>><br>
>> Hope this helps you achieve what you're looking to do.<br>
>> Konrad<br>
>> Sent from my BlackBerry on the Rogers Wireless Network<br>
>><br>
>> From: Vivek Galatage [mailto:<a href="mailto:vivekgalatage@gmail.com">vivekgalatage@gmail.com</a>]<br>
>> Sent: Thursday, March 29, 2012 07:23 AM<br>
>> To: <a href="mailto:webkit-dev@lists.webkit.org">webkit-dev@lists.webkit.org</a> <<a href="mailto:webkit-dev@lists.webkit.org">webkit-dev@lists.webkit.org</a>><br>
>> Subject: [webkit-dev] Debugging inspector injected scripts<br>
>><br>
>> Hello webkit-dev,<br>
>><br>
>> I would like to debug the various scripts those are injected by inspector<br>
>> component.<br>
>><br>
>> Lets say I load a page from <a href="http://xyz.com" target="_blank">xyz.com</a> which has some script named xyz.js.. I<br>
>> am able to put breakpoints in this xyz.js and do the normal debugging.<br>
>><br>
>> But what I am interested in is debugging the inspector injected scripts<br>
>> such as ResorucePanel.js etc by putting breakpoints. But whenever I try to<br>
>> do this, the inspector becomes non-responsive and I have to come out of the<br>
>> debug session by closing the browser. This I am experimenting on Windows<br>
>> port.<br>
>><br>
>> So am I doing something wrong or is there any other method to achieve<br>
>> this? Any help?<br>
>><br>
>> Thank you,<br>
>> Vivek<br>
>> ---------------------------------------------------------------------<br>
>> This transmission (including any attachments) may contain confidential<br>
>> information, privileged material (including material protected by the<br>
>> solicitor-client or other applicable privileges), or constitute non-public<br>
>> information. Any use of this information by anyone other than the intended<br>
>> recipient is prohibited. If you have received this transmission in error,<br>
>> please immediately reply to the sender and delete this information from your<br>
>> system. Use, dissemination, distribution, or reproduction of this<br>
>> transmission by unintended recipients is not authorized and may be unlawful.<br>
><br>
><br>
> ---------------------------------------------------------------------<br>
> This transmission (including any attachments) may contain confidential<br>
> information, privileged material (including material protected by the<br>
> solicitor-client or other applicable privileges), or constitute non-public<br>
> information. Any use of this information by anyone other than the intended<br>
> recipient is prohibited. If you have received this transmission in error,<br>
> please immediately reply to the sender and delete this information from your<br>
> system. Use, dissemination, distribution, or reproduction of this<br>
> transmission by unintended recipients is not authorized and may be unlawful.<br>
><br>
</div></div>> _______________________________________________<br>
> webkit-dev mailing list<br>
> <a href="mailto:webkit-dev@lists.webkit.org">webkit-dev@lists.webkit.org</a><br>
> <a href="http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev" target="_blank">http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev</a><br>
><br>
</blockquote></div><br></div></div>