[webkit-dev] Debugging inspector injected scripts
Vivek Galatage
vivekgalatage at gmail.com
Thu Mar 29 05:32:20 PDT 2012
Hi Konrad,
Thank you for your reply.
Yes as you pointed out, I have tried this but was unable to do any live
debugging of the javascript from inspector( such as ResourcesPanel.js etc ).
I am able to inspect the inspector but debugging the script is what I am
looking forward to..
I am working on webkit trunk revision 112378 on Qt port on ubuntu 11.10 as
well as on Windows port.
Thank you,
Vivek
On Thu, Mar 29, 2012 at 5:40 PM, Konrad Piascik <kpiascik at rim.com> wrote:
> Hi Vivek,
>
> You can use the inspector to inspect itself. I've done this on chrome many
> times using the keyboard shortcut ctrl+shift+c (win & linux) or
> command+shift+c (mac). In order for the keyboard shortcut to work you need
> to have the inspector undocked and the focus of the inspector be on the
> panel icons.
>
> Hope this helps you achieve what you're looking to do.
> Konrad
> Sent from my BlackBerry on the Rogers Wireless Network
>
> *From*: Vivek Galatage [mailto:vivekgalatage at gmail.com]
> *Sent*: Thursday, March 29, 2012 07:23 AM
> *To*: webkit-dev at lists.webkit.org <webkit-dev at lists.webkit.org>
> *Subject*: [webkit-dev] Debugging inspector injected scripts
>
> Hello webkit-dev,
>
> I would like to debug the various scripts those are injected by
> inspector component.
>
> Lets say I load a page from xyz.com which has some script named xyz.js..
> I am able to put breakpoints in this xyz.js and do the normal debugging.
>
> But what I am interested in is debugging the inspector injected scripts
> such as ResorucePanel.js etc by putting breakpoints. But whenever I try to
> do this, the inspector becomes non-responsive and I have to come out of the
> debug session by closing the browser. This I am experimenting on Windows
> port.
>
> So am I doing something wrong or is there any other method to achieve
> this? Any help?
>
> Thank you,
> Vivek
> ---------------------------------------------------------------------
> This transmission (including any attachments) may contain confidential
> information, privileged material (including material protected by the
> solicitor-client or other applicable privileges), or constitute non-public
> information. Any use of this information by anyone other than the intended
> recipient is prohibited. If you have received this transmission in error,
> please immediately reply to the sender and delete this information from
> your system. Use, dissemination, distribution, or reproduction of this
> transmission by unintended recipients is not authorized and may be
> unlawful.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20120329/e3ce94b3/attachment.html>
More information about the webkit-dev
mailing list