DevTools/Features/Debugger: Difference between revisions

no edit summary
No edit summary
Line 85: Line 85:
=== Debugging compartments ===
=== Debugging compartments ===
* The debugger must be in a separate compartment from the debuggee, some sort of sandbox/new global-and-compartment for hosting a given connection's debugging actors on a thread.
* The debugger must be in a separate compartment from the debuggee, some sort of sandbox/new global-and-compartment for hosting a given connection's debugging actors on a thread.
=== Schedule Items ===


== Protocol Client API ==
== Protocol Client API ==
* With appropriate client-side transport support.
* With appropriate client-side transport support.
=== Schedule Items ===


== Browser Protocol Integration ==
== Browser Protocol Integration ==
Line 104: Line 108:
=== WebWorker/ChromeWorker ===
=== WebWorker/ChromeWorker ===
* Related to inter-thread dispatch above.  Likely to require some platform work on webworkers to get them to load the debug protocol implementation on startup?  
* Related to inter-thread dispatch above.  Likely to require some platform work on webworkers to get them to load the debug protocol implementation on startup?  
=== Schedule Items ===


== UI Shell ==
== UI Shell ==
Line 123: Line 129:


* Connection management.
* Connection management.
=== Schedule Items ===


== Stack Traces ==
== Stack Traces ==
Line 150: Line 159:
* Scope variables/environment in a different pane (see Environments)
* Scope variables/environment in a different pane (see Environments)
* Selecting stack frame moves source view
* Selecting stack frame moves source view
=== Schedule Items ===


== Lexical Environments ==  
== Lexical Environments ==  
Line 172: Line 183:
Chrome:
Chrome:
* Scope chain exposed as a list, property viewers for each scope.
* Scope chain exposed as a list, property viewers for each scope.
=== Schedule Items ===


== Execution Control ==
== Execution Control ==
Line 210: Line 223:
* Has Rerun/Continue/Step Into/Step Over/Step Out (finish)
* Has Rerun/Continue/Step Into/Step Over/Step Out (finish)
* Calls pause Break-on-next (makes a bit more sense when spinning the event loop, and it can't actually pause?).
* Calls pause Break-on-next (makes a bit more sense when spinning the event loop, and it can't actually pause?).
=== Schedule Items ===


== Breakpoints ==  
== Breakpoints ==  
Line 250: Line 266:
* Can "edit" (change a breakpoint's condition) a breakpoint from the source gutter, can't do that from the breakpoint list
* Can "edit" (change a breakpoint's condition) a breakpoint from the source gutter, can't do that from the breakpoint list
* Seems to only allow one breakpoint per source line (at least from the UI).
* Seems to only allow one breakpoint per source line (at least from the UI).
=== Schedule Items ===


== Source List ==
== Source List ==
Line 296: Line 314:
* Static source listed by basename with path headers for disambiguation.
* Static source listed by basename with path headers for disambiguation.
* Maintains back-forward list for the source viewer.
* Maintains back-forward list for the source viewer.
=== Schedule Items ===


== Source Viewer ==
== Source Viewer ==
Line 326: Line 346:
* Left-click in gutter sets/unsets breakpoint.
* Left-click in gutter sets/unsets breakpoint.
* Right-click in gutter sets conditional breakpoint.
* Right-click in gutter sets conditional breakpoint.
=== Schedule Items ===


__NOTOC__
__NOTOC__
Confirmed users
673

edits