Closed Bug 875126 Opened 7 years ago Closed 7 years ago
Make cgdb an option for mach --debugger
mach --debugger makes debugging mochitests extremely convenient. Unfortunately the list of accepted debuggers (DEBUGGER_INFO in build/automationutils.py) does not include cgdb, an excellent frontend to gdb with completely compatible arguments. cgdb is especially useful on Mac OS X, where the GDB provided by the system is not built with the helpful TUI interface.
Assignee: nobody → grobinson
Status: NEW → ASSIGNED
Adds an entry for cgdb to DEBUGGER_INFO. Now you can run mochitests with cgdb attached with mach mochitest-x --debugger=cgdb /patch/to/mochitest
Attachment #753013 - Flags: review?(gps)
Comment on attachment 753013 [details] [diff] [review] Patch 1 This belongs in the land of automation. This looks sane to me, but I'm not familiar with the impact of modifying this file. Should be a quick rubber stamp by Ted. And sorry for the high latency - I was on vacation for 2 weeks!
Attachment #753013 - Flags: review?(gps) → review?(ted)
Attachment #753013 - Flags: review?(ted) → review+
No worries, gps! Thanks for the r+, Ted.
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
You need to log in before you can comment on or make changes to this bug.