StackTrace in Flash / ActionScript 3.0

后端 未结 8 1666
青春惊慌失措
青春惊慌失措 2020-11-28 12:52

I want to see the stack trace in any function of my code, so i made somthing like this to call it and print the stack trace:

public function PrintStackTrace(         


        
8条回答
  •  清歌不尽
    2020-11-28 12:59

    @hasseg is right. You can also preserve the stacktrace information in release version (not debug) by providing the -compiler.verbose-stacktraces=true when compiling your SWF.

提交回复
热议问题