On Mon, Feb 15, 2016 at 10:58 PM, Gijs Kruitbosch <gijskruitbo...@gmail.com>
wrote:

> On 15/02/2016 05:16, Robert O'Callahan wrote:
>
>> At this point the limiting factor is getting developers to actually debug
>> and fix recorded test failures.
>>
>
> Well, and platform (OS) support for rr, right? And rr also doesn't
> effectively support debugging frontend JS tests, AIUI? Have either of those
> changed recently? For example, one of the most frequent intermittents in
> "my area" is: https://bugzilla.mozilla.org/show_bug.cgi?id=1130411 . But
> that's Windows only and pretty much all frontend JS code.


Good points. Just because a test only shows up on one platform in
automation doesn't mean rr can't find it on Linux. It could be a
cross-platform bug that just happens to hit the right conditions on one
platform; we've already seen a couple of examples of this.

Front-end JS code isn't easy to debug with rr but it is possible with JS
engine gdb helpers if you're desperate. Setting breakpoints in Gecko code
to catch JS touching native objects or calling JS callbacks, plus liberal
use of ::DumpJSStack, helps.

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

Reply via email to