Skip to main content
Inspiring
August 2, 2006
Question

Debug

  • August 2, 2006
  • 2 replies
  • 245 views
Hey - i'm dealing with a relatively complex application, and don't want debugging to be a terrible pain. I remember back from C++ there was a debug mode where you would walk line by line through your code, and you could track all your variables at any point... etc.

How do I do that, or something like that, in flash ActionScript 2.0? What are your best tips for debugging?

Thanks a bunch!

This topic has been closed for replies.

2 replies

Inspiring
August 3, 2006
Craig Grummitt wrote:
> in the control menu underneath Test Movie is something called Debug Movie which
> allows you to track your objects, variables, properties etc...

But be careful, some variables or better objects are not displayed with
its value. Or some moviclips are hiding until you switch the debugger
off after starting in debugging mode and then switch it on again. And
you have to search for objects in the objecttree instead of simply
adding a value manualy. I am thinking again about create my own
debugger-help.
Craig Grummitt
Inspiring
August 2, 2006
in the control menu underneath Test Movie is something called Debug Movie which allows you to track your objects, variables, properties etc... click on the left side of the line of action script where you want a breakpoint to walk line by line through your code. if this slows things down too much for you, you can use trace() to output variables at specific points in your code. See livedocs for more.