I tried you code with web/air/emulator/device with debug true and false, the result was the same for each configuration showing the line number which cause the error, except for the mobile version (and had to change the SDK to 4.12 / AIR 4.0) on my device, a Galaxy S4 where not even an error dialog shown up, so, except with the test direct on the device, it worked as expected and wasn't able to reproduce what you are seeing.
Frédéric THOMAS > From: [email protected] > To: [email protected] > Subject: Re: Workaround to solve faulty verbose-stacktraces=true compiler > parameter > Date: Fri, 22 Aug 2014 17:08:14 +0000 > > FWIW, the ASDoc says you won't get your desired level of detail. > > http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/Error.ht > ml#getStackTrace%28%29 > > -Alex > > On 8/22/14 8:49 AM, "storo84" <[email protected]> wrote: > > >Alex, > > > >The app showed in the example is a desktop application which I thought > >would > >work out of the box. > > > >Now, I created a Flex web application and tried the same thing. Here is > >the > >code: > > > ><?xml version="1.0" encoding="utf-8"?> > ><s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" > > xmlns:s="library://ns.adobe.com/flex/spark" > > xmlns:mx="library://ns.adobe.com/flex/mx" > > minWidth="600" minHeight="600" > > > > applicationComplete="applicationCompleteHandler(event)"> > > > > <fx:Script> > > > > </fx:Script> > > > > <s:TextArea id="text" top="0" width="100%"/> > > > > <s:Button label="Generate Error" > > click="this['foo'].holi = 'hola'" > > bottom="0" width="100%"/> > > > ></s:Application> > > > > > >Next are the compiler options: > >-locale en_US -swf-version=25 -verbose-stacktraces=true -debug=false > > > >The following image shows the actual results: > > > ><http://apache-flex-users.2333346.n4.nabble.com/file/n7716/actual_result-w > >eb.png> > > > >I can't post the expected result since I don't have a Debug Flash Player > >version. > > > >As far as I can tell, this simply isn't working on any of the platforms, > >being web, desktop or mobile. I would like to know how did Frédéric > >managed > >to get it working. I'm inclined to think that he tried it on the Emulator, > >which didn't had a problem. > > > > > > > > > >-- > >View this message in context: > >http://apache-flex-users.2333346.n4.nabble.com/Workaround-to-solve-faulty- > >verbose-stacktraces-true-compiler-parameter-tp7685p7716.html > >Sent from the Apache Flex Users mailing list archive at Nabble.com. >
