flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mark goldin <markzolo...@gmail.com>
Subject Re: Conditional breakpoints
Date Wed, 12 Nov 2014 15:59:54 GMT
well, that might work too, but what I was thinking about is to have some
condition that would stop execution once it's met. Something like when a =
3 stop and point to a line of code where a is set.

On Wed, Nov 12, 2014 at 8:34 AM, Christofer Dutz <christofer.dutz@c-ware.de>

> Probably you are talking about an MXML?
> In this case you would have trouble setting a breakpoint as the code
> handling this is generated at compile time by the Flex compiler.
> What you could do is you could add a dummy event listener on the states
> that is called as soon as a state becomes active. In this function you
> could set your breakpoint.
> Chris
> ________________________________________
> Von: mark goldin <markzolotoy@gmail.com>
> Gesendet: Mittwoch, 12. November 2014 15:09
> An: users
> Betreff: Conditional breakpoints
> I have a screen which state is bound to a model. I see that in some
> situations the screen's state is not what is expected. Going thru debugger
> I cannot find where the model is getting changed. Is ther a way to stopping
> execution conditionally when  a model is changed? Hope, it's clear what I
> need.
> Thanks.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message