What kind of model? If it has getter/setters, set a breakpoint in the setter.
On 11/12/14, 7:59 AM, "mark goldin" <[email protected]> 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 ><[email protected]> >wrote: > >> 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 <[email protected]> >> 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. >>
