debuggingactionscriptflash-media-server

How do you write and debug server side actionscript?


what is the best way to write and debug Server Side Action Script on Flash Media Server?

I use Flash Builder for syntax highlighting, but that's all.

I want to debug, make breakpoints and step-trough server application code.

Any ideas?

EDIT1: I know about administration console for viewing trace messages, but that is not real debugging for me.


Solution

  • Although I don't know of an easy way to step through code, there are some cool things you can do.

    1. Since objects in SSAS are dynamic, you can write a custom logging method that dumps variables recursively. I've found this very useful. If you print the method name and dump arguments with each call, this is as good as stepping through code.
    2. Since SSAS is interpreted, you can write a custom admin console that processes eval statements. This is useful when doing live code, or debugging code in a certain state.