[flexcoders] Flex Builder 3 - Conditional Debugging

2009-08-27 Thread Michael Ridland
Hi Is is possible to have conditional breakpoints in Flex Builder 3? Either via the editor or action script. It would be cool if I could go if(ShouldBreak()) Debugger.Break(); Is there anything like this? or hacks? Thanks in Advance.

Re: [flexcoders] Flex Builder 3 - Conditional Debugging

2009-08-27 Thread Wesley Acheson
what I do is something like this. if(shouldBreak){ trace(Break point); } I then put a break point on the trace line. Its the only way round I know about. Regards, Wesley Acheson. On Thu, Aug 27, 2009 at 8:20 AM, Michael Ridland rid...@gmail.com wrote: Hi Is is possible to have

Re: [flexcoders] Flex Builder 3 - Conditional Debugging

2009-08-27 Thread Andriy Panas
import flash.debugger.enterDebugger; if(ShouldBreak()) { enterDebugger() } -- Best regards, Andriy Panas

Re: [flexcoders] Flex Builder 3 - Conditional Debugging

2009-08-27 Thread Ivan Wang
It's impossible with FB3. But you can have it in Flash Builder 4, though it's still beta. Ivan - Original Message - From: Michael Ridland To: flexcoders@yahoogroups.com Sent: Thursday, August 27, 2009 2:20 PM Subject: [flexcoders] Flex Builder 3 - Conditional Debugging