Re: Debugging Firefox e10s with rr?
On Wed, Aug 30, 2017 at 1:16 AM, Kartikaya Guptawrote: > 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 ` 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. > You can also do "rr replay -p plugin-container" to debug the first plugin-container process. Rob -- lbir ye,ea yer.tnietoehr rdn rdsme,anea lurpr edna e hnysnenh hhe uresyf toD selthor stor edna siewaoeodm or v sstvr esBa kbvted,t rdsme,aoreseoouoto o l euetiuruewFa kbn e hnystoivateweh uresyf tulsa rehr rdm or rnea lurpr .a war hsrer holsa rodvted,t nenh hneireseoouot.tniesiewaoeivatewt sstvr esn ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform
Re: Debugging Firefox e10s with rr?
On 08/29/2017 03:16 PM, Kartikaya Gupta wrote: > Once you have a recording > you can use `rr ps` to show all the process that were recorded and `rr > replay -p ` to attach to a particular process. I see, so `rr ps` was the bit whose existence I was missing :) Thanks a lot! -- Emilio ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform
Re: Debugging Firefox e10s with rr?
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 ` 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 McCormackwrote: > 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 " 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
Re: Debugging Firefox e10s with rr?
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 " 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
Debugging Firefox e10s with rr?
Hi, 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... -- Emilio [1]: https://github.com/mozilla/rr/wiki/Recording-Firefox ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform