> 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$414335960446201433596044624 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>(BURMAbort > >>Exception.java:31) > >> at > >>flash.tools.debugger.expression.AS3DebuggerBURM.reduceAntecedent(Unknown > >>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(Unkn > >>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. > >> > > >