Hi Nicolas
On 21 July 2015 at 04:52, Nicolas B. Pierron <
nicolas....@mozilla.com>
wrote:
>
> The problem is not necessary coming from the DevTools, it might be caused
> by the optimizing compiler.
>
>
Sounds likely. I will test again in a while and report back.
> If this is caused by the optimizing compiler (IonMonkey), then you can
> disable it in "about:config", by turning off the option
> "javascript.options.ion" off.
THANK YOU
> Do not forget to turn it back on, for your navigation, or when measuring
> performances.
>
Actually, for Dev Ed. and Nightly, I'll keep it OFF - it's a real PITA.
> Can you describe how you are using the devtools, such that we can get a
> better understanding of what might be wrong?
Well, in this particular instance, I'm using the debugger to trap a
particularly awkward bug deep in a nested structure (where recursion is
also likely happening, hard to say) and, having identified the exception
and the point it occurred, then tried to step back on the call stack to
investigate what put my code into that state. You know, normal everyday
debugging in the debugger ;) Apart from "this" and a couple other
window/global namespaced items, all vars were listed as "Optimized away" in
the variables pane. The command line in the console issues "Error:
Optimized out" when trying the same vars down there. This obviously
rendered devtools utterly useless - what's the point of having the stack
navigable if when using it it can't provide any info? (rhetorical).
IMO, really, ion should be optimized for development practices when
devtools is open, not force devs to switch to another dev platform. I'd
file a bug report but at this stage, it's more a complaint.
Thanks for reading. And thanks again for the about:config pointer -
excellent.
Russ
>
>
> --
> Nicolas B. Pierron
> _______________________________________________
> dev-developer-tools mailing list
>
dev-devel...@lists.mozilla.org
>
https://lists.mozilla.org/listinfo/dev-developer-tools
>