AS3 Conditional Breakpoint – enterDebugger()

Streda, Február 4th, 2009
AS3 Conditional Breakpoint – enterDebugger()

I have to confess I didn’t know about great function enterDebugger() in flash.debugger package. If you ever want to have conditional breakpoint you can do it programatically. Just add this statement to your code and debuger will stop as it there would be normal breakpoint. So you can use it in IF statement and call it just when some conditions are met. I think I will use this function a lot from now on :)

Enjoy

tagged under: ..

ABOUT THIS AUTHOR

1 Trackbacks/Pingbacks

  1. Spätné upozorenie: localToGlobal » Blog Archive » news review -> 6th week of 2009 on Február 6, 2009

3 Comments


  1. Pieter
    Visit Site
    Február 4th, 2009

    He thanks i didn’t know about this one. Conditional breakpoint will be available in the next version of flex but this a nice solution for now


  2. Piergiorgio Niero
    Visit Site
    Február 5th, 2009

    mmm, good to know :)
    even though i think a REAL conditional breakpoint function should be added to flexbuilder!!!


  3. Franto
    Visit Site
    Február 5th, 2009

    As Pieter wrote, they should be available in next version of Flex. If that’s true, it’s good news :)

Sorry, comments for this entry are closed at this time.

Images is enhanced with WordPress Lightbox JS by Zeo