[webkit-dev] Remote debugger

2011-02-18 Thread Sergiy Temnikov
Hello,

I'm working on a remote JavaScript debugger for a server which uses webkit to 
execute JavaScript code. The debugger is shaping up nicely and is already very 
much functional. We chose Crossfire as the debugging protocol and developed our 
own UI debugger client. However, being Crossfire-compatible, should allow us in 
the (hopefully near) future to debug the server-side JavaScript using Firefox 
with Firebug and Crossfire plug-ins. I was wondering if there are any plans in 
the webkit community to create a native remote JavaScript debugger as part of 
the webkit build. If there are such plans then what would be the debugging 
protocol of choice? Webkit is already available on mobile devices but because 
of the screen size limitations it is not always reasonable to debug the 
Javascript directly on a device. Instead, it would be nice to debug the 
device's  JavaScript from a regular PC over the network.
If any of you are already working on a similar subject then please share your 
thoughts and comments regarding your particular implementation, which protocol 
you use and how you see remote debugging appearing in webkit.

Regards,

-Sergiy Temnikov

[cid:3fa2fb.png@5736e59a.47840135]
Sergiy Temnikov
Architecte Logiciel
Email : sergiy.temni...@4d.commailto:sergiy.temni...@4d.com
Web :   www.4D.comhttp://www.4D.com

4D SAS
60, rue d'Alsace
92110 Clichy - France
Standard :  +33 1 40 87 92 00




inline: 3fa2fb.png___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Remote debugger

2011-02-18 Thread Joseph Pecoraro
Hello Sergiy,

I've got a bunch of links for different areas where work has been done.

Some information on the protocol and is outlined in the following links. I 
don't think they are up to date; I think things have improved and evolved since 
then. Pavel and Ilya may be able to comment more on the protocol since there 
has been quite a bit of work recently splitting it up into different domains to 
turn on/off debugging different domains or feature sets. But I think the 
protocol has been stable for a while. I think they even had some discussion 
with the Firebug team when they talked about a debugging protocol, but I can't 
seem to find where that discussion took place.
http://webkit.org/b/43732 Web Inspector: Remote debugging meta-bug
https://docs.google.com/document/edit?id=1d_N-OIb3UztuC-_g0piXsIIdp89HnMcDk-uSQ8uamW4hl=enauthkey=CIf48O4Jpli=1#

Here is a screencast, previously posted to this list, of it working in Chromium:
https://lists.webkit.org/pipermail/webkit-dev/2010-August/013797.html
http://screencast.com/t/YTI2OTY4YTEt

There has been some work on an internal WebKit solution based on Web Sockets:
http://webkit.org/b/43988 Web Inspector: Remote Web Inspector support for 
QtWebKit [Already Landed]
http://webkit.org/b/51364 Web Inspector: Remote Web Inspector - Cross 
Platform InspectorServer [Open - Issues to be Worked Out]

External to WebKit, Patrick Mueller has been working on weinre. Patrick is on 
this list and might comment more:
http://pmuellr.github.com/weinre/index.html (https://github.com/pmuellr/weinre)
http://muellerware.org/papers/weinre/manual.html

- Joe

On Feb 18, 2011, at 7:04 AM, Sergiy Temnikov wrote:

 
 Hello,
  
 I'm working on a remote JavaScript debugger for a server which uses webkit to 
 execute JavaScript code. The debugger is shaping up nicely and is already 
 very much functional. We chose Crossfire as the debugging protocol and 
 developed our own UI debugger client. However, being Crossfire-compatible, 
 should allow us in the (hopefully near) future to debug the server-side 
 JavaScript using Firefox with Firebug and Crossfire plug-ins. I was wondering 
 if there are any plans in the webkit community to create a native remote 
 JavaScript debugger as part of the webkit build. If there are such plans then 
 what would be the debugging protocol of choice? Webkit is already available 
 on mobile devices but because of the screen size limitations it is not always 
 reasonable to debug the Javascript directly on a device. Instead, it would be 
 nice to debug the device's  JavaScript from a regular PC over the network.
 If any of you are already working on a similar subject then please share your 
 thoughts and comments regarding your particular implementation, which 
 protocol you use and how you see remote debugging appearing in webkit.
  
 Regards,
  
 -Sergiy Temnikov
 
 
 
 3fa2fb.png  
 Sergiy Temnikov
 Architecte Logiciel
 Email :   sergiy.temni...@4d.com
 Web : www.4D.com
 4D SAS
 60, rue d'Alsace
 92110 Clichy - France
 Standard :+33 1 40 87 92 00
 
 
 
 
 
 
 
 
  
 
 
 ___
 webkit-dev mailing list
 webkit-dev@lists.webkit.org
 http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Remote debugger

2011-02-18 Thread Patrick Mueller

On 2/18/11 1:31 PM, Joseph Pecoraro wrote:

...


In addition to everything Joe mentioned, there's also a project to reuse 
Web Inspector for node.js debugging:


https://github.com/dannycoates/node-inspector

--
Patrick Mueller - http://muellerware.org

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev