Platform/JSDebugv2: Difference between revisions

Line 215: Line 215:
occurring in such spheres, a remote debugging session is established.
occurring in such spheres, a remote debugging session is established.


This communication will be implemented using something resembling V8's [http://code.google.com/p/v8/wiki/DebuggerProtocol Debugger Protocol] and Chrome's [http://code.google.com/p/chromedevtools/wiki/ChromeDevToolsProtocol ChromeDevTools Protocol].
This communication will be implemented using something resembling V8's JSON-based [http://code.google.com/p/v8/wiki/DebuggerProtocol Debugger Protocol] and Chrome's [http://code.google.com/p/chromedevtools/wiki/ChromeDevToolsProtocol ChromeDevTools Protocol].


Remote debugging support will make a number of things possible:
Remote debugging support will make a number of things possible:
Line 224: Line 224:


* We can use it to debug worker threads, simply by using an intra-process communications channel (and perhaps using the fact that we share the debuggee's architecture and ABI to use a simpler protocol).
* We can use it to debug worker threads, simply by using an intra-process communications channel (and perhaps using the fact that we share the debuggee's architecture and ABI to use a simpler protocol).
[[File:remote-dbg.png]]


= Event Handlers and Spheres =
= Event Handlers and Spheres =
Confirmed users
496

edits