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:vivekgalat...@gmail.com]
Sent: Thursday, March 29, 2012 07:23 AM
To: webkit-dev@lists.webkit.org <webkit-dev@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<http://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.
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to