Platform/JSDebugv2: Difference between revisions

m
(→‎Design Summary: Replace "Design Principles" with something more concrete. Move up diagram.)
Line 63: Line 63:
defined in the js::dbg2 namespace.
defined in the js::dbg2 namespace.


The js::dbg2 facilities fall into three categories: <b>Discovery
The js::dbg2 facilities fall into three categories:
facilities</b> allow the debugger UI to enumerate the browsing contexts,
<ul>
web workers, and so on available to be debugged in a given application.
<li><b>Discovery facilities</b> allow the debugger UI to enumerate the
<b>Dispatch facilities</b> identify events of interest to the debugger and
browsing contexts, web workers, and so on available to be debugged in a given application.
dispatch them to the appropriate handlers. <b>Inspection facilities</b>
<li><b>Dispatch facilities</b> identify events of interest to the debugger
provide stack inspection, value inspection, and similar facilities.
and dispatch them to the appropriate handlers.
<li><b>Inspection facilities</b> provide stack inspection, value inspection, and other traditional debugger tools.
</ul>


[[File:remote-dbg.png]]
[[File:remote-dbg.png]]
Confirmed users
496

edits