Ted Patrick > { Events & Community } > Adobe Systems


Remove _global from Debug > List Variables

I use Debug > List Variables while debugging. If you use V2, there is a ton of _global objects and classes that get created. Here is how to hide them from Debug > List Variables.&

//Paste this line at the top of your v2 app
//No more _global in List Variables output
ASSetPropFlags( _global , null , 1 , 1 )

Another side effect is that Debug > List Variables takes far less time. Happy debugging.

Cheers,

ted ;)

2 Responses to “ Remove _global from Debug > List Variables ”

  1. # Blogger darron

    NOTE: If you want to use ASSetPropFlags in your AS2 classes, you'll have to prefix it with "_global" otherwise you'll get a compilation, since ASSetPropFlags doesn't exist as a method in your class.

    Of course, none of this would be necessary if we had a *really* good debugger.  

  2. # Anonymous voyance

    I like your website!  

Post a Comment



© 2008 Ted On Flash