Remove _global from Debug > List Variables
DIGG IT!
2
Comments
Published
Friday, January 28, 2005
at
8:05 AM
.
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 ;)

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.
I like your website!