There's instructions on how to run on FxOS desktop on that page. That said, 
remember that desktop is usually going to use different compiler 
versions/optimizations/etc, so there will be differences.

I haven't tried under the emulator yet, and don't see why it wouldn't work, but 
I imagine that would be very, very, very slow.

----- Original Message -----
> From: "Gary Kwong" <[email protected]>
> To: "Kyle Machulis" <[email protected]>, [email protected]
> Cc: "Nicholas Nethercote" <[email protected]>
> Sent: Wednesday, December 4, 2013 8:20:17 PM
> Subject: Re: Debugging with Valgrind on FxOS
> 
> > Valgrind has been available on FxOS for a while now via magic incantation
> > only known by few developers. To fix this, I've gone through MDN and
> > updated the relevant entries, as well as adding documentation on how to
> > build/run valgrind on the phone (Nexus 4 or similarly high spec phone only
> > at the moment). 99% of the work is taken care of by the build system, so
> > it's mostly just adding a flag to .userconfig and you're ready to go. It's
> > a great way of finding possible memory/threading issues in the system, and
> > seems to work fine across multiple processes. It's also a great way to
> > make yourself look awesome by filing a ton of bugs about new/delete
> > mismatches and uninitialized values. :)
> 
> Is there value in bringing this to run on B2G Desktop as well? I'd
> reckon it might find bugs too, though it might not find a subset of bugs
> that appear only on ARM/phones.
> 
> -Gary
> 
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to