And I see no difference between the old and new FDB in term of output format:
New: (fdb) print #90372129. $2 = [Object 90372129, class='controllers::MyController'] app = [Object 57942081, class='DataBindingTest'] queryBegin = "http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20yahoo.finance.quotes%20where%20symbol%20in%20(%22" queryEnd = "%22)%0A%09%09&env=http%3A%2F%2Fdatatables.org%2Falltables.env&format=json" Old: print #87636001. $4 = [Object 87636001, class='controllers::MyController'] app = [Object 87068737, class='DataBindingTest'] queryBegin = "http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20yahoo.finance.quotes%20where%20symbol%20in%20(%22" queryEnd = "%22)%0A%09%09&env=http%3A%2F%2Fdatatables.org%2Falltables.env&format=json" Frédéric THOMAS ---------------------------------------- > From: webdoubl...@hotmail.com > To: dev@flex.apache.org > Subject: RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration > Date: Sat, 6 Jun 2015 15:35:25 +0100 > >> I assume you can reproduce that from the command-line as well? > > Damn, I tried it thru the intellij dev tool to talk directly to the debugger > and had the same failure, the same command in FDB works !! I'm even more > lost, the same command sent to our legacy FDB thru this same IJ tool works > too. > >> print #<ObjectReferenceNumber> is not supposed to go to the compiler for >> evaluation. Some other code path is supposed to handle it differently. > > Interesting, > > Frédéric THOMAS > > > ---------------------------------------- >> From: aha...@adobe.com >> To: dev@flex.apache.org >> Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration >> Date: Sat, 6 Jun 2015 14:13:32 +0000 >> >> I assume you can reproduce that from the command-line as well? IIRC, >> print #<ObjectReferenceNumber> is not supposed to go to the compiler for >> evaluation. Some other code path is supposed to handle it differently. >> >> -Alex >> >> On 6/6/15, 7:05 AM, "Frédéric THOMAS" <webdoubl...@hotmail.com> wrote: >> >>>> I would add console output to DebuggerExpressionEvaluator to dump the >>>> expression it is being asked to evaluate. Then try the same expression >>>> using FDB on the command-line. The chances are high that the BURM is not >>>> expecting certain kinds of expressions. >>>I fixed few things to make IJ happy but with this one I don't know how to >>>do: >>>1433596044568 Sent:info scopechain1433596044617 0 = [Object 86673441, >>>class='controllers::MyController']1 = [Object 86684609, >>>class='controllers::MyController$']2 = [Object 86577209, >>>class='Object$']3 = [Object 86684577, class='global']1433596044618 >>>Processed by >>>com.intellij.lang.javascript.flex.debug.FlexStackFrame$4143359604462014335 >>>96044624 Processed by >>>com.intellij.lang.javascript.flex.debug.FlexStackFrame$21433596044626 >>>Sent:frameprint #86673441.1433596044667 #0 >>>MyController/radioClickHandler(event=[Object 89769953, >>>class='org.apache.flex.events::CustomEvent']) at >>>MyController.as#3:601433596044668 Processed by >>>com.intellij.lang.javascript.flex.debug.FlexValue$91433596044722 >>>Expression could not be evaluated. >>>Basically, it seems our new reducer doesn't know what to do with >>>#<ReferenceToReduce>, the "print #86673441." fails not because of the >>>lookup, it works with litterals (eg. print app.initialView.) but because >>>of the reference, any idea how we can improve it ? >>>Thanks, >>>Frédéric THOMAS >>> >>>> From: aha...@adobe.com >>>> To: dev@flex.apache.org >>>> Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration >>>> Date: Fri, 5 Jun 2015 05:43:18 +0000 >>>> >>>> Cool! Good to know we can debug IJ and see its console output. I had >>>>to >>>> do the same sort of thing for Flash Builder. >>>> >>>> I would add console output to DebuggerExpressionEvaluator to dump the >>>> expression it is being asked to evaluate. Then try the same expression >>>> using FDB on the command-line. The chances are high that the BURM is >>>>not >>>> expecting certain kinds of expressions. >>>> >>>> Regarding IJ’s assumptions about the list of SWCs, we might have to live >>>> with warnings, but I’m also ok adding in an mx.swc and spark.swc with no >>>> classes in it if that will make IJ happy. There are some dummy files I >>>> had to create to make FB happy. We also could put all of the swcs in a >>>> different folder as well. It is kind of fun to see what assumptions the >>>> IDE makers had about Flex. >>>> >>>> Thanks for keeping at it, >>>> -Alex >>>> >>>> On 6/4/15, 4:19 PM, "Frédéric THOMAS" <webdoubl...@hotmail.com> wrote: >>>> >>>>>I've been able to start IJ on command line and had more details: >>>>> >>>>>1433459379202 #0 MyController/radioClickHandler(event=[Object >>>>>104282761, class='org.apache.flex.events::CustomEvent']) at >>>>>MyController.as# >>>>>3:60 >>>>>1433459379204 Processed by >>>>>com.intellij.lang.javascript.flex.debug.FlexValue$9 >>>>>1433459379257 Expression could not be evaluated. >>>>>1433459379257 Processed by >>>>>com.intellij.lang.javascript.flex.debug.FlexValue$9 >>>>> >>>>>So, I know where to start if ever I manage to launch IJ in debug mode >>>>and >>>>>debug this closed source. >>>>> >>>>>Frédéric THOMAS >>>>> >>>>>> From: webdoubl...@hotmail.com >>>>>> To: dev@flex.apache.org >>>>>> Subject: RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ >>>>Integration >>>>>> Date: Thu, 4 Jun 2015 23:58:26 +0100 >>>>>> >>>>>> So, I re-applied the patches and first tests I did work pretty well, >>>>on >>>>>>command line only, in IntelliJ, I've got that: >>>>>> >>>>>> org.apache.flex.compiler.exceptions.BURMAbortException >>>>>> at >>>> >>>>>>org.apache.flex.compiler.exceptions.BURMAbortException.<clinit>(BURMAbo >>>>>>rt >>>>>>Exception.java:31) >>>>>> at >>>> >>>>>>flash.tools.debugger.expression.AS3DebuggerBURM.reduceAntecedent(Unknow >>>>>>n >>>>>>Source) >>>>>> at flash.tools.debugger.expression.AS3DebuggerBURM.reduce(Unknown >>>>>>Source) >>>>>> at flash.tools.debugger.expression.AS3DebuggerBURM.burm(Unknown >>>>>>Source) >>>>>> at >>>> >>>>>>flash.tools.debugger.expression.DebuggerExpressionEvaluator.evaluate(Un >>>>>>kn >>>>>>own Source) >>>>>> at >>>>>>flash.tools.debugger.expression.DebuggerExpression.evaluate(Unknown >>>>>>Source) >>>>>> at flex.tools.debugger.cli.ExpressionCache.evaluate(Unknown >>>>Source) >>>>>> at flex.tools.debugger.cli.DebugCLI.evalExpression(Unknown >>>>Source) >>>>>> at flex.tools.debugger.cli.DebugCLI.evalExpression(Unknown >>>>Source) >>>>>> at flex.tools.debugger.cli.DebugCLI.doPrint(Unknown Source) >>>>>> at flex.tools.debugger.cli.DebugCLI.processLine(Unknown Source) >>>>>> at flex.tools.debugger.cli.DebugCLI.process(Unknown Source) >>>>>> at flex.tools.debugger.cli.DebugCLI.execute(Unknown Source) >>>>>> at flex.tools.debugger.cli.DebugCLI.main(Unknown Source) >>>>>> >>>>>> And I've got no idea why and to debug this, I need to hook from >>>>>>IntelliJ, so, it won't done easily. >>>>>> >>>>>> Another thing, I guess I know why we need to add FlexJS as a lib, >>>>>>that's because IJ gives the possibility to choose between Spark and Mx >>>>>>and my strong guess is that the .swc are hard coded, I've seen that in >>>>>>its log: >>>>>> >>>>>> 2015-06-04 23:35:10,142 [4489041] WARN - >>>>>>.intellij.flex.FlexCommonUtils - Unknown SWC in '<Flex >>>>>>SDK>/frameworks/libs' folder: html.swc >>>>>> 2015-06-04 23:35:10,142 [4489041] WARN - >>>>>>.intellij.flex.FlexCommonUtils - Unknown SWC in '<Flex >>>>>>SDK>/frameworks/libs' folder: html5.swc >>>>>> 2015-06-04 23:35:10,143 [4489042] WARN - >>>>>>.intellij.flex.FlexCommonUtils - Unknown SWC in '<Flex >>>>>>SDK>/frameworks/libs' folder: jquery.swc >>>>>> 2015-06-04 23:35:10,143 [4489042] WARN - >>>>>>.intellij.flex.FlexCommonUtils - Unknown SWC in '<Flex >>>>>>SDK>/frameworks/libs' folder: mobile.swc >>>>>> 2015-06-04 23:35:10,143 [4489042] WARN - >>>>>>.intellij.flex.FlexCommonUtils - Unknown SWC in '<Flex >>>>>>SDK>/frameworks/libs' folder: binding.swc >>>>>> 2015-06-04 23:35:10,144 [4489043] WARN - >>>>>>.intellij.flex.FlexCommonUtils - Unknown SWC in '<Flex >>>>>>SDK>/frameworks/libs' folder: effects.swc >>>>>> 2015-06-04 23:35:10,144 [4489043] WARN - >>>>>>.intellij.flex.FlexCommonUtils - Unknown SWC in '<Flex >>>>>>SDK>/frameworks/libs' folder: network.swc >>>>>> 2015-06-04 23:35:10,144 [4489043] WARN - >>>>>>.intellij.flex.FlexCommonUtils - Unknown SWC in '<Flex >>>>>>SDK>/frameworks/libs' folder: createjs.swc >>>>>> 2015-06-04 23:35:10,145 [4489044] WARN - >>>>>>.intellij.flex.FlexCommonUtils - Unknown SWC in '<Flex >>>>>>SDK>/frameworks/libs' folder: dragdrop.swc >>>>>> 2015-06-04 23:35:10,145 [4489044] WARN - >>>>>>.intellij.flex.FlexCommonUtils - Unknown SWC in '<Flex >>>>>>SDK>/frameworks/libs' folder: graphics.swc >>>>>> 2015-06-04 23:35:10,145 [4489044] WARN - >>>>>>.intellij.flex.FlexCommonUtils - Unknown SWC in '<Flex >>>>>>SDK>/frameworks/libs' folder: formatters.swc >>>>>> 2015-06-04 23:35:10,145 [4489044] WARN - >>>>>>.intellij.flex.FlexCommonUtils - Unknown SWC in '<Flex >>>>>>SDK>/frameworks/libs' folder: googlemaps.swc >>>>>> 2015-06-04 23:35:10,146 [4489045] WARN - >>>>>>.intellij.flex.FlexCommonUtils - Unknown SWC in '<Flex >>>>>>SDK>/frameworks/libs' folder: collections.swc >>>>>> >>>>>> Apparently, it is looking for known .swc to be able to assert that a >>>>>>Flex SDK and probably things are hard coded. >>>>>> >>>>>> All in all, it gonna take me a long time to figure out what's >>>>happening >>>>>>with FDB, at the moment, I suggest, from IntelliJ to use the one of >>>>>>another installed Flex SDK. >>>>>> >>>>>> Frédéric THOMAS >>>>>> >>>>>>> Date: Thu, 4 Jun 2015 13:21:38 -0700 >>>>>>> From: piotrzarzyck...@gmail.com >>>>>>> To: dev@flex.apache.org >>>>>>> Subject: RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ >>>>>>Integration >>>>>>> >>>>>>> Fred, >>>>>>> >>>>>>> You are right I will wait till everything will be ok with Intellij >>>>>>stuff. We >>>>>>> could later eventually ping Josh in the other thread for creating >>>>new >>>>>>film >>>>>>> which describes full path of configuration in Intellij. >>>>>>> >>>>>>> Piotr >>>>>>> >>>>>>> >>>>>>> >>>>>>> ----- >>>>>>> Apache Flex PMC >>>>>>> piotrzarzyck...@gmail.com >>>>>>> -- >>>>>>> View this message in context: >>>> >>>>>>http://apache-flex-development.2333347.n4.nabble.com/Re-Re-Re-Re-AW-AW- >>>>>>AW >>>>>>-FlexJS-IntelliJ-Integration-tp47373p47443.html >>>>>>> Sent from the Apache Flex Development mailing list archive at >>>>>>Nabble.com. >>>>>> >>>>> >>>> >>> >> >