Closed
Bug 875103
Opened 12 years ago
Closed 10 years ago
Add remote debugger support to Marionette
Categories
(Remote Protocol :: Marionette, defect, P5)
Remote Protocol
Marionette
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1100124
People
(Reporter: jgriffin, Unassigned)
Details
After bug 797529 lands, Marionette and the remote debugger will no longer be mutually exclusive. At that point, it would be great to enable remote debugging of Marionette scripts, so that a developer debugging one could step through or pause such a script during execution.
It looks like the way to approach that would be to create a debugger actor for Marionette to use to execute scripts (maybe similar to what is being done for Scratchpad in bug 825039). Panos, would that approach work for Marionette?
I think we'd need to keep the current evalInSandbox approach as well, for cases where the debugger isn't active (e.g., B2G).
Comment 1•12 years ago
|
||
I haven't looked into bug 797529 yet, but wouldn't just using the chrome debugging actor (and the Browser Debugger tool) work for your case? Bug 809561 has a similar goal for the xpcshell test harness and a bit more detail, and there may be bugs filed for mochitests as well.
Reporter | ||
Comment 2•12 years ago
|
||
Cool, thanks, I haven't looked into it in any detail yet. Marionette executes scripts in content as well as chrome; would the chrome debugging actor be usable for that?
Comment 3•12 years ago
|
||
Yes, the only scripts that are off-limits are the ones that run in the debugger server's compartment (server machinery and actors).
Reporter | ||
Comment 5•11 years ago
|
||
It would be nice, but would be pretty disruptive, probably, so I'd rank it as pretty low priority.
Flags: needinfo?(jgriffin)
Updated•11 years ago
|
Priority: -- → P5
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Updated•2 years ago
|
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•