rr works just fine with multiple processes. Once you have a recording
you can use `rr ps` to show all the process that were recorded and `rr
replay -p <pid>` to attach to a particular process. You can combine -p
with -g as Cameron mentioned to jump to a particular point in a
particular process' lifetime.

On Tue, Aug 29, 2017 at 9:12 AM, Cameron McCormack <c...@mcc.id.au> wrote:
> On Tue, Aug 29, 2017, at 08:58 PM, Emilio Cobos Álvarez wrote:
>> I didn't find any obvious docs in either the rr wiki[1] or MDN, so I
>> thought I'd ask before I actually need it.
>>
>> What is the best/easiest way to debug Firefox multi-process using rr?
>>
>> Right now I just disable e10s, but that's probably not a great long-term
>> solution...
>
> I do that too. :-)
>
> Mine is probably not the most efficient method, but most of the time I
> record with -M, and use output lines (either turning on logging, like
> RUST_LOG=debug, or adding printfs showing details of documents/elements)
> to orient myself when debugging.  Doing a "rr replay -g <nnnn>" for a
> particular output line will break in the process that printed out that
> line.  (I've never had to debug something under rr that involves the
> interaction between processes.)
> _______________________________________________
> 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