[webkit-dev] Development Tools on Safari

Hieu Le Trung hieult at Cybersoft-VN.com
Tue Jul 14 08:10:34 PDT 2009


Adam,

Let me check the Chrome. I'd like to have Web Inspector run as a
separate process and connect to WebKit instance for profiling,
performance measuring...It's also good if we can have it connect
remotely, WebKit run on the target (embedded) and Web Inspector remote
connect to do profile.
Something like oProfileUI (http://labs.o-hand.com/oprofileui/)

Regards,
-Hieu


-----Original Message-----
From: Adam Roben [mailto:aroben at apple.com] 
Sent: Tuesday, July 14, 2009 8:42 PM
To: Hieu Le Trung
Cc: Maciej Stachowiak; Juan Madrigal; webkit-dev at lists.webkit.org
Subject: Re: [webkit-dev] Development Tools on Safari

On Jul 13, 2009, at 11:24 PM, Hieu Le Trung wrote:

> Can we separate the tools from WebKit menu?

I don't think I understand this question. What is the "WebKit menu"?

> I want to run them as a stand-alone and connect to existing WebKit  
> instance.

Right now each Web Inspector window is tied to a particular WebView,  
and the Web Inspector and the WebView must be in the same process.

The Chrome guys have been doing some work on having the Inspector run  
in a separate process from the WebView, but we haven't adopted that in  
Apple's ports yet.

You can use the Inspector in any WebView in any application on OS X if  
you set the WebKitDeveloperExtrasEnabledPreferenceKey preference to  
YES. Here's how you'd do it for Safari:

defaults write com.apple.Safari  
WebKitDeveloperExtrasEnabledPreferenceKey YES

Just replace "com.apple.Safari" with the bundle ID of the application  
in question.

-Adam





More information about the webkit-dev mailing list