tags:

views:

840

answers:

3

I have been writing Flex applications for a few months now and luckily have not needed a full debugger as of yet, so far I have just used a few Alert boxes...

Is there an available debugger that is included in the free Flex SDK? I am not using FlexBuilder (I have been using Emacs and compiling with ant).

If not, how do you debug Flex applications without FlexBuilder? (note: I have no intentions of using flexbuilder)

+1  A: 

I had the same problem when programming with ActionScript and having to test it on a browser. Try this. It involves using Firefox (which I believe you do) and FireBug to receive the debug messages.

changelog
A debugger is much more than something that shows debug messages. It lets you break the running application and step through the code line by line watching the values of variables change as each statement executes.
Theo
+6  A: 

A debugger called fdb is included in the Flex SDK. Here's some documentation on how to use it:

hasseg
Just what I was looking for!
mmattax
A: 

yes FDB is there , you can also see this Flex Runtime Tracer class , for runtime tracing without flash player debug version.

http://askmeflash.com/applications/9/runtime-flex-tracer-and-debugger

Robert
Re the link mentioned: the ~ key doesn't trigger anything on Mac OS (10.6.4). A way around would be to use a different and a more sensible key for it...
Ain