I'm using FDT and Apache Flex 4.12 SDK in a project. I need to debug some exceptions triggered while the SWF interacts with JavaScript calls (using ExternalInterface), so I need to debug it while running at navigator.
I know I need to have the Debug version of Flash Player, and I already installed it. The debug version shows a menu option called "Debugger".
I already configured the mm.cfg file (file location and config options found here) at correct location with the following options:
ErrorReportingEnable=1
TraceOutputFileEnable=1
The tested Flash Player versions are 11.2 (GNU/Linux) and 13.x (Windows 8). Testes web browsers are Google Chrome, Mozilla Firefox and Internet Explorer.
The "Debugger" option at player is disabled, but this link told us we need compile the SWF with debug symbols. So, I added the following options to the compiler:
-debug=true
-define=CONFIG::debugging,true
Using FDT, I can find the compiler arguments at Project properties -> FDT Compiler -> Compiler arguments.
Unfortunately, the debug option still disabled! What I'm missing? Old Flash Player versions show us a box with a the stack trace.
Additionally, I found the Firefox/Chrome extension FlashFirebug (link for Firefox version here), but there's no free version anymore and I don't want to pay since all I need is to print the stack trace. Direct the output to the browser console using ExternalInterface does not works always as expected, so I really need the native Flash stack trace.