In the interest of expanding this beyond just the -i=mi stuff, I've created
a metabug for making mach and emacs play nicer together:

https://bugzilla.mozilla.org/show_bug.cgi?id=1263253

If you've got any wants for things emacs could do but doesn't that would
make life developing gecko/ff/sm/etc easier, that'll give us a place to
centralize requests and see what's done.

For instance, I'd love to have a little elisp library for just throwing
mach commands together that I could easily bind, so I could do things like
kick off mochitest based on the file I'm currently in or whatever.

On Fri, Apr 8, 2016 at 11:49 AM, Steve Fink <sf...@mozilla.com> wrote:

> On 04/08/2016 09:13 AM, Andreas Farre wrote:
>
>> Looking for someone emacs savvy to help me with running mach --debug as a
>> command for M-x gdb. Currently there is an issue with mach logging a bit
>> to
>> much which screws up the GDB/MI communication with emacs. Has anyone
>> already some solution for this? Otherwise I got it working by adding a
>> quiet flag to mach --debug that changes the log level to not log
>> informative messages, is this the "right" way?
>>
>>
> Perhaps this should be handled similarly to the what I did in bug 991343,
> where I suppressed timestamps in the build output to avoid breaking emacs's
> next-error and previous-error. I haven't run mach --debug under emacs in
> the way you describe, but it seems like another good use of $INSIDE_EMACS
> if I am understanding correctly.
>
> I don't know if it works for what you're doing, but these days I either
> run with something like mach run --debug --debugger=debug, where 'debug' is
> https://people.mozilla.org/~sfink/data/debug
>
> Or equally likely, I run it under rr first to record it, then debug via
> replay.
>
>
> _______________________________________________
> dev-platform mailing list
> dev-platform@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-platform
>
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to