Closed Bug 1095635 Opened 6 years ago Closed 6 years ago
Provide a command line option to dump gecko stdout to the console for debugging marionette
MozReview Request: Bug 1095635 - Accept '-' to correspond to stdout for marionette's --gecko-log option.
38 bytes, text/x-review-board-request
I have something for this sitting in my patch queue for working on marionette. If others would find it convenient we could add it as a commandline option.
Does it mean that it will print out the dump() calls from within Firefox? If that is the case I would really be interested in given that at the moment it is like a shut in the dark to figure out what's wrong in a js code block passed to execute script.
(In reply to Henrik Skupin (:whimboo) from comment #1) > Does it mean that it will print out the dump() calls from within Firefox? If > that is the case I would really be interested in given that at the moment it > is like a shut in the dark to figure out what's wrong in a js code block > passed to execute script. I think it would, but also lots of other debug output from the server, so maybe not the best mechanism for trying to debug tests. We should do what we can to make that better, but may have a solution elsewhere.
/r/723 - Bug 1095635 - Accept '-' to correspond to stdout for marionette's --gecko-log option. Pull down this commit: hg pull review -r f7e630149f51ce2cb039a4e4730cf0a0572dc7c9
https://reviewboard.mozilla.org/r/721/#review313 ::: testing/marionette/mach_commands.py (Diff revision 1) > + @CommandArgument('--gecko-log', If we don't think this is generally useful I'll keep it to myself, but this is what I had in mind.
Attachment #8523916 - Flags: review?(ahalberstadt) → review+
https://reviewboard.mozilla.org/r/721/#review325 Makes sense to me!
6 years ago
Assignee: nobody → cmanchester
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla36
You need to log in before you can comment on or make changes to this bug.