AS3 Conditional Breakpoint – enterDebugger()

Wednesday, February 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

Get a Trackback link

1 Trackbacks/Pingbacks

  1. Pingback: localToGlobal » Blog Archive » news review -> 6th week of 2009 on February 6, 2009

3 Comments


  1. Pieter
    Visit Site
    February 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
    February 5th, 2009

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


  3. Franto
    Visit Site
    February 5th, 2009

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

Live Preview

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">

CommentLuv Enabled

Images is enhanced with WordPress Lightbox JS by Zeo