Both FlashBuilder and IntelliJ have the ability to set a condition for the breakpoint: http://imgur.com/Sbn6kHk (IntelliJ). I don't use FlashBuilder anymore, but I remember using conditional breakpoints frequently. And if I'm not mistaken, FlashBuilder also has the option to suspend the operation on the breakpoint specifically when the value of the expression (e.g. "a") changes. This might be helpful for debugging the model changes you mentioned.
On 12 November 2014 18:31, mark goldin <markzolo...@gmail.com> wrote: > Yes, that might work, thanks. > > On Wed, Nov 12, 2014 at 12:29 PM, Alex Harui <aha...@adobe.com> wrote: > >> What kind of model? If it has getter/setters, set a breakpoint in the >> setter. >> >> On 11/12/14, 7:59 AM, "mark goldin" <markzolo...@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 >> ><christofer.d...@c-ware.de> >> >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 <markzolo...@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. >> >> >> >>