StackTrace in Flash / ActionScript 3.0

后端 未结 8 1657
青春惊慌失措
青春惊慌失措 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:56

    As of Flash 11.5, stack traces work in the release version of Flash.

    However, that doesn't mean this is no longer an issue. If your application is set to use a compiler older than 11.5 in Flash Builder --> Project properties --> ActionScript Compiler, you won't have stack traces.

    Additionally, on that same page you can see your AIR SDK version. If you're using v3.4 or older, you won't see stack traces. If this is your issue, all your developers should update their AIR SDK by following the instructions here.

提交回复
热议问题