flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: Conditional breakpoints
Date Wed, 12 Nov 2014 18:29:06 GMT
What kind of model?  If it has getter/setters, set a breakpoint in the

On 11/12/14, 7:59 AM, "mark goldin" <markzolotoy@gmail.com> wrote:

>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
>> 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
>> I cannot find where the model is getting changed. Is ther a way to
>> execution conditionally when  a model is changed? Hope, it's clear what
>> need.
>> Thanks.

View raw message