You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Frédéric THOMAS <we...@hotmail.com> on 2015/06/03 22:31:39 UTC

Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

You can do it if you like or want to speed up on it or any other reasons but it wont solve the current issue I have and potentialy the one other people will have but if you think you have a good reason enough to do it, please, be my guest.

--- Message initial ---

De : "Alex Harui" <ah...@adobe.com>
Envoyé : 3 juin 2015 20:25
A : dev@flex.apache.org
Objet : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

How about if I take a shot at merging IDEA into develop?

-Alex

On 6/3/15, 12:23 PM, "Frédéric THOMAS" <we...@hotmail.com> wrote:

>Actually Im out so I will do that tomorrow
>
>--- Message initial ---
>
>De : "Alex Harui" <ah...@adobe.com>
>Envoyé : 3 juin 2015 19:33
>A : dev@flex.apache.org
>Objet : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
>
>
>
>On 6/3/15, 9:59 AM, "Frédéric THOMAS" <we...@hotmail.com> wrote:
>
>>I updated the dev branch 1 or 2 hours ago and had the same issue, will
>>try to fix it later tonight before finishing FDB and merge the comipler
>>part.
>
>OK.  The CI server said the build of my changes passed.  So, when you are
>ready feel free to merge or I can do it.  If build breaks after your merge
>I can try to help fix it.
>
>-Alex
>


Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

Posted by Alex Harui <ah...@adobe.com>.

On 6/4/15, 4:16 AM, "Frédéric THOMAS" <we...@hotmail.com> wrote:
>Also, I had to add the manifiests to the <InstalledSDK>/frameworks from
>the Flex SDK, especially mxml-2009-manifest.xml, otherwise intelliJ
>wasn't able to recognize <fx:Script
>Should we add them to the dev SDK too ?

Yes, if they don’t need to contain references to Spark and MX classes and
only need to reference builtins, Script, and FlexJS classes.  Otherwise
let’s revisit.  And I think this file should be auto-generated from other
manifests.

It is things like this that make me think that some fix like this will
allow IJ to work with a FlexJS SDK without mixing it with a Flex SDK.

Thanks for figuring that out.

-Alex
	 	   		  


RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

Posted by Frédéric THOMAS <we...@hotmail.com>.
I've been trying to push a fix but had that:

Push failed
         Failed with error: error: no DAV locking support on https://git-wip-us.apache.org/repos/asf/flex-falcon.git/
         fatal: git-http-push failed

Any clue why ?

Frédéric THOMAS

> From: webdoublefx@hotmail.com
> To: dev@flex.apache.org
> Subject: RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Thu, 4 Jun 2015 15:01:13 +0100
> 
> > Add it to the source-package target in the FlexJS build script.  But what
> > is in it?  Can it be auto-generated?  Does it require references to
> > regular Flex SDK classes?
> 
> This is the content [1], IntelliJ creates its own config.xml, it needs to be overrided with the FlexJS stuffs.
> 
> So, are you saying the best way is to copy it in ide/IDEA/intellij-config.xml and modify the falcon build.xml to copy it to the generated folder?
> 
> Frédéric THOMAS
> 
> [1]
> <?xml version="1.0"?>
> 
> <!--
> 
>   Licensed to the Apache Software Foundation (ASF) under one or more
>   contributor license agreements.  See the NOTICE file distributed with
>   this work for additional information regarding copyright ownership.
>   The ASF licenses this file to You under the Apache License, Version 2.0
>   (the "License"); you may not use this file except in compliance with
>   the License.  You may obtain a copy of the License at
> 
>       http://www.apache.org/licenses/LICENSE-2.0
> 
>   Unless required by applicable law or agreed to in writing, software
>   distributed under the License is distributed on an "AS IS" BASIS,
>   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>   See the License for the specific language governing permissions and
>   limitations under the License.
> 
> -->
> 
> 
> <flex-config>
>    <compiler>
>       <mxml>
>           <children-as-data>true</children-as-data>
>           <imports>
>               <implicit-import>org.apache.flex.events.*</implicit-import>
>               <implicit-import>org.apache.flex.geom.*</implicit-import>
>               <implicit-import>org.apache.flex.core.ClassFactory</implicit-import>
>               <implicit-import>org.apache.flex.core.IFactory</implicit-import>
>           </imports>
>       </mxml>
>       <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
>       <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
>       <binding-value-change-event-type>valueChange</binding-value-change-event-type>
>       <binding-event-handler-event>org.apache.flex.events.Event</binding-event-handler-event>
>       <binding-event-handler-class>org.apache.flex.events.EventDispatcher</binding-event-handler-class>
>       <states-class>org.apache.flex.states.State</states-class>
>       <states-instance-override-class>org.apache.flex.states.AddItems</states-instance-override-class>
>       <states-property-override-class>org.apache.flex.states.SetProperty</states-property-override-class>
>       <states-event-override-class>org.apache.flex.states.SetEventHandler</states-event-override-class>
>       <component-factory-class>org.apache.flex.core.ClassFactory</component-factory-class>
>       <component-factory-interface>org.apache.flex.core.IFactory</component-factory-interface>
> 
>       <namespaces>
>       <!-- Specify a URI to associate with a manifest of components for use as MXML -->
>       <!-- elements.                                                                -->
>          <namespace>
>             <uri>library://ns.apache.org/flexjs/basic</uri>
>             
>             <manifest>../../frameworks/projects/Core/basic-manifest.xml</manifest>
>          
>         </namespace>                                                 
>          <namespace>
>             <uri>library://ns.apache.org/flexjs/html5</uri>
>             
>             <manifest>../../frameworks/projects/HTML5/html5-manifest.xml</manifest>
>          
>         </namespace>
>         <namespace>
>             <uri>library://ns.apache.org/flexjs/svg</uri>
>              <manifest>../../frameworks/projects/HTML/svg-manifest.xml</manifest>
>         </namespace>   
>    
>       </namespaces>
> 
>       <!-- List of CSS or SWC files to apply as a theme. -->
>       <theme>
>       </theme>
>       
>    </compiler>   
> </flex-config>
> 
> 
> > From: aharui@adobe.com
> > To: dev@flex.apache.org
> > Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> > Date: Thu, 4 Jun 2015 12:45:51 +0000
> > 
> > 
> > 
> > On 6/4/15, 4:47 AM, "Frédéric THOMAS" <we...@hotmail.com> wrote:
> > 
> > >> Also, I had to add the manifiests to the
> > ><InstalledSDK>/frameworks from the Flex SDK, especially
> > >mxml-2009-manifest.xml, otherwise intelliJ wasn't able to recognize
> > ><fx:Script
> > >> Should we add them to the dev SDK too ?
> > >
> > >I've seen there was in the generated\dist\sdk\frameworks, so, I wonder
> > >why they wasn't in the downloaded FlexJS SDK ?
> > 
> > That folder is generated by copying files from flex-sdk.  FlexJS SDK’s are
> > generated from its build.xml.
> > 
> > >
> > >Also, I added a <InstalledFlexJsSDK>\ide\IDEA\intellij-config.xml, what
> > >should I do to have it integrated in the futur FlexJS release?
> > 
> > Add it to the source-package target in the FlexJS build script.  But what
> > is in it?  Can it be auto-generated?  Does it require references to
> > regular Flex SDK classes?
> > 
> > -Alex
> > 	   		  
> > 
>  		 	   		  
 		 	   		  

RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

Posted by Frédéric THOMAS <we...@hotmail.com>.
ok, what I did is:

1- created the intellij-config file in .\compiler\dist\flex\ide\IDEA\intellij-config.xml
2- In the target copy.sdk, added:

        <!-- Copy intellij-config.xml to ${sdk]. -->
        <mkdir dir="${sdk}/ide/IDEA" />
        <copy todir="${sdk}/ide/IDEA" failOnError="false" overwrite="false">
            <fileset dir="${compiler}/dist/flex/ide/IDEA">
                <include name="intellij-config.xml"/>
            </fileset>
        </copy>

Is that ok for you ? is there something else to do ?

I created a video to show how it will work in the FlexJS 0.0.4 https://vimeo.com/129789415
Indeed, I haven't got the Joseph style and eloquence but it could serve as a base for him to do a better one.

Frédéric THOMAS

> From: webdoublefx@hotmail.com
> To: dev@flex.apache.org
> Subject: RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Thu, 4 Jun 2015 15:55:40 +0100
> 
> > How do you override it?  When does IJ create this file?
> 
> The IntelliJ Flex plugin create this file based on what the user has set in the IntelliJ module configuration build, it generate it at each build and is automatically removed at the end of the compilation, I have no way to change this behavior, what I do instead is I override it with this intellij-config.xml to include what the compiler needs using load-config+=intellij-config.xml
> 
> > Yes, if that’s the correct timing that will result in overriding.
> > Although it might be better to find a way to auto-generate the contents
> > since it is a copy of at least some of our flex-config.xml
> 
> Have you got a example of a such auto-generation ?
> 
> Frédéric THOMAS
> 
> > From: aharui@adobe.com
> > To: dev@flex.apache.org
> > Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> > Date: Thu, 4 Jun 2015 14:41:18 +0000
> > 
> > 
> > 
> > On 6/4/15, 7:01 AM, "Frédéric THOMAS" <we...@hotmail.com> wrote:
> > 
> > >> Add it to the source-package target in the FlexJS build script.  But
> > >>what
> > >> is in it?  Can it be auto-generated?  Does it require references to
> > >> regular Flex SDK classes?
> > >
> > >This is the content [1], IntelliJ creates its own config.xml, it needs to
> > >be overrided with the FlexJS stuffs.
> > 
> > How do you override it?  When does IJ create this file?
> > 
> > >
> > >So, are you saying the best way is to copy it in
> > >ide/IDEA/intellij-config.xml and modify the falcon build.xml to copy it
> > >to the generated folder?
> > 
> > Yes, if that’s the correct timing that will result in overriding.
> > Although it might be better to find a way to auto-generate the contents
> > since it is a copy of at least some of our flex-config.xml
> > 
> > -Alex		 	   		  
> > 
>  		 	   		  
 		 	   		  

RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

Posted by Frédéric THOMAS <we...@hotmail.com>.
> 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.

I guess it worth a try, I will do it.

Frédéric THOMAS


----------------------------------------
> From: aharui@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" <we...@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: webdoublefx@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: piotrzarzycki21@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
>>>> piotrzarzycki21@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.
>>>
>>
>
 		 	   		  

RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

Posted by Frédéric THOMAS <we...@hotmail.com>.
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: webdoublefx@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: aharui@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" <we...@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: aharui@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" <we...@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: webdoublefx@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: piotrzarzycki21@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
>>>>>>> piotrzarzycki21@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.
>>>>>>
>>>>>
>>>>
>>>
>>
>
 		 	   		  

RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

Posted by Frédéric THOMAS <we...@hotmail.com>.
Btw, even though I force the rule to be applied, the LiteralIntegerID falls into JBurgAnnotationGeneral and so, get no associated rules which will throw the same exception.

Frédéric THOMAS


----------------------------------------
> From: webdoublefx@hotmail.com
> To: dev@flex.apache.org
> Subject: RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Wed, 10 Jun 2015 15:58:47 +0100
>
>> Out of that, the exception is thrown because after the call to
> label(), the reduce()->reduceAntecedent()->getRule() fails to find
> a rule to apply, actually, it can't find the cost for rule as it seems
> to be no cost function for the goalState 1, at least in the class
> JBurgAnnotation_FunctionCallID_2_n.
>
> Actually I was wrong, there is one:
>
>                     currentCost = getCostForRule_7be4d80b(goalState);
>                     if ( ( bestCost> currentCost )  )
>                     {
>                         bestCost = currentCost;
>                         rule = 111;
>                     }
>
> but it can not get the rule:
>
>     /* expression = FunctionCallID(IdentifierID(void), ContainerID(expression*)) */
>
>     private Object action_111( IASNode __p) throws java.lang.Exception
>     {
>         java.util.Vector<Object> args = (java.util.Vector<Object>)__reducedValues.pop();
>     IASNode specialName = SemanticUtils.getNthChild(__p, 0);
>         return reducer.reduce_functionCallSpecial_to_expression(__p,specialName,args);
>     }
>
> Because if ( ( bestCost> currentCost )  ) is false, both equal 2147483647
>
> Frédéric THOMAS
>
>
> ----------------------------------------
>> From: webdoublefx@hotmail.com
>> To: dev@flex.apache.org
>> Subject: RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
>> Date: Wed, 10 Jun 2015 14:37:00 +0100
>>
>> Hi Alex,
>>
>> I've been reading the instructions before but was a bit confused the same :-)
>>
>> Well, the annotated tree seems to be well constructed by the label():
>>
>> FunctionCallNode(FunctionCallID) "$obj" 0:1 loc: 1-15 abs: 1-15 flash.tools.debugger
>> IdentifierNode(IdentifierID) "$obj" 0:1 loc: 1-5 abs: 1-5 flash.tools.debugger
>> ContainerNode(ContainerID) SYNTHESIZED 0:5 loc: 6-15 abs: 6-15 flash.tools.debugger
>> NumericLiteralNode(LiteralIntegerID) Number 88737825 0:6 loc: 6-14 abs: 6-14 flash.tools.debugger
>>
>> I've got 1 subtree for the identifier and 1 for the container, none for the NumericLiteralNode though, is that expected ?
>> Also, for sure I don't get all of this but to me what it describes is a function, so, I wonder, shouldn't it have a return value node ?
>>
>> I didn't get either at what moment and from what, after the reduction, the expected result of $obj(LiteralIntegerID) is supposed to come from ?
>>
>> Out of that, the exception is thrown because after the call to label(), the reduce()->reduceAntecedent()->getRule() fails to find a rule to apply, actually, it can't find the cost for rule as it seems to be no cost function for the goalState 1, at least in the class JBurgAnnotation_FunctionCallID_2_n.
>>
>> Does it make sense ?
>>
>> Frédéric THOMAS
>>
>>
>> ----------------------------------------
>>> From: aharui@adobe.com
>>> To: webdoublefx@hotmail.com; dev@flex.apache.org
>>> Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
>>> Date: Tue, 9 Jun 2015 16:39:11 +0000
>>>
>>> In my changes I added a long comment about how to debug burm issues. Can you try to follow the instructions and tell me what the object trees look like?
>>>
>>>
>>> Sent from my LG G3, an AT&T 4G LTE smartphone
>>>
>>>
>>> ------ Original message------
>>>
>>> From: Frédéric THOMAS
>>>
>>> Date: Tue, Jun 9, 2015 6:53 AM
>>>
>>> To: dev@flex.apache.org;
>>>
>>> Subject:RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
>>>
>>>
>>>> Try deleting the folder called “generated” in the debugger project before
>>>> compiling. It could be that the build script doesn’t handle that
>>>> correctly. Also, I assume you re-started IJ after changing jars?
>>>
>>> Yes, was done.
>>> Usually I set hookallreducercalls = false because IJ reads the console.
>>>
>>> Here is the complete session when I set it to true, does it mean more for you ?
>>>
>>> 1433854821775 Apache fdb (Flash Player Debugger) [build ]
>>> Copyright 2015 The Apache Software Foundation.
>>> 1433854821775 Processed by com.intellij.lang.javascript.flex.debug.FlexDebugProcess$ReadGreetingCommand
>>> 1433854821776 Sent:run
>>> 1433854821785 Waiting for Player to connect
>>> 1433854821785 Processed by com.intellij.lang.javascript.flex.debug.FlexDebugProcess$LaunchBrowserCommand
>>> 1433854822070 Player connected; session starting.
>>> Set breakpoints and then type 'continue' to resume the session.
>>> 1433854822071 Processed by com.intellij.lang.javascript.flex.debug.FlexDebugProcess$LaunchBrowserCommand
>>> 1433854822071 Sent:break controllers.MyController.as:60
>>> 1433854822089 Breakpoint 1: file MyController.as, line 60
>>> 1433854822090 Processed by com.intellij.lang.javascript.flex.debug.FlexBreakpointsHandler$InsertBreakpointCommand
>>> 1433854822091 Sent:continue
>>> 1433854822393 [SWF] U:\sources\flexJsProjects\DataBindingTest\out\production\DataBindingTest\DataBindingTest.swf - 160,8
>>> 91 bytes after decompression
>>> 1433854825017 Breakpoint 1, radioClickHandler() at MyController.as:60
>>> 60 var field:String = MyInitialView(app.initialView).requestedField;
>>> 1433854825022 Sent:bt
>>> 1433854825046 #0 this = [Object 57219105, class='controllers::MyController'].MyController/radioClickHandler(event=[Obj
>>> ect 105228257, class='org.apache.flex.events::CustomEvent']) at MyController.as#3:60
>>> #1 EventDispatcher/dispatchEventFunction() at :0
>>> #2 this = [Object 57200865, class='MyInitialView'].EventDispatcher/dispatchEvent(_arg1=[Object 105228257, class='org.a
>>> pache.flex.events::CustomEvent']) at :0
>>> #3 this = [Object 57200865, class='MyInitialView'].MyInitialView/radioChanged(e=[Object 105228737, class='org.apache.f
>>> lex.events::Event']) at MyInitialView.mxml#19:43
>>> #4 this = [Object 57200865, class='MyInitialView'].MyInitialView/>4(event=[Object 105228737, class='org.apache.flex.ev
>>> ents::Event']) at MyInitialView.mxml#19:127
>>> #5 EventDispatcher/dispatchEventFunction() at :0
>>> #6 this = [Object 105222401, class='org.apache.flex.html::RadioButton'].EventDispatcher/dispatchEvent(_arg1=[Object 10
>>> 5228737, class='org.apache.flex.events::Event']) at :0
>>> #7 this = [Object 105222401, class='org.apache.flex.html::RadioButton'].RadioButton/internalMouseHandler(event=[Object
>>> 105201921, class='org.apache.flex.events::MouseEvent']) at RadioButton.as#37:204
>>> #8 EventDispatcher/dispatchEventFunction() at :0
>>> #9 this = [Object 105222401, class='org.apache.flex.html::RadioButton'].EventDispatcher/dispatchEvent(_arg1=[Object 10
>>> 5201921, class='org.apache.flex.events::MouseEvent']) at :0
>>> #10 this = [Object 85278609, class='org.apache.flex.events.utils::MouseEventConverter$'].MouseEventConverter$/mouseEven
>>> tConverter(event=[Object 57291209, class='flash.events::MouseEvent']) at MouseEventConverter.as#12:84
>>> 1433854825048 Processed by com.intellij.lang.javascript.flex.debug.DumpSourceLocationCommand
>>> 1433854825050 Sent:bt
>>> 1433854825074 #0 this = [Object 57219105, class='controllers::MyController'].MyController/radioClickHandler(event=[Obj
>>> ect 105228257, class='org.apache.flex.events::CustomEvent']) at MyController.as#3:60
>>> #1 EventDispatcher/dispatchEventFunction() at :0
>>> #2 this = [Object 57200865, class='MyInitialView'].EventDispatcher/dispatchEvent(_arg1=[Object 105228257, class='org.a
>>> pache.flex.events::CustomEvent']) at :0
>>> #3 this = [Object 57200865, class='MyInitialView'].MyInitialView/radioChanged(e=[Object 105228737, class='org.apache.f
>>> lex.events::Event']) at MyInitialView.mxml#19:43
>>> #4 this = [Object 57200865, class='MyInitialView'].MyInitialView/>4(event=[Object 105228737, class='org.apache.flex.ev
>>> ents::Event']) at MyInitialView.mxml#19:127
>>> #5 EventDispatcher/dispatchEventFunction() at :0
>>> #6 this = [Object 105222401, class='org.apache.flex.html::RadioButton'].EventDispatcher/dispatchEvent(_arg1=[Object 10
>>> 5228737, class='org.apache.flex.events::Event']) at :0
>>> #7 this = [Object 105222401, class='org.apache.flex.html::RadioButton'].RadioButton/internalMouseHandler(event=[Object
>>> 105201921, class='org.apache.flex.events::MouseEvent']) at RadioButton.as#37:204
>>> #8 EventDispatcher/dispatchEventFunction() at :0
>>> #9 this = [Object 105222401, class='org.apache.flex.html::RadioButton'].EventDispatcher/dispatchEvent(_arg1=[Object 10
>>> 5201921, class='org.apache.flex.events::MouseEvent']) at :0
>>> #10 this = [Object 85278609, class='org.apache.flex.events.utils::MouseEventConverter$'].MouseEventConverter$/mouseEven
>>> tConverter(event=[Object 57291209, class='flash.events::MouseEvent']) at MouseEventConverter.as#12:84
>>> 1433854825076 Processed by com.intellij.lang.javascript.flex.debug.FlexSuspendContext$FlexExecutionStack$1
>>> 1433854825077 Sent:show files
>>> 1433854825132 1 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\Application.as, Appl
>>> ication.as (Main Thread)
>>> 2 U:\sources\flexJsProjects\DataBindingTest\src\DataBindingTest.mxml, DataBindingTest.mxml (Main Thread)
>>> 3 U:\sources\flexJsProjects\DataBindingTest\src\controllers\MyController.as, MyController.as (Main Thread)
>>> 4 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Collections\as\src\org\apache\flex\collections\parsers\JSONInputPar
>>> ser.as, JSONInputParser.as (Main Thread)
>>> 5 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\events\EventDispatcher.as, EventDispatc
>>> her.as (Main Thread)
>>> 6 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Collections\as\src\org\apache\flex\collections\LazyCollection.as, L
>>> azyCollection.as (Main Thread)
>>> 7 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\SimpleCSSValuesImpl.as, SimpleCSSV
>>> aluesImpl.as (Main Thread)
>>> 8 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\ValuesManager.as, ValuesManager.as
>>> (Main Thread)
>>> 9 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\UIBase.as, UIBase.as (Main Thread)
>>>
>>> 10 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\ContainerBase.as, ContainerBase.a
>>> s (Main Thread)
>>> 11 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\ViewBase.as, ViewBase.as (Main Th
>>> read)
>>> 12 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\events\utils\MouseEventConverter.as, M
>>> ouseEventConverter.as (Main Thread)
>>> 13 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\events\Event.as, Event.as (Main Thread
>>> )
>>> 14 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\events\ValueChangeEvent.as, ValueChang
>>> eEvent.as (Main Thread)
>>> 15 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\utils\MXMLDataInterpreter.as, MXMLData
>>> Interpreter.as (Main Thread)
>>> 16 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\utils\ViewSourceContextMenuOption.as,
>>> ViewSourceContextMenuOption.as (Main Thread)
>>> 17 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Network\as\src\org\apache\flex\net\HTTPService.as, HTTPService.as
>>> (Main Thread)
>>> 18 U:\sources\flexJsProjects\DataBindingTest\DataBindingTestLib\src\models\MyModel.as, MyModel.as (Main Thread)
>>> 19 U:\sources\flexJsProjects\DataBindingTest\src\MyInitialView.mxml, MyInitialView.mxml (Main Thread)
>>> 20 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Collections\as\src\org\apache\flex\collections\converters\JSONItem
>>> Converter.as, JSONItemConverter.as (Main Thread)
>>> 21 U:\sources\flexJsProjects\DataBindingTest\src\StockDataJSONItemConverter.as, StockDataJSONItemConverter.as (Main Thre
>>> ad)
>>> 22 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Binding\as\src\org\apache\flex\binding\ViewBaseDataBinding.as, Vie
>>> wBaseDataBinding.as (Main Thread)
>>> 23 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\StageProxy.as, StageProxy.as (Mai
>>> n Thread)
>>> 24 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\events\CustomEvent.as, CustomEvent.as
>>> (Main Thread)
>>> 25 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\events\MouseEvent.as, MouseEvent.as (M
>>> ain Thread)
>>> 26 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\states\AddItems.as, AddItems.as (Main
>>> Thread)
>>> 27 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\states\SetProperty.as, SetProperty.as
>>> (Main Thread)
>>> 28 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\states\State.as, State.as (Main Thread
>>> )
>>> 29 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\layouts\HorizontalLayout.as
>>> , HorizontalLayout.as (Main Thread)
>>> 30 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\layouts\VerticalLayout.as,
>>> VerticalLayout.as (Main Thread)
>>> 31 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\UIButtonBase.as, UIButtonBase.as
>>> (Main Thread)
>>> 32 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\CheckBox.as, CheckBox.as (Main Th
>>> read)
>>> 33 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\Container.as, Container.as (Main
>>> Thread)
>>> 34 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\Button.as, Button.as (Main Thread
>>> )
>>> 35 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\DropDownList.as, DropDownList.as
>>> (Main Thread)
>>> 36 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\Label.as, Label.as (Main Thread)
>>> 37 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\RadioButton.as, RadioButton.as (M
>>> ain Thread)
>>> 38 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\TextArea.as, TextArea.as (Main Th
>>> read)
>>> 39 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\TextButton.as, TextButton.as (Mai
>>> n Thread)
>>> 40 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\TextInput.as, TextInput.as (Main
>>> Thread)
>>> 41 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Network\as\src\org\apache\flex\net\HTTPHeader.as, HTTPHeader.as (M
>>> ain Thread)
>>> 42 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Binding\as\src\org\apache\flex\binding\ConstantBinding.as, Constan
>>> tBinding.as (Main Thread)
>>> 43 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Binding\as\src\org\apache\flex\binding\GenericBinding.as, GenericB
>>> inding.as (Main Thread)
>>> 44 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Binding\as\src\org\apache\flex\binding\WatcherBase.as, WatcherBase
>>> .as (Main Thread)
>>> 45 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Binding\as\src\org\apache\flex\binding\PropertyWatcher.as, Propert
>>> yWatcher.as (Main Thread)
>>> 46 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Binding\as\src\org\apache\flex\binding\SimpleBinding.as, SimpleBin
>>> ding.as (Main Thread)
>>> 47 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\geom\Point.as, Point.as (Main Thread)
>>> 48 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\states\ItemAndDescriptor.as, ItemAndDe
>>> scriptor.as (Main Thread)
>>> 49 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\utils\PointUtils.as, PointUtils.as (Ma
>>> in Thread)
>>> 50 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\BeadViewBase.as, BeadViewBase.as
>>> (Main Thread)
>>> 51 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\CSSTextField.as, CSSTextField.as
>>> (Main Thread)
>>> 52 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\ClassFactory.as, ClassFactory.as
>>> (Main Thread)
>>> 53 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\Strand.as, Strand.as (Main Thread
>>> )
>>> 54 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\ItemRendererClassFactory.as, Item
>>> RendererClassFactory.as (Main Thread)
>>> 55 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\SimpleStatesImpl.as, SimpleStates
>>> Impl.as (Main Thread)
>>> 56 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\events\ValueEvent.as, ValueEvent.as (M
>>> ain Thread)
>>> 57 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\states\SetEventHandler.as, SetEventHan
>>> dler.as (Main Thread)
>>> 58 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\utils\EffectTimer.as, EffectTimer.as (
>>> Main Thread)
>>> 59 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\utils\SolidBorderUtil.as, SolidBorderU
>>> til.as (Main Thread)
>>> 60 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\controllers\ButtonAutoRepea
>>> tController.as, ButtonAutoRepeatController.as (Main Thread)
>>> 61 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\controllers\DropDownListCon
>>> troller.as, DropDownListController.as (Main Thread)
>>> 62 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\controllers\EditableTextKey
>>> boardController.as, EditableTextKeyboardController.as (Main Thread)
>>> 63 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\controllers\ItemRendererMou
>>> seController.as, ItemRendererMouseController.as (Main Thread)
>>> 64 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\controllers\ListSingleSelec
>>> tionMouseController.as, ListSingleSelectionMouseController.as (Main Thread)
>>> 65 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\controllers\ScrollBarMouseC
>>> ontrollerBase.as, ScrollBarMouseControllerBase.as (Main Thread)
>>> 66 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\controllers\VScrollBarMouse
>>> Controller.as, VScrollBarMouseController.as (Main Thread)
>>> 67 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\layouts\VScrollBarLayout.as
>>> , VScrollBarLayout.as (Main Thread)
>>> 68 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\layouts\VerticalScrollingLa
>>> yout.as, VerticalScrollingLayout.as (Main Thread)
>>> 69 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\models\ArraySelectionModel.
>>> as, ArraySelectionModel.as (Main Thread)
>>> 70 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\models\ListPresentationMode
>>> l.as, ListPresentationModel.as (Main Thread)
>>> 71 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\models\RangeModel.as, Range
>>> Model.as (Main Thread)
>>> 72 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\models\ScrollBarModel.as, S
>>> crollBarModel.as (Main Thread)
>>> 73 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\models\SingleLineBorderMode
>>> l.as, SingleLineBorderModel.as (Main Thread)
>>> 74 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\models\TextModel.as, TextMo
>>> del.as (Main Thread)
>>> 75 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\models\ToggleButtonModel.as
>>> , ToggleButtonModel.as (Main Thread)
>>> 76 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\models\ValueToggleButtonMod
>>> el.as, ValueToggleButtonModel.as (Main Thread)
>>> 77 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\CSSButtonView.as, CSSButton
>>> View.as (Main Thread)
>>> 78 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\CSSTextButtonView.as, CSSTe
>>> xtButtonView.as (Main Thread)
>>> 79 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\CheckBoxView.as, CheckBoxVi
>>> ew.as (Main Thread)
>>> 80 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\ContainerView.as, Container
>>> View.as (Main Thread)
>>> 81 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\DataItemRendererFactoryForA
>>> rrayData.as, DataItemRendererFactoryForArrayData.as (Main Thread)
>>> 82 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\DownArrowButtonView.as, Dow
>>> nArrowButtonView.as (Main Thread)
>>> 83 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\DropDownListView.as, DropDo
>>> wnListView.as (Main Thread)
>>> 84 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\ListView.as, ListView.as (M
>>> ain Thread)
>>> 85 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\RadioButtonView.as, RadioBu
>>> ttonView.as (Main Thread)
>>> 86 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\ScrollBarView.as, ScrollBar
>>> View.as (Main Thread)
>>> 87 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\SingleLineBorderBead.as, Si
>>> ngleLineBorderBead.as (Main Thread)
>>> 88 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\SolidBackgroundBead.as, Sol
>>> idBackgroundBead.as (Main Thread)
>>> 89 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\TextFieldViewBase.as, TextF
>>> ieldViewBase.as (Main Thread)
>>> 90 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\TextAreaView.as, TextAreaVi
>>> ew.as (Main Thread)
>>> 91 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\TextButtonMeasurementBead.a
>>> s, TextButtonMeasurementBead.as (Main Thread)
>>> 92 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\TextButtonView.as, TextButt
>>> onView.as (Main Thread)
>>> 93 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\TextFieldLabelMeasurementBe
>>> ad.as, TextFieldLabelMeasurementBead.as (Main Thread)
>>> 94 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\TextFieldView.as, TextField
>>> View.as (Main Thread)
>>> 95 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\TextInputView.as, TextInput
>>> View.as (Main Thread)
>>> 96 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\TextInputWithBorderView.as,
>>> TextInputWithBorderView.as (Main Thread)
>>> 97 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\TextItemRendererFactoryForA
>>> rrayData.as, TextItemRendererFactoryForArrayData.as (Main Thread)
>>> 98 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\UpArrowButtonView.as, UpArr
>>> owButtonView.as (Main Thread)
>>> 99 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\VScrollBarThumbView.as, VSc
>>> rollBarThumbView.as (Main Thread)
>>> 100 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\VScrollBarTrackView.as, VS
>>> crollBarTrackView.as (Main Thread)
>>> 101 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\supportClasses\Border.as, Border
>>> .as (Main Thread)
>>> 102 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\supportClasses\ContainerContentA
>>> rea.as, ContainerContentArea.as (Main Thread)
>>> 103 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\supportClasses\DataGroup.as, Dat
>>> aGroup.as (Main Thread)
>>> 104 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\supportClasses\UIItemRendererBas
>>> e.as, UIItemRendererBase.as (Main Thread)
>>> 105 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\supportClasses\DataItemRenderer.
>>> as, DataItemRenderer.as (Main Thread)
>>> 106 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\List.as, List.as (Main Thread)
>>> 107 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\SimpleList.as, SimpleList.as (Ma
>>> in Thread)
>>> 108 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\supportClasses\DropDownListList.
>>> as, DropDownListList.as (Main Thread)
>>> 109 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\supportClasses\ScrollBar.as, Scr
>>> ollBar.as (Main Thread)
>>> 110 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\supportClasses\StringItemRendere
>>> r.as, StringItemRenderer.as (Main Thread)
>>> 1433854825192 Processed by com.intellij.lang.javascript.flex.debug.KnownFilesInfo$1
>>> 1433854825258 Sent:frame
>>> print this
>>> 1433854825259 #0 MyController/radioClickHandler(event=[Object 105228257, class='org.apache.flex.events::CustomEvent'])
>>> at MyController.as#3:60
>>> 1433854825260 Processed by com.intellij.lang.javascript.flex.debug.FlexStackFrame$2
>>> 1433854825612 reduce_simpleName
>>> transform_name_to_expression
>>> isXMLType
>>> $1 = [Object 57219105, class='controllers::MyController']
>>> 1433854825613 Processed by com.intellij.lang.javascript.flex.debug.FlexStackFrame$2
>>> 1433854825613 Unexpected token: [reduce_simpleName], full string: [reduce_simpleName
>>> transform_name_to_expression
>>> isXMLType
>>> $1 = [Object 57219105, class='controllers::MyController']]
>>> ], full string: [reduce_simpleName
>>> transform_name_to_expression
>>> isXMLType
>>> $1 = [Object 57219105, class='controllers::MyController']]
>>> 1433854825614 Unexpected token: [
>>> ], full string: [reduce_simpleName
>>> transform_name_to_expression
>>> isXMLType
>>> $1 = [Object 57219105, class='controllers::MyController']]
>>> 1433854825614 Unexpected token: [transform_name_to_expression], full string: [reduce_simpleName
>>> transform_name_to_expression
>>> isXMLType
>>> $1 = [Object 57219105, class='controllers::MyController']]
>>> ], full string: [reduce_simpleName
>>> transform_name_to_expression
>>> isXMLType
>>> $1 = [Object 57219105, class='controllers::MyController']]
>>> 1433854825614 Unexpected token: [
>>> ], full string: [reduce_simpleName
>>> transform_name_to_expression
>>> isXMLType
>>> $1 = [Object 57219105, class='controllers::MyController']]
>>> 1433854825615 Unexpected token: [isXMLType], full string: [reduce_simpleName
>>> transform_name_to_expression
>>> isXMLType
>>> $1 = [Object 57219105, class='controllers::MyController']]
>>> ], full string: [reduce_simpleName
>>> transform_name_to_expression
>>> isXMLType
>>> $1 = [Object 57219105, class='controllers::MyController']]
>>> 1433854825616 Unexpected token: [
>>> ], full string: [reduce_simpleName
>>> transform_name_to_expression
>>> isXMLType
>>> $1 = [Object 57219105, class='controllers::MyController']]
>>> 1433854825641 Sent:info arguments
>>> 1433854825660 event = [Object 105228257, class='org.apache.flex.events::CustomEvent']
>>> 1433854825660 Processed by com.intellij.lang.javascript.flex.debug.FlexStackFrame$2
>>> 1433854825661 Sent:info locals
>>> 1433854825710 field = undefined
>>> 1433854825710 Processed by com.intellij.lang.javascript.flex.debug.FlexStackFrame$2
>>> 1433854825711 Sent:info scopechain
>>> 1433854825760 0 = [Object 57219105, class='controllers::MyController']
>>> 1 = [Object 85242817, class='controllers::MyController$']
>>> 2 = [Object 85135417, class='Object$']
>>> 3 = [Object 85242785, class='global']
>>> 1433854825760 Processed by com.intellij.lang.javascript.flex.debug.FlexStackFrame$4
>>> 1433854825761
>>> 1433854825762 Processed by com.intellij.lang.javascript.flex.debug.FlexStackFrame$2
>>> 1433854825762 Sent:frame
>>> print #57219105.
>>> 1433854825810 #0 MyController/radioClickHandler(event=[Object 105228257, class='org.apache.flex.events::CustomEvent'])
>>> at MyController.as#3:60
>>> 1433854825811 Processed by com.intellij.lang.javascript.flex.debug.FlexValue$9
>>> 1433854825866 Expression could not be evaluated.
>>> 1433854825866 Processed by com.intellij.lang.javascript.flex.debug.FlexValue$9
>>> 1433855015652 Sent:continue
>>> 1433855021365 [UnloadSWF] U:\sources\flexJsProjects\DataBindingTest\out\production\DataBindingTest\DataBindingTest.swf
>>> Player session terminated
>>>
>>> 1433855021370 Sent:quit
>>>
>>>> I’m still surprised it works from the command line for you. I left some
>>>> System.out.println calls in the fixed code that should show up in the
>>>> console if you are running the right jars.
>>>
>>> Ok, I just discovered that when I set a path to a JarApplication in IJ, it reports it to the others and actually I was running the Flex SDK fdb.jar instead of the falcon one, so, at the end I've got the same exception in both.
>>>
>>> When I run fdb.jar from the command line launched by IJ:
>>>
>>> "C:\Program Files\Java\jdk1.7.0\bin\java" -Dsun.io.useCanonCaches=false -Xms32m -Xmx512m -Dflexlib=D:/SDKs/FlexJS/0.0.3_FP16.0_AIR16.0_en_US/frameworks -Dfile.encoding=windows-1252 -jar U:\sources\asf\flex\falcon\compiler\generated\dist\sdk\lib\fdb.jar U:\sources\flexJsProjects\DataBindingTest\out\production\DataBindingTest\DataBindingTest.swf
>>> Apache fdb (Flash Player Debugger) [build ]
>>> Copyright 2015 The Apache Software Foundation.
>>> Tentative de lancement et de connexion au lecteur avec l'URL
>>> U:\sources\flexJsProjects\DataBindingTest\out\production\DataBindingTest\DataBindingTest.swf
>>> Lecteur connecté ; lancement de la session.
>>> Définissez des points d'arrêt, puis tapez 'continue' pour reprendre la session.
>>> (fdb) break MyController.as:60
>>> [SWF] U:\sources\flexJsProjects\DataBindingTest\out\production\DataBindingTest\DataBindingTest.swf - 160 891 octets après la décompression
>>> Point d'arrêt 1 : fichier MyController.as, ligne 60
>>> (fdb) c
>>> Point d'arrêt 1, radioClickHandler() sur MyController.as:60
>>> 60 var field:String = MyInitialView(app.initialView).requestedField;
>>> (fdb) info scopechain
>>> 0 = [Object 53680161, class='controllers::MyController']
>>> 1 = [Object 85177697, class='controllers::MyController$']
>>> 2 = [Object 85069881, class='Object$']
>>> 3 = [Object 85177665, class='global']
>>> (fdb) print #53680161
>>> Impossible d'évaluer l'expression.
>>> org.apache.flex.compiler.exceptions.BURMAbortException
>>> (fdb) at org.apache.flex.compiler.exceptions.BURMAbortException.(BURMAbortException.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(Unknown 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)
>>>
>>> Thanks,
>>> Frédéric THOMAS
>>>
>>>> From: aharui@adobe.com
>>>> To: dev@flex.apache.org
>>>> Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
>>>> Date: Tue, 9 Jun 2015 12:43:07 +0000
>>>>
>>>> On 6/9/15, 1:50 AM, "Frédéric THOMAS" wrote:
>>>>
>>>>>Is there any special things to do at compilation time ?
>>>>
>>>> Try deleting the folder called “generated” in the debugger project before
>>>> compiling. It could be that the build script doesn’t handle that
>>>> correctly. Also, I assume you re-started IJ after changing jars?
>>>>
>>>> I’m still surprised it works from the command line for you. I left some
>>>> System.out.println calls in the fixed code that should show up in the
>>>> console if you are running the right jars.
>>>>
>>>> -Alex
>>>>
>>>
>>
>
 		 	   		  

RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

Posted by Frédéric THOMAS <we...@hotmail.com>.
> Out of that, the exception is thrown because after the call to 
label(), the reduce()->reduceAntecedent()->getRule() fails to find
 a rule to apply, actually, it can't find the cost for rule as it seems 
to be no cost function for the goalState 1, at least in the class 
JBurgAnnotation_FunctionCallID_2_n.

Actually I was wrong, there is one:

                    currentCost = getCostForRule_7be4d80b(goalState);
                    if ( ( bestCost> currentCost )  )
                    {
                        bestCost = currentCost;
                        rule = 111;
                    } 

but it can not get the rule:

    /* expression = FunctionCallID(IdentifierID(void), ContainerID(expression*)) */
    
    private Object action_111( IASNode __p) throws java.lang.Exception
    {
        java.util.Vector<Object> args = (java.util.Vector<Object>)__reducedValues.pop();
    IASNode specialName = SemanticUtils.getNthChild(__p, 0);
        return reducer.reduce_functionCallSpecial_to_expression(__p,specialName,args);
    }

Because if ( ( bestCost> currentCost )  ) is false, both equal 2147483647

Frédéric THOMAS


----------------------------------------
> From: webdoublefx@hotmail.com
> To: dev@flex.apache.org
> Subject: RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Wed, 10 Jun 2015 14:37:00 +0100
>
> Hi Alex,
>
> I've been reading the instructions before but was a bit confused the same :-)
>
> Well, the annotated tree seems to be well constructed by the label():
>
> FunctionCallNode(FunctionCallID) "$obj" 0:1 loc: 1-15 abs: 1-15 flash.tools.debugger
>   IdentifierNode(IdentifierID) "$obj" 0:1 loc: 1-5 abs: 1-5 flash.tools.debugger
>   ContainerNode(ContainerID) SYNTHESIZED 0:5 loc: 6-15 abs: 6-15 flash.tools.debugger
>     NumericLiteralNode(LiteralIntegerID) Number 88737825 0:6 loc: 6-14 abs: 6-14 flash.tools.debugger
>
> I've got 1 subtree for the identifier and 1 for the container, none for the NumericLiteralNode though, is that expected ?
> Also, for sure I don't get all of this but to me what it describes is a function, so, I wonder, shouldn't it have a return value node ?
>
> I didn't get either at what moment and from what, after the reduction, the expected result of $obj(LiteralIntegerID) is supposed to come from ?
>
> Out of that, the exception is thrown because after the call to label(), the reduce()->reduceAntecedent()->getRule() fails to find a rule to apply, actually, it can't find the cost for rule as it seems to be no cost function for the goalState 1, at least in the class JBurgAnnotation_FunctionCallID_2_n.
>
> Does it make sense ?
>
> Frédéric THOMAS
>
>
> ----------------------------------------
>> From: aharui@adobe.com
>> To: webdoublefx@hotmail.com; dev@flex.apache.org
>> Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
>> Date: Tue, 9 Jun 2015 16:39:11 +0000
>>
>> In my changes I added a long comment about how to debug burm issues. Can you try to follow the instructions and tell me what the object trees look like?
>>
>>
>> Sent from my LG G3, an AT&T 4G LTE smartphone
>>
>>
>> ------ Original message------
>>
>> From: Frédéric THOMAS
>>
>> Date: Tue, Jun 9, 2015 6:53 AM
>>
>> To: dev@flex.apache.org;
>>
>> Subject:RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
>>
>>
>>> Try deleting the folder called “generated” in the debugger project before
>>> compiling. It could be that the build script doesn’t handle that
>>> correctly. Also, I assume you re-started IJ after changing jars?
>>
>> Yes, was done.
>> Usually I set hookallreducercalls = false because IJ reads the console.
>>
>> Here is the complete session when I set it to true, does it mean more for you ?
>>
>> 1433854821775 Apache fdb (Flash Player Debugger) [build ]
>> Copyright 2015 The Apache Software Foundation.
>> 1433854821775 Processed by com.intellij.lang.javascript.flex.debug.FlexDebugProcess$ReadGreetingCommand
>> 1433854821776 Sent:run
>> 1433854821785 Waiting for Player to connect
>> 1433854821785 Processed by com.intellij.lang.javascript.flex.debug.FlexDebugProcess$LaunchBrowserCommand
>> 1433854822070 Player connected; session starting.
>> Set breakpoints and then type 'continue' to resume the session.
>> 1433854822071 Processed by com.intellij.lang.javascript.flex.debug.FlexDebugProcess$LaunchBrowserCommand
>> 1433854822071 Sent:break controllers.MyController.as:60
>> 1433854822089 Breakpoint 1: file MyController.as, line 60
>> 1433854822090 Processed by com.intellij.lang.javascript.flex.debug.FlexBreakpointsHandler$InsertBreakpointCommand
>> 1433854822091 Sent:continue
>> 1433854822393 [SWF] U:\sources\flexJsProjects\DataBindingTest\out\production\DataBindingTest\DataBindingTest.swf - 160,8
>> 91 bytes after decompression
>> 1433854825017 Breakpoint 1, radioClickHandler() at MyController.as:60
>> 60 var field:String = MyInitialView(app.initialView).requestedField;
>> 1433854825022 Sent:bt
>> 1433854825046 #0 this = [Object 57219105, class='controllers::MyController'].MyController/radioClickHandler(event=[Obj
>> ect 105228257, class='org.apache.flex.events::CustomEvent']) at MyController.as#3:60
>> #1 EventDispatcher/dispatchEventFunction() at :0
>> #2 this = [Object 57200865, class='MyInitialView'].EventDispatcher/dispatchEvent(_arg1=[Object 105228257, class='org.a
>> pache.flex.events::CustomEvent']) at :0
>> #3 this = [Object 57200865, class='MyInitialView'].MyInitialView/radioChanged(e=[Object 105228737, class='org.apache.f
>> lex.events::Event']) at MyInitialView.mxml#19:43
>> #4 this = [Object 57200865, class='MyInitialView'].MyInitialView/>4(event=[Object 105228737, class='org.apache.flex.ev
>> ents::Event']) at MyInitialView.mxml#19:127
>> #5 EventDispatcher/dispatchEventFunction() at :0
>> #6 this = [Object 105222401, class='org.apache.flex.html::RadioButton'].EventDispatcher/dispatchEvent(_arg1=[Object 10
>> 5228737, class='org.apache.flex.events::Event']) at :0
>> #7 this = [Object 105222401, class='org.apache.flex.html::RadioButton'].RadioButton/internalMouseHandler(event=[Object
>> 105201921, class='org.apache.flex.events::MouseEvent']) at RadioButton.as#37:204
>> #8 EventDispatcher/dispatchEventFunction() at :0
>> #9 this = [Object 105222401, class='org.apache.flex.html::RadioButton'].EventDispatcher/dispatchEvent(_arg1=[Object 10
>> 5201921, class='org.apache.flex.events::MouseEvent']) at :0
>> #10 this = [Object 85278609, class='org.apache.flex.events.utils::MouseEventConverter$'].MouseEventConverter$/mouseEven
>> tConverter(event=[Object 57291209, class='flash.events::MouseEvent']) at MouseEventConverter.as#12:84
>> 1433854825048 Processed by com.intellij.lang.javascript.flex.debug.DumpSourceLocationCommand
>> 1433854825050 Sent:bt
>> 1433854825074 #0 this = [Object 57219105, class='controllers::MyController'].MyController/radioClickHandler(event=[Obj
>> ect 105228257, class='org.apache.flex.events::CustomEvent']) at MyController.as#3:60
>> #1 EventDispatcher/dispatchEventFunction() at :0
>> #2 this = [Object 57200865, class='MyInitialView'].EventDispatcher/dispatchEvent(_arg1=[Object 105228257, class='org.a
>> pache.flex.events::CustomEvent']) at :0
>> #3 this = [Object 57200865, class='MyInitialView'].MyInitialView/radioChanged(e=[Object 105228737, class='org.apache.f
>> lex.events::Event']) at MyInitialView.mxml#19:43
>> #4 this = [Object 57200865, class='MyInitialView'].MyInitialView/>4(event=[Object 105228737, class='org.apache.flex.ev
>> ents::Event']) at MyInitialView.mxml#19:127
>> #5 EventDispatcher/dispatchEventFunction() at :0
>> #6 this = [Object 105222401, class='org.apache.flex.html::RadioButton'].EventDispatcher/dispatchEvent(_arg1=[Object 10
>> 5228737, class='org.apache.flex.events::Event']) at :0
>> #7 this = [Object 105222401, class='org.apache.flex.html::RadioButton'].RadioButton/internalMouseHandler(event=[Object
>> 105201921, class='org.apache.flex.events::MouseEvent']) at RadioButton.as#37:204
>> #8 EventDispatcher/dispatchEventFunction() at :0
>> #9 this = [Object 105222401, class='org.apache.flex.html::RadioButton'].EventDispatcher/dispatchEvent(_arg1=[Object 10
>> 5201921, class='org.apache.flex.events::MouseEvent']) at :0
>> #10 this = [Object 85278609, class='org.apache.flex.events.utils::MouseEventConverter$'].MouseEventConverter$/mouseEven
>> tConverter(event=[Object 57291209, class='flash.events::MouseEvent']) at MouseEventConverter.as#12:84
>> 1433854825076 Processed by com.intellij.lang.javascript.flex.debug.FlexSuspendContext$FlexExecutionStack$1
>> 1433854825077 Sent:show files
>> 1433854825132 1 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\Application.as, Appl
>> ication.as (Main Thread)
>> 2 U:\sources\flexJsProjects\DataBindingTest\src\DataBindingTest.mxml, DataBindingTest.mxml (Main Thread)
>> 3 U:\sources\flexJsProjects\DataBindingTest\src\controllers\MyController.as, MyController.as (Main Thread)
>> 4 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Collections\as\src\org\apache\flex\collections\parsers\JSONInputPar
>> ser.as, JSONInputParser.as (Main Thread)
>> 5 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\events\EventDispatcher.as, EventDispatc
>> her.as (Main Thread)
>> 6 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Collections\as\src\org\apache\flex\collections\LazyCollection.as, L
>> azyCollection.as (Main Thread)
>> 7 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\SimpleCSSValuesImpl.as, SimpleCSSV
>> aluesImpl.as (Main Thread)
>> 8 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\ValuesManager.as, ValuesManager.as
>> (Main Thread)
>> 9 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\UIBase.as, UIBase.as (Main Thread)
>>
>> 10 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\ContainerBase.as, ContainerBase.a
>> s (Main Thread)
>> 11 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\ViewBase.as, ViewBase.as (Main Th
>> read)
>> 12 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\events\utils\MouseEventConverter.as, M
>> ouseEventConverter.as (Main Thread)
>> 13 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\events\Event.as, Event.as (Main Thread
>> )
>> 14 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\events\ValueChangeEvent.as, ValueChang
>> eEvent.as (Main Thread)
>> 15 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\utils\MXMLDataInterpreter.as, MXMLData
>> Interpreter.as (Main Thread)
>> 16 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\utils\ViewSourceContextMenuOption.as,
>> ViewSourceContextMenuOption.as (Main Thread)
>> 17 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Network\as\src\org\apache\flex\net\HTTPService.as, HTTPService.as
>> (Main Thread)
>> 18 U:\sources\flexJsProjects\DataBindingTest\DataBindingTestLib\src\models\MyModel.as, MyModel.as (Main Thread)
>> 19 U:\sources\flexJsProjects\DataBindingTest\src\MyInitialView.mxml, MyInitialView.mxml (Main Thread)
>> 20 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Collections\as\src\org\apache\flex\collections\converters\JSONItem
>> Converter.as, JSONItemConverter.as (Main Thread)
>> 21 U:\sources\flexJsProjects\DataBindingTest\src\StockDataJSONItemConverter.as, StockDataJSONItemConverter.as (Main Thre
>> ad)
>> 22 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Binding\as\src\org\apache\flex\binding\ViewBaseDataBinding.as, Vie
>> wBaseDataBinding.as (Main Thread)
>> 23 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\StageProxy.as, StageProxy.as (Mai
>> n Thread)
>> 24 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\events\CustomEvent.as, CustomEvent.as
>> (Main Thread)
>> 25 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\events\MouseEvent.as, MouseEvent.as (M
>> ain Thread)
>> 26 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\states\AddItems.as, AddItems.as (Main
>> Thread)
>> 27 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\states\SetProperty.as, SetProperty.as
>> (Main Thread)
>> 28 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\states\State.as, State.as (Main Thread
>> )
>> 29 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\layouts\HorizontalLayout.as
>> , HorizontalLayout.as (Main Thread)
>> 30 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\layouts\VerticalLayout.as,
>> VerticalLayout.as (Main Thread)
>> 31 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\UIButtonBase.as, UIButtonBase.as
>> (Main Thread)
>> 32 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\CheckBox.as, CheckBox.as (Main Th
>> read)
>> 33 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\Container.as, Container.as (Main
>> Thread)
>> 34 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\Button.as, Button.as (Main Thread
>> )
>> 35 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\DropDownList.as, DropDownList.as
>> (Main Thread)
>> 36 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\Label.as, Label.as (Main Thread)
>> 37 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\RadioButton.as, RadioButton.as (M
>> ain Thread)
>> 38 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\TextArea.as, TextArea.as (Main Th
>> read)
>> 39 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\TextButton.as, TextButton.as (Mai
>> n Thread)
>> 40 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\TextInput.as, TextInput.as (Main
>> Thread)
>> 41 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Network\as\src\org\apache\flex\net\HTTPHeader.as, HTTPHeader.as (M
>> ain Thread)
>> 42 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Binding\as\src\org\apache\flex\binding\ConstantBinding.as, Constan
>> tBinding.as (Main Thread)
>> 43 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Binding\as\src\org\apache\flex\binding\GenericBinding.as, GenericB
>> inding.as (Main Thread)
>> 44 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Binding\as\src\org\apache\flex\binding\WatcherBase.as, WatcherBase
>> .as (Main Thread)
>> 45 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Binding\as\src\org\apache\flex\binding\PropertyWatcher.as, Propert
>> yWatcher.as (Main Thread)
>> 46 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Binding\as\src\org\apache\flex\binding\SimpleBinding.as, SimpleBin
>> ding.as (Main Thread)
>> 47 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\geom\Point.as, Point.as (Main Thread)
>> 48 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\states\ItemAndDescriptor.as, ItemAndDe
>> scriptor.as (Main Thread)
>> 49 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\utils\PointUtils.as, PointUtils.as (Ma
>> in Thread)
>> 50 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\BeadViewBase.as, BeadViewBase.as
>> (Main Thread)
>> 51 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\CSSTextField.as, CSSTextField.as
>> (Main Thread)
>> 52 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\ClassFactory.as, ClassFactory.as
>> (Main Thread)
>> 53 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\Strand.as, Strand.as (Main Thread
>> )
>> 54 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\ItemRendererClassFactory.as, Item
>> RendererClassFactory.as (Main Thread)
>> 55 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\SimpleStatesImpl.as, SimpleStates
>> Impl.as (Main Thread)
>> 56 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\events\ValueEvent.as, ValueEvent.as (M
>> ain Thread)
>> 57 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\states\SetEventHandler.as, SetEventHan
>> dler.as (Main Thread)
>> 58 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\utils\EffectTimer.as, EffectTimer.as (
>> Main Thread)
>> 59 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\utils\SolidBorderUtil.as, SolidBorderU
>> til.as (Main Thread)
>> 60 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\controllers\ButtonAutoRepea
>> tController.as, ButtonAutoRepeatController.as (Main Thread)
>> 61 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\controllers\DropDownListCon
>> troller.as, DropDownListController.as (Main Thread)
>> 62 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\controllers\EditableTextKey
>> boardController.as, EditableTextKeyboardController.as (Main Thread)
>> 63 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\controllers\ItemRendererMou
>> seController.as, ItemRendererMouseController.as (Main Thread)
>> 64 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\controllers\ListSingleSelec
>> tionMouseController.as, ListSingleSelectionMouseController.as (Main Thread)
>> 65 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\controllers\ScrollBarMouseC
>> ontrollerBase.as, ScrollBarMouseControllerBase.as (Main Thread)
>> 66 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\controllers\VScrollBarMouse
>> Controller.as, VScrollBarMouseController.as (Main Thread)
>> 67 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\layouts\VScrollBarLayout.as
>> , VScrollBarLayout.as (Main Thread)
>> 68 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\layouts\VerticalScrollingLa
>> yout.as, VerticalScrollingLayout.as (Main Thread)
>> 69 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\models\ArraySelectionModel.
>> as, ArraySelectionModel.as (Main Thread)
>> 70 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\models\ListPresentationMode
>> l.as, ListPresentationModel.as (Main Thread)
>> 71 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\models\RangeModel.as, Range
>> Model.as (Main Thread)
>> 72 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\models\ScrollBarModel.as, S
>> crollBarModel.as (Main Thread)
>> 73 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\models\SingleLineBorderMode
>> l.as, SingleLineBorderModel.as (Main Thread)
>> 74 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\models\TextModel.as, TextMo
>> del.as (Main Thread)
>> 75 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\models\ToggleButtonModel.as
>> , ToggleButtonModel.as (Main Thread)
>> 76 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\models\ValueToggleButtonMod
>> el.as, ValueToggleButtonModel.as (Main Thread)
>> 77 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\CSSButtonView.as, CSSButton
>> View.as (Main Thread)
>> 78 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\CSSTextButtonView.as, CSSTe
>> xtButtonView.as (Main Thread)
>> 79 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\CheckBoxView.as, CheckBoxVi
>> ew.as (Main Thread)
>> 80 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\ContainerView.as, Container
>> View.as (Main Thread)
>> 81 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\DataItemRendererFactoryForA
>> rrayData.as, DataItemRendererFactoryForArrayData.as (Main Thread)
>> 82 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\DownArrowButtonView.as, Dow
>> nArrowButtonView.as (Main Thread)
>> 83 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\DropDownListView.as, DropDo
>> wnListView.as (Main Thread)
>> 84 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\ListView.as, ListView.as (M
>> ain Thread)
>> 85 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\RadioButtonView.as, RadioBu
>> ttonView.as (Main Thread)
>> 86 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\ScrollBarView.as, ScrollBar
>> View.as (Main Thread)
>> 87 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\SingleLineBorderBead.as, Si
>> ngleLineBorderBead.as (Main Thread)
>> 88 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\SolidBackgroundBead.as, Sol
>> idBackgroundBead.as (Main Thread)
>> 89 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\TextFieldViewBase.as, TextF
>> ieldViewBase.as (Main Thread)
>> 90 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\TextAreaView.as, TextAreaVi
>> ew.as (Main Thread)
>> 91 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\TextButtonMeasurementBead.a
>> s, TextButtonMeasurementBead.as (Main Thread)
>> 92 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\TextButtonView.as, TextButt
>> onView.as (Main Thread)
>> 93 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\TextFieldLabelMeasurementBe
>> ad.as, TextFieldLabelMeasurementBead.as (Main Thread)
>> 94 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\TextFieldView.as, TextField
>> View.as (Main Thread)
>> 95 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\TextInputView.as, TextInput
>> View.as (Main Thread)
>> 96 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\TextInputWithBorderView.as,
>> TextInputWithBorderView.as (Main Thread)
>> 97 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\TextItemRendererFactoryForA
>> rrayData.as, TextItemRendererFactoryForArrayData.as (Main Thread)
>> 98 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\UpArrowButtonView.as, UpArr
>> owButtonView.as (Main Thread)
>> 99 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\VScrollBarThumbView.as, VSc
>> rollBarThumbView.as (Main Thread)
>> 100 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\VScrollBarTrackView.as, VS
>> crollBarTrackView.as (Main Thread)
>> 101 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\supportClasses\Border.as, Border
>> .as (Main Thread)
>> 102 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\supportClasses\ContainerContentA
>> rea.as, ContainerContentArea.as (Main Thread)
>> 103 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\supportClasses\DataGroup.as, Dat
>> aGroup.as (Main Thread)
>> 104 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\supportClasses\UIItemRendererBas
>> e.as, UIItemRendererBase.as (Main Thread)
>> 105 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\supportClasses\DataItemRenderer.
>> as, DataItemRenderer.as (Main Thread)
>> 106 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\List.as, List.as (Main Thread)
>> 107 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\SimpleList.as, SimpleList.as (Ma
>> in Thread)
>> 108 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\supportClasses\DropDownListList.
>> as, DropDownListList.as (Main Thread)
>> 109 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\supportClasses\ScrollBar.as, Scr
>> ollBar.as (Main Thread)
>> 110 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\supportClasses\StringItemRendere
>> r.as, StringItemRenderer.as (Main Thread)
>> 1433854825192 Processed by com.intellij.lang.javascript.flex.debug.KnownFilesInfo$1
>> 1433854825258 Sent:frame
>> print this
>> 1433854825259 #0 MyController/radioClickHandler(event=[Object 105228257, class='org.apache.flex.events::CustomEvent'])
>> at MyController.as#3:60
>> 1433854825260 Processed by com.intellij.lang.javascript.flex.debug.FlexStackFrame$2
>> 1433854825612 reduce_simpleName
>> transform_name_to_expression
>> isXMLType
>> $1 = [Object 57219105, class='controllers::MyController']
>> 1433854825613 Processed by com.intellij.lang.javascript.flex.debug.FlexStackFrame$2
>> 1433854825613 Unexpected token: [reduce_simpleName], full string: [reduce_simpleName
>> transform_name_to_expression
>> isXMLType
>> $1 = [Object 57219105, class='controllers::MyController']]
>> ], full string: [reduce_simpleName
>> transform_name_to_expression
>> isXMLType
>> $1 = [Object 57219105, class='controllers::MyController']]
>> 1433854825614 Unexpected token: [
>> ], full string: [reduce_simpleName
>> transform_name_to_expression
>> isXMLType
>> $1 = [Object 57219105, class='controllers::MyController']]
>> 1433854825614 Unexpected token: [transform_name_to_expression], full string: [reduce_simpleName
>> transform_name_to_expression
>> isXMLType
>> $1 = [Object 57219105, class='controllers::MyController']]
>> ], full string: [reduce_simpleName
>> transform_name_to_expression
>> isXMLType
>> $1 = [Object 57219105, class='controllers::MyController']]
>> 1433854825614 Unexpected token: [
>> ], full string: [reduce_simpleName
>> transform_name_to_expression
>> isXMLType
>> $1 = [Object 57219105, class='controllers::MyController']]
>> 1433854825615 Unexpected token: [isXMLType], full string: [reduce_simpleName
>> transform_name_to_expression
>> isXMLType
>> $1 = [Object 57219105, class='controllers::MyController']]
>> ], full string: [reduce_simpleName
>> transform_name_to_expression
>> isXMLType
>> $1 = [Object 57219105, class='controllers::MyController']]
>> 1433854825616 Unexpected token: [
>> ], full string: [reduce_simpleName
>> transform_name_to_expression
>> isXMLType
>> $1 = [Object 57219105, class='controllers::MyController']]
>> 1433854825641 Sent:info arguments
>> 1433854825660 event = [Object 105228257, class='org.apache.flex.events::CustomEvent']
>> 1433854825660 Processed by com.intellij.lang.javascript.flex.debug.FlexStackFrame$2
>> 1433854825661 Sent:info locals
>> 1433854825710 field = undefined
>> 1433854825710 Processed by com.intellij.lang.javascript.flex.debug.FlexStackFrame$2
>> 1433854825711 Sent:info scopechain
>> 1433854825760 0 = [Object 57219105, class='controllers::MyController']
>> 1 = [Object 85242817, class='controllers::MyController$']
>> 2 = [Object 85135417, class='Object$']
>> 3 = [Object 85242785, class='global']
>> 1433854825760 Processed by com.intellij.lang.javascript.flex.debug.FlexStackFrame$4
>> 1433854825761
>> 1433854825762 Processed by com.intellij.lang.javascript.flex.debug.FlexStackFrame$2
>> 1433854825762 Sent:frame
>> print #57219105.
>> 1433854825810 #0 MyController/radioClickHandler(event=[Object 105228257, class='org.apache.flex.events::CustomEvent'])
>> at MyController.as#3:60
>> 1433854825811 Processed by com.intellij.lang.javascript.flex.debug.FlexValue$9
>> 1433854825866 Expression could not be evaluated.
>> 1433854825866 Processed by com.intellij.lang.javascript.flex.debug.FlexValue$9
>> 1433855015652 Sent:continue
>> 1433855021365 [UnloadSWF] U:\sources\flexJsProjects\DataBindingTest\out\production\DataBindingTest\DataBindingTest.swf
>> Player session terminated
>>
>> 1433855021370 Sent:quit
>>
>>> I’m still surprised it works from the command line for you. I left some
>>> System.out.println calls in the fixed code that should show up in the
>>> console if you are running the right jars.
>>
>> Ok, I just discovered that when I set a path to a JarApplication in IJ, it reports it to the others and actually I was running the Flex SDK fdb.jar instead of the falcon one, so, at the end I've got the same exception in both.
>>
>> When I run fdb.jar from the command line launched by IJ:
>>
>> "C:\Program Files\Java\jdk1.7.0\bin\java" -Dsun.io.useCanonCaches=false -Xms32m -Xmx512m -Dflexlib=D:/SDKs/FlexJS/0.0.3_FP16.0_AIR16.0_en_US/frameworks -Dfile.encoding=windows-1252 -jar U:\sources\asf\flex\falcon\compiler\generated\dist\sdk\lib\fdb.jar U:\sources\flexJsProjects\DataBindingTest\out\production\DataBindingTest\DataBindingTest.swf
>> Apache fdb (Flash Player Debugger) [build ]
>> Copyright 2015 The Apache Software Foundation.
>> Tentative de lancement et de connexion au lecteur avec l'URL
>> U:\sources\flexJsProjects\DataBindingTest\out\production\DataBindingTest\DataBindingTest.swf
>> Lecteur connecté ; lancement de la session.
>> Définissez des points d'arrêt, puis tapez 'continue' pour reprendre la session.
>> (fdb) break MyController.as:60
>> [SWF] U:\sources\flexJsProjects\DataBindingTest\out\production\DataBindingTest\DataBindingTest.swf - 160 891 octets après la décompression
>> Point d'arrêt 1 : fichier MyController.as, ligne 60
>> (fdb) c
>> Point d'arrêt 1, radioClickHandler() sur MyController.as:60
>> 60 var field:String = MyInitialView(app.initialView).requestedField;
>> (fdb) info scopechain
>> 0 = [Object 53680161, class='controllers::MyController']
>> 1 = [Object 85177697, class='controllers::MyController$']
>> 2 = [Object 85069881, class='Object$']
>> 3 = [Object 85177665, class='global']
>> (fdb) print #53680161
>> Impossible d'évaluer l'expression.
>> org.apache.flex.compiler.exceptions.BURMAbortException
>> (fdb) at org.apache.flex.compiler.exceptions.BURMAbortException.(BURMAbortException.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(Unknown 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)
>>
>> Thanks,
>> Frédéric THOMAS
>>
>>> From: aharui@adobe.com
>>> To: dev@flex.apache.org
>>> Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
>>> Date: Tue, 9 Jun 2015 12:43:07 +0000
>>>
>>> On 6/9/15, 1:50 AM, "Frédéric THOMAS" wrote:
>>>
>>>>Is there any special things to do at compilation time ?
>>>
>>> Try deleting the folder called “generated” in the debugger project before
>>> compiling. It could be that the build script doesn’t handle that
>>> correctly. Also, I assume you re-started IJ after changing jars?
>>>
>>> I’m still surprised it works from the command line for you. I left some
>>> System.out.println calls in the fixed code that should show up in the
>>> console if you are running the right jars.
>>>
>>> -Alex
>>>
>>
>
 		 	   		  

RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

Posted by Frédéric THOMAS <we...@hotmail.com>.
I was rebasing my branch on develop and now the compilation fails in ReferenceCompiler

        options.setParseJsDocDocumentation(true);
        options.setExternExports(false);

        options.addCustomPass(CustomPassExecutionTime.BEFORE_OPTIMIZATIONS,
                new CollectTypesPass(model, jscompiler));
        options.addCustomPass(CustomPassExecutionTime.BEFORE_OPTIMIZATIONS,

I've got only that in JXCompilerOptions:

public class JXCompilerOptions extends CompilerOptions
{

    private static final long serialVersionUID = 2021530437904249081L;

    public JXCompilerOptions()
    {
        super();
        
        declaredGlobalExternsOnWindow = false;
    }
    
}

any clue ?

Frédéric THOMAS


----------------------------------------
> From: webdoublefx@hotmail.com
> To: dev@flex.apache.org
> Subject: RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Sat, 13 Jun 2015 15:44:25 +0100
>
> Hi Alex,
>
> I understand what you did but not sure I could reproduce, I wasn't that far in my experiment but I still miss the complete round trip logic of jBurg, I guess I would need to spend more time on it to get it better.
>
> Whatever, that's awesome, we can now compile and debug without any dependencies on the Flex SDK in IntelliJ :-) big up !!
>
> I will commit soon what I've done too.
>
> Thanks,
> Frédéric THOMAS
>
>
> ----------------------------------------
>> From: aharui@adobe.com
>> To: dev@flex.apache.org
>> Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
>> Date: Fri, 12 Jun 2015 22:19:47 +0000
>>
>> OK, I think I got it. Try my latest commit.
>>
>> -Alex
>>
>> On 6/12/15, 12:41 PM, "Alex Harui" <ah...@adobe.com> wrote:
>>
>>>OK, I will work on it. Thanks for trying, it is rather strange stuff.
>>>
>>>On 6/12/15, 9:16 AM, "Frédéric THOMAS" <we...@hotmail.com> wrote:
>>>
>>>>Hi Alex,
>>>>
>>>>Well, I've been trying to get why I always get a cost "not feasible" for
>>>>your function but I'm failing to understand the logic of jBurg, maybe
>>>>seing your solution will unligthen me but at the moment I'm totally in
>>>>the dark.
>>
>
 		 	   		  

RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

Posted by Frédéric THOMAS <we...@hotmail.com>.
Hi Alex,

I understand what you did but not sure I could reproduce, I wasn't that far in my experiment but I still miss the complete round trip logic of jBurg, I guess I would need to spend more time on it to get it better.

Whatever, that's awesome, we can now compile and debug without any dependencies on the Flex SDK in IntelliJ :-) big up !!

I will commit soon what I've done too.

Thanks,
Frédéric THOMAS


----------------------------------------
> From: aharui@adobe.com
> To: dev@flex.apache.org
> Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Fri, 12 Jun 2015 22:19:47 +0000
>
> OK, I think I got it. Try my latest commit.
>
> -Alex
>
> On 6/12/15, 12:41 PM, "Alex Harui" <ah...@adobe.com> wrote:
>
>>OK, I will work on it. Thanks for trying, it is rather strange stuff.
>>
>>On 6/12/15, 9:16 AM, "Frédéric THOMAS" <we...@hotmail.com> wrote:
>>
>>>Hi Alex,
>>>
>>>Well, I've been trying to get why I always get a cost "not feasible" for
>>>your function but I'm failing to understand the logic of jBurg, maybe
>>>seing your solution will unligthen me but at the moment I'm totally in
>>>the dark.
>
 		 	   		  

Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

Posted by Alex Harui <ah...@adobe.com>.
OK, I think I got it.  Try my latest commit.

-Alex

On 6/12/15, 12:41 PM, "Alex Harui" <ah...@adobe.com> wrote:

>OK, I will work on it.  Thanks for trying, it is rather strange stuff.
>
>On 6/12/15, 9:16 AM, "Frédéric THOMAS" <we...@hotmail.com> wrote:
>
>>Hi Alex,
>>
>>Well, I've been trying to get why I always get a cost "not feasible" for
>>your function but I'm failing to understand the logic of jBurg, maybe
>>seing your solution will unligthen me but at the moment I'm totally in
>>the dark.


Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

Posted by Alex Harui <ah...@adobe.com>.
OK, I will work on it.  Thanks for trying, it is rather strange stuff.

On 6/12/15, 9:16 AM, "Frédéric THOMAS" <we...@hotmail.com> wrote:

>Hi Alex,
>
>Well, I've been trying to get why I always get a cost "not feasible" for
>your function but I'm failing to understand the logic of jBurg, maybe
>seing your solution will unligthen me but at the moment I'm totally in
>the dark.
>
>Frédéric THOMAS
>
>
>----------------------------------------
>> From: webdoublefx@hotmail.com
>> To: dev@flex.apache.org
>> Subject: RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
>> Date: Wed, 10 Jun 2015 16:30:27 +0100
>>
>>
>> Ok will try but with no guaranty :-)
>>
>> Thanks,
>> Frédéric THOMAS
>>
>>
>> ----------------------------------------
>>> From: aharui@adobe.com
>>> To: dev@flex.apache.org
>>> Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ
>>>Integration
>>> Date: Wed, 10 Jun 2015 15:25:13 +0000
>>>
>>>
>>>
>>> On 6/10/15, 6:37 AM, "Frédéric THOMAS" <we...@hotmail.com> wrote:
>>>
>>>>Hi Alex,
>>>>
>>>>I've been reading the instructions before but was a bit confused the
>>>>same
>>>>:-)
>>>>
>>>>Well, the annotated tree seems to be well constructed by the label():
>>>>
>>>>FunctionCallNode(FunctionCallID) "$obj" 0:1 loc: 1-15 abs: 1-15
>>>>flash.tools.debugger
>>>> IdentifierNode(IdentifierID) "$obj" 0:1 loc: 1-5 abs: 1-5
>>>>flash.tools.debugger
>>>> ContainerNode(ContainerID) SYNTHESIZED 0:5 loc: 6-15 abs: 6-15
>>>>flash.tools.debugger
>>>> NumericLiteralNode(LiteralIntegerID) Number 88737825 0:6 loc: 6-14
>>>>abs: 6-14 flash.tools.debugger
>>>>
>>>>I've got 1 subtree for the identifier and 1 for the container, none for
>>>>the NumericLiteralNode though, is that expected ?
>>>>Also, for sure I don't get all of this but to me what it describes is a
>>>>function, so, I wonder, shouldn't it have a return value node ?
>>>
>>> No, the return value is not in the expression, it is the result of
>>> evaluation the expression, so it is the output of the reducer. At
>>>least,
>>> that’s how I understand it.
>>>
>>>>
>>>>I didn't get either at what moment and from what, after the reduction,
>>>>the expected result of $obj(LiteralIntegerID) is supposed to come from
>>>>?
>>>>
>>>>Out of that, the exception is thrown because after the call to label(),
>>>>the reduce()->reduceAntecedent()->getRule() fails to find a rule to
>>>>apply, actually, it can't find the cost for rule as it seems to be no
>>>>cost function for the goalState 1, at least in the class
>>>>JBurgAnnotation_FunctionCallID_2_n.
>>>
>>> OK, at least you are getting a JBurgAnnotation_FunctionCallID_2_n. But
>>>I
>>> see now that the object reference # is few enough digits to be parsed
>>>as a
>>> LiteralInteger, where for me I end up with more digits so it gets
>>>parsed
>>> as a LiteralDouble, so I have to add a reduction for your kind of tree.
>>>
>>> Unless, of course, you want to try to fix it yourself.
>>>
>>> -Alex
>>>
>>
> 		 	   		  


RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

Posted by Frédéric THOMAS <we...@hotmail.com>.
Hi Alex,

Well, I've been trying to get why I always get a cost "not feasible" for your function but I'm failing to understand the logic of jBurg, maybe seing your solution will unligthen me but at the moment I'm totally in the dark.

Frédéric THOMAS


----------------------------------------
> From: webdoublefx@hotmail.com
> To: dev@flex.apache.org
> Subject: RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Wed, 10 Jun 2015 16:30:27 +0100
>
>
> Ok will try but with no guaranty :-)
>
> Thanks,
> Frédéric THOMAS
>
>
> ----------------------------------------
>> From: aharui@adobe.com
>> To: dev@flex.apache.org
>> Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
>> Date: Wed, 10 Jun 2015 15:25:13 +0000
>>
>>
>>
>> On 6/10/15, 6:37 AM, "Frédéric THOMAS" <we...@hotmail.com> wrote:
>>
>>>Hi Alex,
>>>
>>>I've been reading the instructions before but was a bit confused the same
>>>:-)
>>>
>>>Well, the annotated tree seems to be well constructed by the label():
>>>
>>>FunctionCallNode(FunctionCallID) "$obj" 0:1 loc: 1-15 abs: 1-15
>>>flash.tools.debugger
>>> IdentifierNode(IdentifierID) "$obj" 0:1 loc: 1-5 abs: 1-5
>>>flash.tools.debugger
>>> ContainerNode(ContainerID) SYNTHESIZED 0:5 loc: 6-15 abs: 6-15
>>>flash.tools.debugger
>>> NumericLiteralNode(LiteralIntegerID) Number 88737825 0:6 loc: 6-14
>>>abs: 6-14 flash.tools.debugger
>>>
>>>I've got 1 subtree for the identifier and 1 for the container, none for
>>>the NumericLiteralNode though, is that expected ?
>>>Also, for sure I don't get all of this but to me what it describes is a
>>>function, so, I wonder, shouldn't it have a return value node ?
>>
>> No, the return value is not in the expression, it is the result of
>> evaluation the expression, so it is the output of the reducer. At least,
>> that’s how I understand it.
>>
>>>
>>>I didn't get either at what moment and from what, after the reduction,
>>>the expected result of $obj(LiteralIntegerID) is supposed to come from ?
>>>
>>>Out of that, the exception is thrown because after the call to label(),
>>>the reduce()->reduceAntecedent()->getRule() fails to find a rule to
>>>apply, actually, it can't find the cost for rule as it seems to be no
>>>cost function for the goalState 1, at least in the class
>>>JBurgAnnotation_FunctionCallID_2_n.
>>
>> OK, at least you are getting a JBurgAnnotation_FunctionCallID_2_n. But I
>> see now that the object reference # is few enough digits to be parsed as a
>> LiteralInteger, where for me I end up with more digits so it gets parsed
>> as a LiteralDouble, so I have to add a reduction for your kind of tree.
>>
>> Unless, of course, you want to try to fix it yourself.
>>
>> -Alex
>>
>
 		 	   		  

RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

Posted by Frédéric THOMAS <we...@hotmail.com>.
Ok will try but with no guaranty :-)

Thanks,
Frédéric THOMAS


----------------------------------------
> From: aharui@adobe.com
> To: dev@flex.apache.org
> Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Wed, 10 Jun 2015 15:25:13 +0000
>
>
>
> On 6/10/15, 6:37 AM, "Frédéric THOMAS" <we...@hotmail.com> wrote:
>
>>Hi Alex,
>>
>>I've been reading the instructions before but was a bit confused the same
>>:-)
>>
>>Well, the annotated tree seems to be well constructed by the label():
>>
>>FunctionCallNode(FunctionCallID) "$obj" 0:1 loc: 1-15 abs: 1-15
>>flash.tools.debugger
>> IdentifierNode(IdentifierID) "$obj" 0:1 loc: 1-5 abs: 1-5
>>flash.tools.debugger
>> ContainerNode(ContainerID) SYNTHESIZED 0:5 loc: 6-15 abs: 6-15
>>flash.tools.debugger
>> NumericLiteralNode(LiteralIntegerID) Number 88737825 0:6 loc: 6-14
>>abs: 6-14 flash.tools.debugger
>>
>>I've got 1 subtree for the identifier and 1 for the container, none for
>>the NumericLiteralNode though, is that expected ?
>>Also, for sure I don't get all of this but to me what it describes is a
>>function, so, I wonder, shouldn't it have a return value node ?
>
> No, the return value is not in the expression, it is the result of
> evaluation the expression, so it is the output of the reducer. At least,
> that’s how I understand it.
>
>>
>>I didn't get either at what moment and from what, after the reduction,
>>the expected result of $obj(LiteralIntegerID) is supposed to come from ?
>>
>>Out of that, the exception is thrown because after the call to label(),
>>the reduce()->reduceAntecedent()->getRule() fails to find a rule to
>>apply, actually, it can't find the cost for rule as it seems to be no
>>cost function for the goalState 1, at least in the class
>>JBurgAnnotation_FunctionCallID_2_n.
>
> OK, at least you are getting a JBurgAnnotation_FunctionCallID_2_n. But I
> see now that the object reference # is few enough digits to be parsed as a
> LiteralInteger, where for me I end up with more digits so it gets parsed
> as a LiteralDouble, so I have to add a reduction for your kind of tree.
>
> Unless, of course, you want to try to fix it yourself.
>
> -Alex
>
 		 	   		  

Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

Posted by Alex Harui <ah...@adobe.com>.

On 6/10/15, 6:37 AM, "Frédéric THOMAS" <we...@hotmail.com> wrote:

>Hi Alex,
>
>I've been reading the instructions before but was a bit confused the same
>:-)
>
>Well, the annotated tree seems to be well constructed by the label():
>
>FunctionCallNode(FunctionCallID) "$obj" 0:1 loc: 1-15 abs: 1-15
>flash.tools.debugger
>  IdentifierNode(IdentifierID) "$obj" 0:1 loc: 1-5 abs: 1-5
>flash.tools.debugger
>  ContainerNode(ContainerID) SYNTHESIZED 0:5 loc: 6-15 abs: 6-15
>flash.tools.debugger
>    NumericLiteralNode(LiteralIntegerID) Number 88737825 0:6 loc: 6-14
>abs: 6-14 flash.tools.debugger
>
>I've got 1 subtree for the identifier and 1 for the container, none for
>the NumericLiteralNode though, is that expected ?
>Also, for sure I don't get all of this but to me what it describes is a
>function, so, I wonder, shouldn't it have a return value node ?

No, the return value is not in the expression, it is the result of
evaluation the expression, so it is the output of the reducer.  At least,
that’s how I understand it.

>
>I didn't get either at what moment and from what, after the reduction,
>the expected result of $obj(LiteralIntegerID) is supposed to come from ?
>
>Out of that, the exception is thrown because after the call to label(),
>the reduce()->reduceAntecedent()->getRule() fails to find a rule to
>apply, actually, it can't find the cost for rule as it seems to be no
>cost function for the goalState 1, at least in the class
>JBurgAnnotation_FunctionCallID_2_n.

OK, at least you are getting a JBurgAnnotation_FunctionCallID_2_n.  But I
see now that the object reference # is few enough digits to be parsed as a
LiteralInteger, where for me I end up with more digits so it gets parsed
as a LiteralDouble, so I have to add a reduction for your kind of tree.

Unless, of course, you want to try to fix it yourself.

-Alex		 	   		  


RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

Posted by Frédéric THOMAS <we...@hotmail.com>.
Hi Alex,

I've been reading the instructions before but was a bit confused the same :-)

Well, the annotated tree seems to be well constructed by the label():

FunctionCallNode(FunctionCallID) "$obj" 0:1 loc: 1-15 abs: 1-15 flash.tools.debugger
  IdentifierNode(IdentifierID) "$obj" 0:1 loc: 1-5 abs: 1-5 flash.tools.debugger
  ContainerNode(ContainerID) SYNTHESIZED 0:5 loc: 6-15 abs: 6-15 flash.tools.debugger
    NumericLiteralNode(LiteralIntegerID) Number 88737825 0:6 loc: 6-14 abs: 6-14 flash.tools.debugger

I've got 1 subtree for the identifier and 1 for the container, none for the NumericLiteralNode though, is that expected ?
Also, for sure I don't get all of this but to me what it describes is a function, so, I wonder, shouldn't it have a return value node ?

I didn't get either at what moment and from what, after the reduction, the expected result of $obj(LiteralIntegerID) is supposed to come from ?

Out of that, the exception is thrown because after the call to label(), the reduce()->reduceAntecedent()->getRule() fails to find a rule to apply, actually, it can't find the cost for rule as it seems to be no cost function for the goalState 1, at least in the class JBurgAnnotation_FunctionCallID_2_n.

Does it make sense ?

Frédéric THOMAS


----------------------------------------
> From: aharui@adobe.com
> To: webdoublefx@hotmail.com; dev@flex.apache.org
> Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Tue, 9 Jun 2015 16:39:11 +0000
>
> In my changes I added a long comment about how to debug burm issues. Can you try to follow the instructions and tell me what the object trees look like?
>
>
> Sent from my LG G3, an AT&T 4G LTE smartphone
>
>
> ------ Original message------
>
> From: Frédéric THOMAS
>
> Date: Tue, Jun 9, 2015 6:53 AM
>
> To: dev@flex.apache.org;
>
> Subject:RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
>
>
>> Try deleting the folder called “generated” in the debugger project before
>> compiling. It could be that the build script doesn’t handle that
>> correctly. Also, I assume you re-started IJ after changing jars?
>
> Yes, was done.
> Usually I set hookallreducercalls = false because IJ reads the console.
>
> Here is the complete session when I set it to true, does it mean more for you ?
>
> 1433854821775 Apache fdb (Flash Player Debugger) [build ]
> Copyright 2015 The Apache Software Foundation.
> 1433854821775 Processed by com.intellij.lang.javascript.flex.debug.FlexDebugProcess$ReadGreetingCommand
> 1433854821776 Sent:run
> 1433854821785 Waiting for Player to connect
> 1433854821785 Processed by com.intellij.lang.javascript.flex.debug.FlexDebugProcess$LaunchBrowserCommand
> 1433854822070 Player connected; session starting.
> Set breakpoints and then type 'continue' to resume the session.
> 1433854822071 Processed by com.intellij.lang.javascript.flex.debug.FlexDebugProcess$LaunchBrowserCommand
> 1433854822071 Sent:break controllers.MyController.as:60
> 1433854822089 Breakpoint 1: file MyController.as, line 60
> 1433854822090 Processed by com.intellij.lang.javascript.flex.debug.FlexBreakpointsHandler$InsertBreakpointCommand
> 1433854822091 Sent:continue
> 1433854822393 [SWF] U:\sources\flexJsProjects\DataBindingTest\out\production\DataBindingTest\DataBindingTest.swf - 160,8
> 91 bytes after decompression
> 1433854825017 Breakpoint 1, radioClickHandler() at MyController.as:60
> 60 var field:String = MyInitialView(app.initialView).requestedField;
> 1433854825022 Sent:bt
> 1433854825046 #0 this = [Object 57219105, class='controllers::MyController'].MyController/radioClickHandler(event=[Obj
> ect 105228257, class='org.apache.flex.events::CustomEvent']) at MyController.as#3:60
> #1 EventDispatcher/dispatchEventFunction() at :0
> #2 this = [Object 57200865, class='MyInitialView'].EventDispatcher/dispatchEvent(_arg1=[Object 105228257, class='org.a
> pache.flex.events::CustomEvent']) at :0
> #3 this = [Object 57200865, class='MyInitialView'].MyInitialView/radioChanged(e=[Object 105228737, class='org.apache.f
> lex.events::Event']) at MyInitialView.mxml#19:43
> #4 this = [Object 57200865, class='MyInitialView'].MyInitialView/>4(event=[Object 105228737, class='org.apache.flex.ev
> ents::Event']) at MyInitialView.mxml#19:127
> #5 EventDispatcher/dispatchEventFunction() at :0
> #6 this = [Object 105222401, class='org.apache.flex.html::RadioButton'].EventDispatcher/dispatchEvent(_arg1=[Object 10
> 5228737, class='org.apache.flex.events::Event']) at :0
> #7 this = [Object 105222401, class='org.apache.flex.html::RadioButton'].RadioButton/internalMouseHandler(event=[Object
> 105201921, class='org.apache.flex.events::MouseEvent']) at RadioButton.as#37:204
> #8 EventDispatcher/dispatchEventFunction() at :0
> #9 this = [Object 105222401, class='org.apache.flex.html::RadioButton'].EventDispatcher/dispatchEvent(_arg1=[Object 10
> 5201921, class='org.apache.flex.events::MouseEvent']) at :0
> #10 this = [Object 85278609, class='org.apache.flex.events.utils::MouseEventConverter$'].MouseEventConverter$/mouseEven
> tConverter(event=[Object 57291209, class='flash.events::MouseEvent']) at MouseEventConverter.as#12:84
> 1433854825048 Processed by com.intellij.lang.javascript.flex.debug.DumpSourceLocationCommand
> 1433854825050 Sent:bt
> 1433854825074 #0 this = [Object 57219105, class='controllers::MyController'].MyController/radioClickHandler(event=[Obj
> ect 105228257, class='org.apache.flex.events::CustomEvent']) at MyController.as#3:60
> #1 EventDispatcher/dispatchEventFunction() at :0
> #2 this = [Object 57200865, class='MyInitialView'].EventDispatcher/dispatchEvent(_arg1=[Object 105228257, class='org.a
> pache.flex.events::CustomEvent']) at :0
> #3 this = [Object 57200865, class='MyInitialView'].MyInitialView/radioChanged(e=[Object 105228737, class='org.apache.f
> lex.events::Event']) at MyInitialView.mxml#19:43
> #4 this = [Object 57200865, class='MyInitialView'].MyInitialView/>4(event=[Object 105228737, class='org.apache.flex.ev
> ents::Event']) at MyInitialView.mxml#19:127
> #5 EventDispatcher/dispatchEventFunction() at :0
> #6 this = [Object 105222401, class='org.apache.flex.html::RadioButton'].EventDispatcher/dispatchEvent(_arg1=[Object 10
> 5228737, class='org.apache.flex.events::Event']) at :0
> #7 this = [Object 105222401, class='org.apache.flex.html::RadioButton'].RadioButton/internalMouseHandler(event=[Object
> 105201921, class='org.apache.flex.events::MouseEvent']) at RadioButton.as#37:204
> #8 EventDispatcher/dispatchEventFunction() at :0
> #9 this = [Object 105222401, class='org.apache.flex.html::RadioButton'].EventDispatcher/dispatchEvent(_arg1=[Object 10
> 5201921, class='org.apache.flex.events::MouseEvent']) at :0
> #10 this = [Object 85278609, class='org.apache.flex.events.utils::MouseEventConverter$'].MouseEventConverter$/mouseEven
> tConverter(event=[Object 57291209, class='flash.events::MouseEvent']) at MouseEventConverter.as#12:84
> 1433854825076 Processed by com.intellij.lang.javascript.flex.debug.FlexSuspendContext$FlexExecutionStack$1
> 1433854825077 Sent:show files
> 1433854825132 1 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\Application.as, Appl
> ication.as (Main Thread)
> 2 U:\sources\flexJsProjects\DataBindingTest\src\DataBindingTest.mxml, DataBindingTest.mxml (Main Thread)
> 3 U:\sources\flexJsProjects\DataBindingTest\src\controllers\MyController.as, MyController.as (Main Thread)
> 4 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Collections\as\src\org\apache\flex\collections\parsers\JSONInputPar
> ser.as, JSONInputParser.as (Main Thread)
> 5 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\events\EventDispatcher.as, EventDispatc
> her.as (Main Thread)
> 6 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Collections\as\src\org\apache\flex\collections\LazyCollection.as, L
> azyCollection.as (Main Thread)
> 7 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\SimpleCSSValuesImpl.as, SimpleCSSV
> aluesImpl.as (Main Thread)
> 8 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\ValuesManager.as, ValuesManager.as
> (Main Thread)
> 9 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\UIBase.as, UIBase.as (Main Thread)
>
> 10 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\ContainerBase.as, ContainerBase.a
> s (Main Thread)
> 11 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\ViewBase.as, ViewBase.as (Main Th
> read)
> 12 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\events\utils\MouseEventConverter.as, M
> ouseEventConverter.as (Main Thread)
> 13 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\events\Event.as, Event.as (Main Thread
> )
> 14 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\events\ValueChangeEvent.as, ValueChang
> eEvent.as (Main Thread)
> 15 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\utils\MXMLDataInterpreter.as, MXMLData
> Interpreter.as (Main Thread)
> 16 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\utils\ViewSourceContextMenuOption.as,
> ViewSourceContextMenuOption.as (Main Thread)
> 17 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Network\as\src\org\apache\flex\net\HTTPService.as, HTTPService.as
> (Main Thread)
> 18 U:\sources\flexJsProjects\DataBindingTest\DataBindingTestLib\src\models\MyModel.as, MyModel.as (Main Thread)
> 19 U:\sources\flexJsProjects\DataBindingTest\src\MyInitialView.mxml, MyInitialView.mxml (Main Thread)
> 20 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Collections\as\src\org\apache\flex\collections\converters\JSONItem
> Converter.as, JSONItemConverter.as (Main Thread)
> 21 U:\sources\flexJsProjects\DataBindingTest\src\StockDataJSONItemConverter.as, StockDataJSONItemConverter.as (Main Thre
> ad)
> 22 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Binding\as\src\org\apache\flex\binding\ViewBaseDataBinding.as, Vie
> wBaseDataBinding.as (Main Thread)
> 23 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\StageProxy.as, StageProxy.as (Mai
> n Thread)
> 24 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\events\CustomEvent.as, CustomEvent.as
> (Main Thread)
> 25 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\events\MouseEvent.as, MouseEvent.as (M
> ain Thread)
> 26 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\states\AddItems.as, AddItems.as (Main
> Thread)
> 27 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\states\SetProperty.as, SetProperty.as
> (Main Thread)
> 28 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\states\State.as, State.as (Main Thread
> )
> 29 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\layouts\HorizontalLayout.as
> , HorizontalLayout.as (Main Thread)
> 30 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\layouts\VerticalLayout.as,
> VerticalLayout.as (Main Thread)
> 31 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\UIButtonBase.as, UIButtonBase.as
> (Main Thread)
> 32 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\CheckBox.as, CheckBox.as (Main Th
> read)
> 33 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\Container.as, Container.as (Main
> Thread)
> 34 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\Button.as, Button.as (Main Thread
> )
> 35 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\DropDownList.as, DropDownList.as
> (Main Thread)
> 36 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\Label.as, Label.as (Main Thread)
> 37 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\RadioButton.as, RadioButton.as (M
> ain Thread)
> 38 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\TextArea.as, TextArea.as (Main Th
> read)
> 39 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\TextButton.as, TextButton.as (Mai
> n Thread)
> 40 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\TextInput.as, TextInput.as (Main
> Thread)
> 41 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Network\as\src\org\apache\flex\net\HTTPHeader.as, HTTPHeader.as (M
> ain Thread)
> 42 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Binding\as\src\org\apache\flex\binding\ConstantBinding.as, Constan
> tBinding.as (Main Thread)
> 43 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Binding\as\src\org\apache\flex\binding\GenericBinding.as, GenericB
> inding.as (Main Thread)
> 44 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Binding\as\src\org\apache\flex\binding\WatcherBase.as, WatcherBase
> .as (Main Thread)
> 45 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Binding\as\src\org\apache\flex\binding\PropertyWatcher.as, Propert
> yWatcher.as (Main Thread)
> 46 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Binding\as\src\org\apache\flex\binding\SimpleBinding.as, SimpleBin
> ding.as (Main Thread)
> 47 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\geom\Point.as, Point.as (Main Thread)
> 48 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\states\ItemAndDescriptor.as, ItemAndDe
> scriptor.as (Main Thread)
> 49 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\utils\PointUtils.as, PointUtils.as (Ma
> in Thread)
> 50 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\BeadViewBase.as, BeadViewBase.as
> (Main Thread)
> 51 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\CSSTextField.as, CSSTextField.as
> (Main Thread)
> 52 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\ClassFactory.as, ClassFactory.as
> (Main Thread)
> 53 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\Strand.as, Strand.as (Main Thread
> )
> 54 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\ItemRendererClassFactory.as, Item
> RendererClassFactory.as (Main Thread)
> 55 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\SimpleStatesImpl.as, SimpleStates
> Impl.as (Main Thread)
> 56 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\events\ValueEvent.as, ValueEvent.as (M
> ain Thread)
> 57 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\states\SetEventHandler.as, SetEventHan
> dler.as (Main Thread)
> 58 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\utils\EffectTimer.as, EffectTimer.as (
> Main Thread)
> 59 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\utils\SolidBorderUtil.as, SolidBorderU
> til.as (Main Thread)
> 60 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\controllers\ButtonAutoRepea
> tController.as, ButtonAutoRepeatController.as (Main Thread)
> 61 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\controllers\DropDownListCon
> troller.as, DropDownListController.as (Main Thread)
> 62 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\controllers\EditableTextKey
> boardController.as, EditableTextKeyboardController.as (Main Thread)
> 63 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\controllers\ItemRendererMou
> seController.as, ItemRendererMouseController.as (Main Thread)
> 64 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\controllers\ListSingleSelec
> tionMouseController.as, ListSingleSelectionMouseController.as (Main Thread)
> 65 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\controllers\ScrollBarMouseC
> ontrollerBase.as, ScrollBarMouseControllerBase.as (Main Thread)
> 66 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\controllers\VScrollBarMouse
> Controller.as, VScrollBarMouseController.as (Main Thread)
> 67 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\layouts\VScrollBarLayout.as
> , VScrollBarLayout.as (Main Thread)
> 68 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\layouts\VerticalScrollingLa
> yout.as, VerticalScrollingLayout.as (Main Thread)
> 69 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\models\ArraySelectionModel.
> as, ArraySelectionModel.as (Main Thread)
> 70 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\models\ListPresentationMode
> l.as, ListPresentationModel.as (Main Thread)
> 71 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\models\RangeModel.as, Range
> Model.as (Main Thread)
> 72 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\models\ScrollBarModel.as, S
> crollBarModel.as (Main Thread)
> 73 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\models\SingleLineBorderMode
> l.as, SingleLineBorderModel.as (Main Thread)
> 74 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\models\TextModel.as, TextMo
> del.as (Main Thread)
> 75 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\models\ToggleButtonModel.as
> , ToggleButtonModel.as (Main Thread)
> 76 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\models\ValueToggleButtonMod
> el.as, ValueToggleButtonModel.as (Main Thread)
> 77 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\CSSButtonView.as, CSSButton
> View.as (Main Thread)
> 78 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\CSSTextButtonView.as, CSSTe
> xtButtonView.as (Main Thread)
> 79 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\CheckBoxView.as, CheckBoxVi
> ew.as (Main Thread)
> 80 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\ContainerView.as, Container
> View.as (Main Thread)
> 81 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\DataItemRendererFactoryForA
> rrayData.as, DataItemRendererFactoryForArrayData.as (Main Thread)
> 82 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\DownArrowButtonView.as, Dow
> nArrowButtonView.as (Main Thread)
> 83 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\DropDownListView.as, DropDo
> wnListView.as (Main Thread)
> 84 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\ListView.as, ListView.as (M
> ain Thread)
> 85 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\RadioButtonView.as, RadioBu
> ttonView.as (Main Thread)
> 86 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\ScrollBarView.as, ScrollBar
> View.as (Main Thread)
> 87 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\SingleLineBorderBead.as, Si
> ngleLineBorderBead.as (Main Thread)
> 88 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\SolidBackgroundBead.as, Sol
> idBackgroundBead.as (Main Thread)
> 89 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\TextFieldViewBase.as, TextF
> ieldViewBase.as (Main Thread)
> 90 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\TextAreaView.as, TextAreaVi
> ew.as (Main Thread)
> 91 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\TextButtonMeasurementBead.a
> s, TextButtonMeasurementBead.as (Main Thread)
> 92 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\TextButtonView.as, TextButt
> onView.as (Main Thread)
> 93 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\TextFieldLabelMeasurementBe
> ad.as, TextFieldLabelMeasurementBead.as (Main Thread)
> 94 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\TextFieldView.as, TextField
> View.as (Main Thread)
> 95 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\TextInputView.as, TextInput
> View.as (Main Thread)
> 96 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\TextInputWithBorderView.as,
> TextInputWithBorderView.as (Main Thread)
> 97 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\TextItemRendererFactoryForA
> rrayData.as, TextItemRendererFactoryForArrayData.as (Main Thread)
> 98 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\UpArrowButtonView.as, UpArr
> owButtonView.as (Main Thread)
> 99 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\VScrollBarThumbView.as, VSc
> rollBarThumbView.as (Main Thread)
> 100 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\VScrollBarTrackView.as, VS
> crollBarTrackView.as (Main Thread)
> 101 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\supportClasses\Border.as, Border
> .as (Main Thread)
> 102 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\supportClasses\ContainerContentA
> rea.as, ContainerContentArea.as (Main Thread)
> 103 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\supportClasses\DataGroup.as, Dat
> aGroup.as (Main Thread)
> 104 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\supportClasses\UIItemRendererBas
> e.as, UIItemRendererBase.as (Main Thread)
> 105 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\supportClasses\DataItemRenderer.
> as, DataItemRenderer.as (Main Thread)
> 106 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\List.as, List.as (Main Thread)
> 107 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\SimpleList.as, SimpleList.as (Ma
> in Thread)
> 108 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\supportClasses\DropDownListList.
> as, DropDownListList.as (Main Thread)
> 109 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\supportClasses\ScrollBar.as, Scr
> ollBar.as (Main Thread)
> 110 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\supportClasses\StringItemRendere
> r.as, StringItemRenderer.as (Main Thread)
> 1433854825192 Processed by com.intellij.lang.javascript.flex.debug.KnownFilesInfo$1
> 1433854825258 Sent:frame
> print this
> 1433854825259 #0 MyController/radioClickHandler(event=[Object 105228257, class='org.apache.flex.events::CustomEvent'])
> at MyController.as#3:60
> 1433854825260 Processed by com.intellij.lang.javascript.flex.debug.FlexStackFrame$2
> 1433854825612 reduce_simpleName
> transform_name_to_expression
> isXMLType
> $1 = [Object 57219105, class='controllers::MyController']
> 1433854825613 Processed by com.intellij.lang.javascript.flex.debug.FlexStackFrame$2
> 1433854825613 Unexpected token: [reduce_simpleName], full string: [reduce_simpleName
> transform_name_to_expression
> isXMLType
> $1 = [Object 57219105, class='controllers::MyController']]
> ], full string: [reduce_simpleName
> transform_name_to_expression
> isXMLType
> $1 = [Object 57219105, class='controllers::MyController']]
> 1433854825614 Unexpected token: [
> ], full string: [reduce_simpleName
> transform_name_to_expression
> isXMLType
> $1 = [Object 57219105, class='controllers::MyController']]
> 1433854825614 Unexpected token: [transform_name_to_expression], full string: [reduce_simpleName
> transform_name_to_expression
> isXMLType
> $1 = [Object 57219105, class='controllers::MyController']]
> ], full string: [reduce_simpleName
> transform_name_to_expression
> isXMLType
> $1 = [Object 57219105, class='controllers::MyController']]
> 1433854825614 Unexpected token: [
> ], full string: [reduce_simpleName
> transform_name_to_expression
> isXMLType
> $1 = [Object 57219105, class='controllers::MyController']]
> 1433854825615 Unexpected token: [isXMLType], full string: [reduce_simpleName
> transform_name_to_expression
> isXMLType
> $1 = [Object 57219105, class='controllers::MyController']]
> ], full string: [reduce_simpleName
> transform_name_to_expression
> isXMLType
> $1 = [Object 57219105, class='controllers::MyController']]
> 1433854825616 Unexpected token: [
> ], full string: [reduce_simpleName
> transform_name_to_expression
> isXMLType
> $1 = [Object 57219105, class='controllers::MyController']]
> 1433854825641 Sent:info arguments
> 1433854825660 event = [Object 105228257, class='org.apache.flex.events::CustomEvent']
> 1433854825660 Processed by com.intellij.lang.javascript.flex.debug.FlexStackFrame$2
> 1433854825661 Sent:info locals
> 1433854825710 field = undefined
> 1433854825710 Processed by com.intellij.lang.javascript.flex.debug.FlexStackFrame$2
> 1433854825711 Sent:info scopechain
> 1433854825760 0 = [Object 57219105, class='controllers::MyController']
> 1 = [Object 85242817, class='controllers::MyController$']
> 2 = [Object 85135417, class='Object$']
> 3 = [Object 85242785, class='global']
> 1433854825760 Processed by com.intellij.lang.javascript.flex.debug.FlexStackFrame$4
> 1433854825761
> 1433854825762 Processed by com.intellij.lang.javascript.flex.debug.FlexStackFrame$2
> 1433854825762 Sent:frame
> print #57219105.
> 1433854825810 #0 MyController/radioClickHandler(event=[Object 105228257, class='org.apache.flex.events::CustomEvent'])
> at MyController.as#3:60
> 1433854825811 Processed by com.intellij.lang.javascript.flex.debug.FlexValue$9
> 1433854825866 Expression could not be evaluated.
> 1433854825866 Processed by com.intellij.lang.javascript.flex.debug.FlexValue$9
> 1433855015652 Sent:continue
> 1433855021365 [UnloadSWF] U:\sources\flexJsProjects\DataBindingTest\out\production\DataBindingTest\DataBindingTest.swf
> Player session terminated
>
> 1433855021370 Sent:quit
>
>> I’m still surprised it works from the command line for you. I left some
>> System.out.println calls in the fixed code that should show up in the
>> console if you are running the right jars.
>
> Ok, I just discovered that when I set a path to a JarApplication in IJ, it reports it to the others and actually I was running the Flex SDK fdb.jar instead of the falcon one, so, at the end I've got the same exception in both.
>
> When I run fdb.jar from the command line launched by IJ:
>
> "C:\Program Files\Java\jdk1.7.0\bin\java" -Dsun.io.useCanonCaches=false -Xms32m -Xmx512m -Dflexlib=D:/SDKs/FlexJS/0.0.3_FP16.0_AIR16.0_en_US/frameworks -Dfile.encoding=windows-1252 -jar U:\sources\asf\flex\falcon\compiler\generated\dist\sdk\lib\fdb.jar U:\sources\flexJsProjects\DataBindingTest\out\production\DataBindingTest\DataBindingTest.swf
> Apache fdb (Flash Player Debugger) [build ]
> Copyright 2015 The Apache Software Foundation.
> Tentative de lancement et de connexion au lecteur avec l'URL
> U:\sources\flexJsProjects\DataBindingTest\out\production\DataBindingTest\DataBindingTest.swf
> Lecteur connecté ; lancement de la session.
> Définissez des points d'arrêt, puis tapez 'continue' pour reprendre la session.
> (fdb) break MyController.as:60
> [SWF] U:\sources\flexJsProjects\DataBindingTest\out\production\DataBindingTest\DataBindingTest.swf - 160 891 octets après la décompression
> Point d'arrêt 1 : fichier MyController.as, ligne 60
> (fdb) c
> Point d'arrêt 1, radioClickHandler() sur MyController.as:60
> 60 var field:String = MyInitialView(app.initialView).requestedField;
> (fdb) info scopechain
> 0 = [Object 53680161, class='controllers::MyController']
> 1 = [Object 85177697, class='controllers::MyController$']
> 2 = [Object 85069881, class='Object$']
> 3 = [Object 85177665, class='global']
> (fdb) print #53680161
> Impossible d'évaluer l'expression.
> org.apache.flex.compiler.exceptions.BURMAbortException
> (fdb) at org.apache.flex.compiler.exceptions.BURMAbortException.(BURMAbortException.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(Unknown 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)
>
> Thanks,
> Frédéric THOMAS
>
>> From: aharui@adobe.com
>> To: dev@flex.apache.org
>> Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
>> Date: Tue, 9 Jun 2015 12:43:07 +0000
>>
>> On 6/9/15, 1:50 AM, "Frédéric THOMAS" wrote:
>>
>>>Is there any special things to do at compilation time ?
>>
>> Try deleting the folder called “generated” in the debugger project before
>> compiling. It could be that the build script doesn’t handle that
>> correctly. Also, I assume you re-started IJ after changing jars?
>>
>> I’m still surprised it works from the command line for you. I left some
>> System.out.println calls in the fixed code that should show up in the
>> console if you are running the right jars.
>>
>> -Alex
>>
>
 		 	   		  

Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

Posted by Alex Harui <ah...@adobe.com>.
In my changes I added a long comment about how to debug burm issues.  Can you try to follow the instructions and tell me what the object trees look like?


Sent from my LG G3, an AT&T 4G LTE smartphone


------ Original message------

From: Frédéric THOMAS

Date: Tue, Jun 9, 2015 6:53 AM

To: dev@flex.apache.org;

Subject:RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration


> Try deleting the folder called “generated” in the debugger project before
> compiling.  It could be that the build script doesn’t handle that
> correctly.  Also, I assume you re-started IJ after changing jars?

Yes, was done.
Usually I set hookallreducercalls = false because IJ reads the console.

Here is the complete session when I set it to true, does it mean more for you ?

1433854821775 Apache fdb (Flash Player Debugger) [build ]
Copyright 2015 The Apache Software Foundation.
1433854821775 Processed by com.intellij.lang.javascript.flex.debug.FlexDebugProcess$ReadGreetingCommand
1433854821776 Sent:run
1433854821785 Waiting for Player to connect
1433854821785 Processed by com.intellij.lang.javascript.flex.debug.FlexDebugProcess$LaunchBrowserCommand
1433854822070 Player connected; session starting.
Set breakpoints and then type 'continue' to resume the session.
1433854822071 Processed by com.intellij.lang.javascript.flex.debug.FlexDebugProcess$LaunchBrowserCommand
1433854822071 Sent:break controllers.MyController.as:60
1433854822089 Breakpoint 1: file MyController.as, line 60
1433854822090 Processed by com.intellij.lang.javascript.flex.debug.FlexBreakpointsHandler$InsertBreakpointCommand
1433854822091 Sent:continue
1433854822393 [SWF] U:\sources\flexJsProjects\DataBindingTest\out\production\DataBindingTest\DataBindingTest.swf - 160,8
91 bytes after decompression
1433854825017 Breakpoint 1, radioClickHandler() at MyController.as:60
 60                     var field:String = MyInitialView(app.initialView).requestedField;
1433854825022 Sent:bt
1433854825046 #0   this = [Object 57219105, class='controllers::MyController'].MyController/radioClickHandler(event=[Obj
ect 105228257, class='org.apache.flex.events::CustomEvent']) at MyController.as#3:60
#1   EventDispatcher/dispatchEventFunction() at :0
#2   this = [Object 57200865, class='MyInitialView'].EventDispatcher/dispatchEvent(_arg1=[Object 105228257, class='org.a
pache.flex.events::CustomEvent']) at :0
#3   this = [Object 57200865, class='MyInitialView'].MyInitialView/radioChanged(e=[Object 105228737, class='org.apache.f
lex.events::Event']) at MyInitialView.mxml#19:43
#4   this = [Object 57200865, class='MyInitialView'].MyInitialView/>4(event=[Object 105228737, class='org.apache.flex.ev
ents::Event']) at MyInitialView.mxml#19:127
#5   EventDispatcher/dispatchEventFunction() at :0
#6   this = [Object 105222401, class='org.apache.flex.html::RadioButton'].EventDispatcher/dispatchEvent(_arg1=[Object 10
5228737, class='org.apache.flex.events::Event']) at :0
#7   this = [Object 105222401, class='org.apache.flex.html::RadioButton'].RadioButton/internalMouseHandler(event=[Object
 105201921, class='org.apache.flex.events::MouseEvent']) at RadioButton.as#37:204
#8   EventDispatcher/dispatchEventFunction() at :0
#9   this = [Object 105222401, class='org.apache.flex.html::RadioButton'].EventDispatcher/dispatchEvent(_arg1=[Object 10
5201921, class='org.apache.flex.events::MouseEvent']) at :0
#10  this = [Object 85278609, class='org.apache.flex.events.utils::MouseEventConverter$'].MouseEventConverter$/mouseEven
tConverter(event=[Object 57291209, class='flash.events::MouseEvent']) at MouseEventConverter.as#12:84
1433854825048 Processed by com.intellij.lang.javascript.flex.debug.DumpSourceLocationCommand
1433854825050 Sent:bt
1433854825074 #0   this = [Object 57219105, class='controllers::MyController'].MyController/radioClickHandler(event=[Obj
ect 105228257, class='org.apache.flex.events::CustomEvent']) at MyController.as#3:60
#1   EventDispatcher/dispatchEventFunction() at :0
#2   this = [Object 57200865, class='MyInitialView'].EventDispatcher/dispatchEvent(_arg1=[Object 105228257, class='org.a
pache.flex.events::CustomEvent']) at :0
#3   this = [Object 57200865, class='MyInitialView'].MyInitialView/radioChanged(e=[Object 105228737, class='org.apache.f
lex.events::Event']) at MyInitialView.mxml#19:43
#4   this = [Object 57200865, class='MyInitialView'].MyInitialView/>4(event=[Object 105228737, class='org.apache.flex.ev
ents::Event']) at MyInitialView.mxml#19:127
#5   EventDispatcher/dispatchEventFunction() at :0
#6   this = [Object 105222401, class='org.apache.flex.html::RadioButton'].EventDispatcher/dispatchEvent(_arg1=[Object 10
5228737, class='org.apache.flex.events::Event']) at :0
#7   this = [Object 105222401, class='org.apache.flex.html::RadioButton'].RadioButton/internalMouseHandler(event=[Object
 105201921, class='org.apache.flex.events::MouseEvent']) at RadioButton.as#37:204
#8   EventDispatcher/dispatchEventFunction() at :0
#9   this = [Object 105222401, class='org.apache.flex.html::RadioButton'].EventDispatcher/dispatchEvent(_arg1=[Object 10
5201921, class='org.apache.flex.events::MouseEvent']) at :0
#10  this = [Object 85278609, class='org.apache.flex.events.utils::MouseEventConverter$'].MouseEventConverter$/mouseEven
tConverter(event=[Object 57291209, class='flash.events::MouseEvent']) at MouseEventConverter.as#12:84
1433854825076 Processed by com.intellij.lang.javascript.flex.debug.FlexSuspendContext$FlexExecutionStack$1
1433854825077 Sent:show files
1433854825132 1 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\Application.as, Appl
ication.as (Main Thread)
2 U:\sources\flexJsProjects\DataBindingTest\src\DataBindingTest.mxml, DataBindingTest.mxml (Main Thread)
3 U:\sources\flexJsProjects\DataBindingTest\src\controllers\MyController.as, MyController.as (Main Thread)
4 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Collections\as\src\org\apache\flex\collections\parsers\JSONInputPar
ser.as, JSONInputParser.as (Main Thread)
5 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\events\EventDispatcher.as, EventDispatc
her.as (Main Thread)
6 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Collections\as\src\org\apache\flex\collections\LazyCollection.as, L
azyCollection.as (Main Thread)
7 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\SimpleCSSValuesImpl.as, SimpleCSSV
aluesImpl.as (Main Thread)
8 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\ValuesManager.as, ValuesManager.as
 (Main Thread)
9 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\UIBase.as, UIBase.as (Main Thread)

10 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\ContainerBase.as, ContainerBase.a
s (Main Thread)
11 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\ViewBase.as, ViewBase.as (Main Th
read)
12 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\events\utils\MouseEventConverter.as, M
ouseEventConverter.as (Main Thread)
13 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\events\Event.as, Event.as (Main Thread
)
14 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\events\ValueChangeEvent.as, ValueChang
eEvent.as (Main Thread)
15 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\utils\MXMLDataInterpreter.as, MXMLData
Interpreter.as (Main Thread)
16 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\utils\ViewSourceContextMenuOption.as,
ViewSourceContextMenuOption.as (Main Thread)
17 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Network\as\src\org\apache\flex\net\HTTPService.as, HTTPService.as
(Main Thread)
18 U:\sources\flexJsProjects\DataBindingTest\DataBindingTestLib\src\models\MyModel.as, MyModel.as (Main Thread)
19 U:\sources\flexJsProjects\DataBindingTest\src\MyInitialView.mxml, MyInitialView.mxml (Main Thread)
20 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Collections\as\src\org\apache\flex\collections\converters\JSONItem
Converter.as, JSONItemConverter.as (Main Thread)
21 U:\sources\flexJsProjects\DataBindingTest\src\StockDataJSONItemConverter.as, StockDataJSONItemConverter.as (Main Thre
ad)
22 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Binding\as\src\org\apache\flex\binding\ViewBaseDataBinding.as, Vie
wBaseDataBinding.as (Main Thread)
23 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\StageProxy.as, StageProxy.as (Mai
n Thread)
24 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\events\CustomEvent.as, CustomEvent.as
(Main Thread)
25 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\events\MouseEvent.as, MouseEvent.as (M
ain Thread)
26 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\states\AddItems.as, AddItems.as (Main
Thread)
27 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\states\SetProperty.as, SetProperty.as
(Main Thread)
28 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\states\State.as, State.as (Main Thread
)
29 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\layouts\HorizontalLayout.as
, HorizontalLayout.as (Main Thread)
30 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\layouts\VerticalLayout.as,
VerticalLayout.as (Main Thread)
31 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\UIButtonBase.as, UIButtonBase.as
(Main Thread)
32 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\CheckBox.as, CheckBox.as (Main Th
read)
33 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\Container.as, Container.as (Main
Thread)
34 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\Button.as, Button.as (Main Thread
)
35 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\DropDownList.as, DropDownList.as
(Main Thread)
36 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\Label.as, Label.as (Main Thread)
37 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\RadioButton.as, RadioButton.as (M
ain Thread)
38 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\TextArea.as, TextArea.as (Main Th
read)
39 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\TextButton.as, TextButton.as (Mai
n Thread)
40 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\TextInput.as, TextInput.as (Main
Thread)
41 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Network\as\src\org\apache\flex\net\HTTPHeader.as, HTTPHeader.as (M
ain Thread)
42 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Binding\as\src\org\apache\flex\binding\ConstantBinding.as, Constan
tBinding.as (Main Thread)
43 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Binding\as\src\org\apache\flex\binding\GenericBinding.as, GenericB
inding.as (Main Thread)
44 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Binding\as\src\org\apache\flex\binding\WatcherBase.as, WatcherBase
.as (Main Thread)
45 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Binding\as\src\org\apache\flex\binding\PropertyWatcher.as, Propert
yWatcher.as (Main Thread)
46 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Binding\as\src\org\apache\flex\binding\SimpleBinding.as, SimpleBin
ding.as (Main Thread)
47 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\geom\Point.as, Point.as (Main Thread)
48 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\states\ItemAndDescriptor.as, ItemAndDe
scriptor.as (Main Thread)
49 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\utils\PointUtils.as, PointUtils.as (Ma
in Thread)
50 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\BeadViewBase.as, BeadViewBase.as
(Main Thread)
51 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\CSSTextField.as, CSSTextField.as
(Main Thread)
52 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\ClassFactory.as, ClassFactory.as
(Main Thread)
53 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\Strand.as, Strand.as (Main Thread
)
54 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\ItemRendererClassFactory.as, Item
RendererClassFactory.as (Main Thread)
55 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\SimpleStatesImpl.as, SimpleStates
Impl.as (Main Thread)
56 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\events\ValueEvent.as, ValueEvent.as (M
ain Thread)
57 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\states\SetEventHandler.as, SetEventHan
dler.as (Main Thread)
58 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\utils\EffectTimer.as, EffectTimer.as (
Main Thread)
59 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\utils\SolidBorderUtil.as, SolidBorderU
til.as (Main Thread)
60 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\controllers\ButtonAutoRepea
tController.as, ButtonAutoRepeatController.as (Main Thread)
61 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\controllers\DropDownListCon
troller.as, DropDownListController.as (Main Thread)
62 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\controllers\EditableTextKey
boardController.as, EditableTextKeyboardController.as (Main Thread)
63 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\controllers\ItemRendererMou
seController.as, ItemRendererMouseController.as (Main Thread)
64 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\controllers\ListSingleSelec
tionMouseController.as, ListSingleSelectionMouseController.as (Main Thread)
65 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\controllers\ScrollBarMouseC
ontrollerBase.as, ScrollBarMouseControllerBase.as (Main Thread)
66 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\controllers\VScrollBarMouse
Controller.as, VScrollBarMouseController.as (Main Thread)
67 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\layouts\VScrollBarLayout.as
, VScrollBarLayout.as (Main Thread)
68 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\layouts\VerticalScrollingLa
yout.as, VerticalScrollingLayout.as (Main Thread)
69 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\models\ArraySelectionModel.
as, ArraySelectionModel.as (Main Thread)
70 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\models\ListPresentationMode
l.as, ListPresentationModel.as (Main Thread)
71 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\models\RangeModel.as, Range
Model.as (Main Thread)
72 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\models\ScrollBarModel.as, S
crollBarModel.as (Main Thread)
73 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\models\SingleLineBorderMode
l.as, SingleLineBorderModel.as (Main Thread)
74 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\models\TextModel.as, TextMo
del.as (Main Thread)
75 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\models\ToggleButtonModel.as
, ToggleButtonModel.as (Main Thread)
76 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\models\ValueToggleButtonMod
el.as, ValueToggleButtonModel.as (Main Thread)
77 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\CSSButtonView.as, CSSButton
View.as (Main Thread)
78 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\CSSTextButtonView.as, CSSTe
xtButtonView.as (Main Thread)
79 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\CheckBoxView.as, CheckBoxVi
ew.as (Main Thread)
80 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\ContainerView.as, Container
View.as (Main Thread)
81 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\DataItemRendererFactoryForA
rrayData.as, DataItemRendererFactoryForArrayData.as (Main Thread)
82 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\DownArrowButtonView.as, Dow
nArrowButtonView.as (Main Thread)
83 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\DropDownListView.as, DropDo
wnListView.as (Main Thread)
84 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\ListView.as, ListView.as (M
ain Thread)
85 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\RadioButtonView.as, RadioBu
ttonView.as (Main Thread)
86 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\ScrollBarView.as, ScrollBar
View.as (Main Thread)
87 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\SingleLineBorderBead.as, Si
ngleLineBorderBead.as (Main Thread)
88 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\SolidBackgroundBead.as, Sol
idBackgroundBead.as (Main Thread)
89 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\TextFieldViewBase.as, TextF
ieldViewBase.as (Main Thread)
90 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\TextAreaView.as, TextAreaVi
ew.as (Main Thread)
91 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\TextButtonMeasurementBead.a
s, TextButtonMeasurementBead.as (Main Thread)
92 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\TextButtonView.as, TextButt
onView.as (Main Thread)
93 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\TextFieldLabelMeasurementBe
ad.as, TextFieldLabelMeasurementBead.as (Main Thread)
94 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\TextFieldView.as, TextField
View.as (Main Thread)
95 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\TextInputView.as, TextInput
View.as (Main Thread)
96 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\TextInputWithBorderView.as,
 TextInputWithBorderView.as (Main Thread)
97 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\TextItemRendererFactoryForA
rrayData.as, TextItemRendererFactoryForArrayData.as (Main Thread)
98 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\UpArrowButtonView.as, UpArr
owButtonView.as (Main Thread)
99 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\VScrollBarThumbView.as, VSc
rollBarThumbView.as (Main Thread)
100 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\VScrollBarTrackView.as, VS
crollBarTrackView.as (Main Thread)
101 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\supportClasses\Border.as, Border
.as (Main Thread)
102 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\supportClasses\ContainerContentA
rea.as, ContainerContentArea.as (Main Thread)
103 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\supportClasses\DataGroup.as, Dat
aGroup.as (Main Thread)
104 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\supportClasses\UIItemRendererBas
e.as, UIItemRendererBase.as (Main Thread)
105 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\supportClasses\DataItemRenderer.
as, DataItemRenderer.as (Main Thread)
106 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\List.as, List.as (Main Thread)
107 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\SimpleList.as, SimpleList.as (Ma
in Thread)
108 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\supportClasses\DropDownListList.
as, DropDownListList.as (Main Thread)
109 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\supportClasses\ScrollBar.as, Scr
ollBar.as (Main Thread)
110 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\supportClasses\StringItemRendere
r.as, StringItemRenderer.as (Main Thread)
1433854825192 Processed by com.intellij.lang.javascript.flex.debug.KnownFilesInfo$1
1433854825258 Sent:frame
print this
1433854825259 #0   MyController/radioClickHandler(event=[Object 105228257, class='org.apache.flex.events::CustomEvent'])
 at MyController.as#3:60
1433854825260 Processed by com.intellij.lang.javascript.flex.debug.FlexStackFrame$2
1433854825612 reduce_simpleName
transform_name_to_expression
isXMLType
$1 = [Object 57219105, class='controllers::MyController']
1433854825613 Processed by com.intellij.lang.javascript.flex.debug.FlexStackFrame$2
1433854825613 Unexpected token: [reduce_simpleName], full string: [reduce_simpleName
transform_name_to_expression
isXMLType
$1 = [Object 57219105, class='controllers::MyController']]
], full string: [reduce_simpleName
transform_name_to_expression
isXMLType
$1 = [Object 57219105, class='controllers::MyController']]
1433854825614 Unexpected token: [
], full string: [reduce_simpleName
transform_name_to_expression
isXMLType
$1 = [Object 57219105, class='controllers::MyController']]
1433854825614 Unexpected token: [transform_name_to_expression], full string: [reduce_simpleName
transform_name_to_expression
isXMLType
$1 = [Object 57219105, class='controllers::MyController']]
], full string: [reduce_simpleName
transform_name_to_expression
isXMLType
$1 = [Object 57219105, class='controllers::MyController']]
1433854825614 Unexpected token: [
], full string: [reduce_simpleName
transform_name_to_expression
isXMLType
$1 = [Object 57219105, class='controllers::MyController']]
1433854825615 Unexpected token: [isXMLType], full string: [reduce_simpleName
transform_name_to_expression
isXMLType
$1 = [Object 57219105, class='controllers::MyController']]
], full string: [reduce_simpleName
transform_name_to_expression
isXMLType
$1 = [Object 57219105, class='controllers::MyController']]
1433854825616 Unexpected token: [
], full string: [reduce_simpleName
transform_name_to_expression
isXMLType
$1 = [Object 57219105, class='controllers::MyController']]
1433854825641 Sent:info arguments
1433854825660 event = [Object 105228257, class='org.apache.flex.events::CustomEvent']
1433854825660 Processed by com.intellij.lang.javascript.flex.debug.FlexStackFrame$2
1433854825661 Sent:info locals
1433854825710 field = undefined
1433854825710 Processed by com.intellij.lang.javascript.flex.debug.FlexStackFrame$2
1433854825711 Sent:info scopechain
1433854825760 0 = [Object 57219105, class='controllers::MyController']
1 = [Object 85242817, class='controllers::MyController$']
2 = [Object 85135417, class='Object$']
3 = [Object 85242785, class='global']
1433854825760 Processed by com.intellij.lang.javascript.flex.debug.FlexStackFrame$4
1433854825761
1433854825762 Processed by com.intellij.lang.javascript.flex.debug.FlexStackFrame$2
1433854825762 Sent:frame
print #57219105.
1433854825810 #0   MyController/radioClickHandler(event=[Object 105228257, class='org.apache.flex.events::CustomEvent'])
 at MyController.as#3:60
1433854825811 Processed by com.intellij.lang.javascript.flex.debug.FlexValue$9
1433854825866 Expression could not be evaluated.
1433854825866 Processed by com.intellij.lang.javascript.flex.debug.FlexValue$9
1433855015652 Sent:continue
1433855021365 [UnloadSWF] U:\sources\flexJsProjects\DataBindingTest\out\production\DataBindingTest\DataBindingTest.swf
Player session terminated

1433855021370 Sent:quit

> I’m still surprised it works from the command line for you.  I left some
> System.out.println calls in the fixed code that should show up in the
> console if you are running the right jars.

Ok, I just discovered that when I set a path to a JarApplication in IJ, it reports it to the others and actually I was running the Flex SDK fdb.jar instead of the falcon one, so, at the end I've got the same exception in both.

When I run fdb.jar from the command line launched by IJ:

"C:\Program Files\Java\jdk1.7.0\bin\java" -Dsun.io.useCanonCaches=false -Xms32m -Xmx512m -Dflexlib=D:/SDKs/FlexJS/0.0.3_FP16.0_AIR16.0_en_US/frameworks -Dfile.encoding=windows-1252 -jar U:\sources\asf\flex\falcon\compiler\generated\dist\sdk\lib\fdb.jar U:\sources\flexJsProjects\DataBindingTest\out\production\DataBindingTest\DataBindingTest.swf
Apache fdb (Flash Player Debugger) [build ]
Copyright 2015 The Apache Software Foundation.
Tentative de lancement et de connexion au lecteur avec l'URL
U:\sources\flexJsProjects\DataBindingTest\out\production\DataBindingTest\DataBindingTest.swf
Lecteur connecté ; lancement de la session.
Définissez des points d'arrêt, puis tapez 'continue' pour reprendre la session.
(fdb) break MyController.as:60
[SWF] U:\sources\flexJsProjects\DataBindingTest\out\production\DataBindingTest\DataBindingTest.swf - 160 891 octets après la décompression
Point d'arrêt 1 : fichier MyController.as, ligne 60
(fdb) c
Point d'arrêt 1, radioClickHandler() sur MyController.as:60
 60                var field:String = MyInitialView(app.initialView).requestedField;
(fdb) info scopechain
0 = [Object 53680161, class='controllers::MyController']
1 = [Object 85177697, class='controllers::MyController$']
2 = [Object 85069881, class='Object$']
3 = [Object 85177665, class='global']
(fdb) print #53680161
Impossible d'évaluer l'expression.
org.apache.flex.compiler.exceptions.BURMAbortException
(fdb)     at org.apache.flex.compiler.exceptions.BURMAbortException.(BURMAbortException.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(Unknown 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)

Thanks,
Frédéric THOMAS

> From: aharui@adobe.com
> To: dev@flex.apache.org
> Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Tue, 9 Jun 2015 12:43:07 +0000
>
> On 6/9/15, 1:50 AM, "Frédéric THOMAS"  wrote:
>
>>Is there any special things to do at compilation time ?
>
> Try deleting the folder called “generated” in the debugger project before
> compiling.  It could be that the build script doesn’t handle that
> correctly.  Also, I assume you re-started IJ after changing jars?
>
> I’m still surprised it works from the command line for you.  I left some
> System.out.println calls in the fixed code that should show up in the
> console if you are running the right jars.
>
> -Alex
>


RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

Posted by Frédéric THOMAS <we...@hotmail.com>.
> Try deleting the folder called “generated” in the debugger project before
> compiling.  It could be that the build script doesn’t handle that
> correctly.  Also, I assume you re-started IJ after changing jars?

Yes, was done.
Usually I set hookallreducercalls = false because IJ reads the console.

Here is the complete session when I set it to true, does it mean more for you ?

1433854821775 Apache fdb (Flash Player Debugger) [build ]
Copyright 2015 The Apache Software Foundation.
1433854821775 Processed by com.intellij.lang.javascript.flex.debug.FlexDebugProcess$ReadGreetingCommand
1433854821776 Sent:run
1433854821785 Waiting for Player to connect
1433854821785 Processed by com.intellij.lang.javascript.flex.debug.FlexDebugProcess$LaunchBrowserCommand
1433854822070 Player connected; session starting.
Set breakpoints and then type 'continue' to resume the session.
1433854822071 Processed by com.intellij.lang.javascript.flex.debug.FlexDebugProcess$LaunchBrowserCommand
1433854822071 Sent:break controllers.MyController.as:60
1433854822089 Breakpoint 1: file MyController.as, line 60
1433854822090 Processed by com.intellij.lang.javascript.flex.debug.FlexBreakpointsHandler$InsertBreakpointCommand
1433854822091 Sent:continue
1433854822393 [SWF] U:\sources\flexJsProjects\DataBindingTest\out\production\DataBindingTest\DataBindingTest.swf - 160,8
91 bytes after decompression
1433854825017 Breakpoint 1, radioClickHandler() at MyController.as:60
 60                     var field:String = MyInitialView(app.initialView).requestedField;
1433854825022 Sent:bt
1433854825046 #0   this = [Object 57219105, class='controllers::MyController'].MyController/radioClickHandler(event=[Obj
ect 105228257, class='org.apache.flex.events::CustomEvent']) at MyController.as#3:60
#1   EventDispatcher/dispatchEventFunction() at :0
#2   this = [Object 57200865, class='MyInitialView'].EventDispatcher/dispatchEvent(_arg1=[Object 105228257, class='org.a
pache.flex.events::CustomEvent']) at :0
#3   this = [Object 57200865, class='MyInitialView'].MyInitialView/radioChanged(e=[Object 105228737, class='org.apache.f
lex.events::Event']) at MyInitialView.mxml#19:43
#4   this = [Object 57200865, class='MyInitialView'].MyInitialView/>4(event=[Object 105228737, class='org.apache.flex.ev
ents::Event']) at MyInitialView.mxml#19:127
#5   EventDispatcher/dispatchEventFunction() at :0
#6   this = [Object 105222401, class='org.apache.flex.html::RadioButton'].EventDispatcher/dispatchEvent(_arg1=[Object 10
5228737, class='org.apache.flex.events::Event']) at :0
#7   this = [Object 105222401, class='org.apache.flex.html::RadioButton'].RadioButton/internalMouseHandler(event=[Object
 105201921, class='org.apache.flex.events::MouseEvent']) at RadioButton.as#37:204
#8   EventDispatcher/dispatchEventFunction() at :0
#9   this = [Object 105222401, class='org.apache.flex.html::RadioButton'].EventDispatcher/dispatchEvent(_arg1=[Object 10
5201921, class='org.apache.flex.events::MouseEvent']) at :0
#10  this = [Object 85278609, class='org.apache.flex.events.utils::MouseEventConverter$'].MouseEventConverter$/mouseEven
tConverter(event=[Object 57291209, class='flash.events::MouseEvent']) at MouseEventConverter.as#12:84
1433854825048 Processed by com.intellij.lang.javascript.flex.debug.DumpSourceLocationCommand
1433854825050 Sent:bt
1433854825074 #0   this = [Object 57219105, class='controllers::MyController'].MyController/radioClickHandler(event=[Obj
ect 105228257, class='org.apache.flex.events::CustomEvent']) at MyController.as#3:60
#1   EventDispatcher/dispatchEventFunction() at :0
#2   this = [Object 57200865, class='MyInitialView'].EventDispatcher/dispatchEvent(_arg1=[Object 105228257, class='org.a
pache.flex.events::CustomEvent']) at :0
#3   this = [Object 57200865, class='MyInitialView'].MyInitialView/radioChanged(e=[Object 105228737, class='org.apache.f
lex.events::Event']) at MyInitialView.mxml#19:43
#4   this = [Object 57200865, class='MyInitialView'].MyInitialView/>4(event=[Object 105228737, class='org.apache.flex.ev
ents::Event']) at MyInitialView.mxml#19:127
#5   EventDispatcher/dispatchEventFunction() at :0
#6   this = [Object 105222401, class='org.apache.flex.html::RadioButton'].EventDispatcher/dispatchEvent(_arg1=[Object 10
5228737, class='org.apache.flex.events::Event']) at :0
#7   this = [Object 105222401, class='org.apache.flex.html::RadioButton'].RadioButton/internalMouseHandler(event=[Object
 105201921, class='org.apache.flex.events::MouseEvent']) at RadioButton.as#37:204
#8   EventDispatcher/dispatchEventFunction() at :0
#9   this = [Object 105222401, class='org.apache.flex.html::RadioButton'].EventDispatcher/dispatchEvent(_arg1=[Object 10
5201921, class='org.apache.flex.events::MouseEvent']) at :0
#10  this = [Object 85278609, class='org.apache.flex.events.utils::MouseEventConverter$'].MouseEventConverter$/mouseEven
tConverter(event=[Object 57291209, class='flash.events::MouseEvent']) at MouseEventConverter.as#12:84
1433854825076 Processed by com.intellij.lang.javascript.flex.debug.FlexSuspendContext$FlexExecutionStack$1
1433854825077 Sent:show files
1433854825132 1 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\Application.as, Appl
ication.as (Main Thread)
2 U:\sources\flexJsProjects\DataBindingTest\src\DataBindingTest.mxml, DataBindingTest.mxml (Main Thread)
3 U:\sources\flexJsProjects\DataBindingTest\src\controllers\MyController.as, MyController.as (Main Thread)
4 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Collections\as\src\org\apache\flex\collections\parsers\JSONInputPar
ser.as, JSONInputParser.as (Main Thread)
5 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\events\EventDispatcher.as, EventDispatc
her.as (Main Thread)
6 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Collections\as\src\org\apache\flex\collections\LazyCollection.as, L
azyCollection.as (Main Thread)
7 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\SimpleCSSValuesImpl.as, SimpleCSSV
aluesImpl.as (Main Thread)
8 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\ValuesManager.as, ValuesManager.as
 (Main Thread)
9 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\UIBase.as, UIBase.as (Main Thread)

10 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\ContainerBase.as, ContainerBase.a
s (Main Thread)
11 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\ViewBase.as, ViewBase.as (Main Th
read)
12 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\events\utils\MouseEventConverter.as, M
ouseEventConverter.as (Main Thread)
13 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\events\Event.as, Event.as (Main Thread
)
14 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\events\ValueChangeEvent.as, ValueChang
eEvent.as (Main Thread)
15 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\utils\MXMLDataInterpreter.as, MXMLData
Interpreter.as (Main Thread)
16 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\utils\ViewSourceContextMenuOption.as,
ViewSourceContextMenuOption.as (Main Thread)
17 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Network\as\src\org\apache\flex\net\HTTPService.as, HTTPService.as
(Main Thread)
18 U:\sources\flexJsProjects\DataBindingTest\DataBindingTestLib\src\models\MyModel.as, MyModel.as (Main Thread)
19 U:\sources\flexJsProjects\DataBindingTest\src\MyInitialView.mxml, MyInitialView.mxml (Main Thread)
20 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Collections\as\src\org\apache\flex\collections\converters\JSONItem
Converter.as, JSONItemConverter.as (Main Thread)
21 U:\sources\flexJsProjects\DataBindingTest\src\StockDataJSONItemConverter.as, StockDataJSONItemConverter.as (Main Thre
ad)
22 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Binding\as\src\org\apache\flex\binding\ViewBaseDataBinding.as, Vie
wBaseDataBinding.as (Main Thread)
23 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\StageProxy.as, StageProxy.as (Mai
n Thread)
24 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\events\CustomEvent.as, CustomEvent.as
(Main Thread)
25 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\events\MouseEvent.as, MouseEvent.as (M
ain Thread)
26 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\states\AddItems.as, AddItems.as (Main
Thread)
27 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\states\SetProperty.as, SetProperty.as
(Main Thread)
28 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\states\State.as, State.as (Main Thread
)
29 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\layouts\HorizontalLayout.as
, HorizontalLayout.as (Main Thread)
30 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\layouts\VerticalLayout.as,
VerticalLayout.as (Main Thread)
31 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\UIButtonBase.as, UIButtonBase.as
(Main Thread)
32 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\CheckBox.as, CheckBox.as (Main Th
read)
33 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\Container.as, Container.as (Main
Thread)
34 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\Button.as, Button.as (Main Thread
)
35 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\DropDownList.as, DropDownList.as
(Main Thread)
36 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\Label.as, Label.as (Main Thread)
37 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\RadioButton.as, RadioButton.as (M
ain Thread)
38 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\TextArea.as, TextArea.as (Main Th
read)
39 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\TextButton.as, TextButton.as (Mai
n Thread)
40 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\TextInput.as, TextInput.as (Main
Thread)
41 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Network\as\src\org\apache\flex\net\HTTPHeader.as, HTTPHeader.as (M
ain Thread)
42 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Binding\as\src\org\apache\flex\binding\ConstantBinding.as, Constan
tBinding.as (Main Thread)
43 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Binding\as\src\org\apache\flex\binding\GenericBinding.as, GenericB
inding.as (Main Thread)
44 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Binding\as\src\org\apache\flex\binding\WatcherBase.as, WatcherBase
.as (Main Thread)
45 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Binding\as\src\org\apache\flex\binding\PropertyWatcher.as, Propert
yWatcher.as (Main Thread)
46 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Binding\as\src\org\apache\flex\binding\SimpleBinding.as, SimpleBin
ding.as (Main Thread)
47 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\geom\Point.as, Point.as (Main Thread)
48 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\states\ItemAndDescriptor.as, ItemAndDe
scriptor.as (Main Thread)
49 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\utils\PointUtils.as, PointUtils.as (Ma
in Thread)
50 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\BeadViewBase.as, BeadViewBase.as
(Main Thread)
51 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\CSSTextField.as, CSSTextField.as
(Main Thread)
52 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\ClassFactory.as, ClassFactory.as
(Main Thread)
53 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\Strand.as, Strand.as (Main Thread
)
54 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\ItemRendererClassFactory.as, Item
RendererClassFactory.as (Main Thread)
55 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\core\SimpleStatesImpl.as, SimpleStates
Impl.as (Main Thread)
56 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\events\ValueEvent.as, ValueEvent.as (M
ain Thread)
57 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\states\SetEventHandler.as, SetEventHan
dler.as (Main Thread)
58 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\utils\EffectTimer.as, EffectTimer.as (
Main Thread)
59 c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\as\src\org\apache\flex\utils\SolidBorderUtil.as, SolidBorderU
til.as (Main Thread)
60 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\controllers\ButtonAutoRepea
tController.as, ButtonAutoRepeatController.as (Main Thread)
61 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\controllers\DropDownListCon
troller.as, DropDownListController.as (Main Thread)
62 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\controllers\EditableTextKey
boardController.as, EditableTextKeyboardController.as (Main Thread)
63 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\controllers\ItemRendererMou
seController.as, ItemRendererMouseController.as (Main Thread)
64 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\controllers\ListSingleSelec
tionMouseController.as, ListSingleSelectionMouseController.as (Main Thread)
65 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\controllers\ScrollBarMouseC
ontrollerBase.as, ScrollBarMouseControllerBase.as (Main Thread)
66 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\controllers\VScrollBarMouse
Controller.as, VScrollBarMouseController.as (Main Thread)
67 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\layouts\VScrollBarLayout.as
, VScrollBarLayout.as (Main Thread)
68 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\layouts\VerticalScrollingLa
yout.as, VerticalScrollingLayout.as (Main Thread)
69 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\models\ArraySelectionModel.
as, ArraySelectionModel.as (Main Thread)
70 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\models\ListPresentationMode
l.as, ListPresentationModel.as (Main Thread)
71 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\models\RangeModel.as, Range
Model.as (Main Thread)
72 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\models\ScrollBarModel.as, S
crollBarModel.as (Main Thread)
73 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\models\SingleLineBorderMode
l.as, SingleLineBorderModel.as (Main Thread)
74 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\models\TextModel.as, TextMo
del.as (Main Thread)
75 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\models\ToggleButtonModel.as
, ToggleButtonModel.as (Main Thread)
76 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\models\ValueToggleButtonMod
el.as, ValueToggleButtonModel.as (Main Thread)
77 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\CSSButtonView.as, CSSButton
View.as (Main Thread)
78 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\CSSTextButtonView.as, CSSTe
xtButtonView.as (Main Thread)
79 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\CheckBoxView.as, CheckBoxVi
ew.as (Main Thread)
80 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\ContainerView.as, Container
View.as (Main Thread)
81 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\DataItemRendererFactoryForA
rrayData.as, DataItemRendererFactoryForArrayData.as (Main Thread)
82 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\DownArrowButtonView.as, Dow
nArrowButtonView.as (Main Thread)
83 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\DropDownListView.as, DropDo
wnListView.as (Main Thread)
84 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\ListView.as, ListView.as (M
ain Thread)
85 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\RadioButtonView.as, RadioBu
ttonView.as (Main Thread)
86 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\ScrollBarView.as, ScrollBar
View.as (Main Thread)
87 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\SingleLineBorderBead.as, Si
ngleLineBorderBead.as (Main Thread)
88 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\SolidBackgroundBead.as, Sol
idBackgroundBead.as (Main Thread)
89 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\TextFieldViewBase.as, TextF
ieldViewBase.as (Main Thread)
90 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\TextAreaView.as, TextAreaVi
ew.as (Main Thread)
91 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\TextButtonMeasurementBead.a
s, TextButtonMeasurementBead.as (Main Thread)
92 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\TextButtonView.as, TextButt
onView.as (Main Thread)
93 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\TextFieldLabelMeasurementBe
ad.as, TextFieldLabelMeasurementBead.as (Main Thread)
94 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\TextFieldView.as, TextField
View.as (Main Thread)
95 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\TextInputView.as, TextInput
View.as (Main Thread)
96 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\TextInputWithBorderView.as,
 TextInputWithBorderView.as (Main Thread)
97 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\TextItemRendererFactoryForA
rrayData.as, TextItemRendererFactoryForArrayData.as (Main Thread)
98 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\UpArrowButtonView.as, UpArr
owButtonView.as (Main Thread)
99 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\VScrollBarThumbView.as, VSc
rollBarThumbView.as (Main Thread)
100 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\VScrollBarTrackView.as, VS
crollBarTrackView.as (Main Thread)
101 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\supportClasses\Border.as, Border
.as (Main Thread)
102 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\supportClasses\ContainerContentA
rea.as, ContainerContentArea.as (Main Thread)
103 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\supportClasses\DataGroup.as, Dat
aGroup.as (Main Thread)
104 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\supportClasses\UIItemRendererBas
e.as, UIItemRendererBase.as (Main Thread)
105 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\supportClasses\DataItemRenderer.
as, DataItemRenderer.as (Main Thread)
106 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\List.as, List.as (Main Thread)
107 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\SimpleList.as, SimpleList.as (Ma
in Thread)
108 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\supportClasses\DropDownListList.
as, DropDownListList.as (Main Thread)
109 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\supportClasses\ScrollBar.as, Scr
ollBar.as (Main Thread)
110 c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\supportClasses\StringItemRendere
r.as, StringItemRenderer.as (Main Thread)
1433854825192 Processed by com.intellij.lang.javascript.flex.debug.KnownFilesInfo$1
1433854825258 Sent:frame
print this
1433854825259 #0   MyController/radioClickHandler(event=[Object 105228257, class='org.apache.flex.events::CustomEvent'])
 at MyController.as#3:60
1433854825260 Processed by com.intellij.lang.javascript.flex.debug.FlexStackFrame$2
1433854825612 reduce_simpleName
transform_name_to_expression
isXMLType
$1 = [Object 57219105, class='controllers::MyController']
1433854825613 Processed by com.intellij.lang.javascript.flex.debug.FlexStackFrame$2
1433854825613 Unexpected token: [reduce_simpleName], full string: [reduce_simpleName
transform_name_to_expression
isXMLType
$1 = [Object 57219105, class='controllers::MyController']]
], full string: [reduce_simpleName
transform_name_to_expression
isXMLType
$1 = [Object 57219105, class='controllers::MyController']]
1433854825614 Unexpected token: [
], full string: [reduce_simpleName
transform_name_to_expression
isXMLType
$1 = [Object 57219105, class='controllers::MyController']]
1433854825614 Unexpected token: [transform_name_to_expression], full string: [reduce_simpleName
transform_name_to_expression
isXMLType
$1 = [Object 57219105, class='controllers::MyController']]
], full string: [reduce_simpleName
transform_name_to_expression
isXMLType
$1 = [Object 57219105, class='controllers::MyController']]
1433854825614 Unexpected token: [
], full string: [reduce_simpleName
transform_name_to_expression
isXMLType
$1 = [Object 57219105, class='controllers::MyController']]
1433854825615 Unexpected token: [isXMLType], full string: [reduce_simpleName
transform_name_to_expression
isXMLType
$1 = [Object 57219105, class='controllers::MyController']]
], full string: [reduce_simpleName
transform_name_to_expression
isXMLType
$1 = [Object 57219105, class='controllers::MyController']]
1433854825616 Unexpected token: [
], full string: [reduce_simpleName
transform_name_to_expression
isXMLType
$1 = [Object 57219105, class='controllers::MyController']]
1433854825641 Sent:info arguments
1433854825660 event = [Object 105228257, class='org.apache.flex.events::CustomEvent']
1433854825660 Processed by com.intellij.lang.javascript.flex.debug.FlexStackFrame$2
1433854825661 Sent:info locals
1433854825710 field = undefined
1433854825710 Processed by com.intellij.lang.javascript.flex.debug.FlexStackFrame$2
1433854825711 Sent:info scopechain
1433854825760 0 = [Object 57219105, class='controllers::MyController']
1 = [Object 85242817, class='controllers::MyController$']
2 = [Object 85135417, class='Object$']
3 = [Object 85242785, class='global']
1433854825760 Processed by com.intellij.lang.javascript.flex.debug.FlexStackFrame$4
1433854825761
1433854825762 Processed by com.intellij.lang.javascript.flex.debug.FlexStackFrame$2
1433854825762 Sent:frame
print #57219105.
1433854825810 #0   MyController/radioClickHandler(event=[Object 105228257, class='org.apache.flex.events::CustomEvent'])
 at MyController.as#3:60
1433854825811 Processed by com.intellij.lang.javascript.flex.debug.FlexValue$9
1433854825866 Expression could not be evaluated.
1433854825866 Processed by com.intellij.lang.javascript.flex.debug.FlexValue$9
1433855015652 Sent:continue
1433855021365 [UnloadSWF] U:\sources\flexJsProjects\DataBindingTest\out\production\DataBindingTest\DataBindingTest.swf
Player session terminated

1433855021370 Sent:quit

> I’m still surprised it works from the command line for you.  I left some
> System.out.println calls in the fixed code that should show up in the
> console if you are running the right jars.

Ok, I just discovered that when I set a path to a JarApplication in IJ, it reports it to the others and actually I was running the Flex SDK fdb.jar instead of the falcon one, so, at the end I've got the same exception in both.

When I run fdb.jar from the command line launched by IJ:

"C:\Program Files\Java\jdk1.7.0\bin\java" -Dsun.io.useCanonCaches=false -Xms32m -Xmx512m -Dflexlib=D:/SDKs/FlexJS/0.0.3_FP16.0_AIR16.0_en_US/frameworks -Dfile.encoding=windows-1252 -jar U:\sources\asf\flex\falcon\compiler\generated\dist\sdk\lib\fdb.jar U:\sources\flexJsProjects\DataBindingTest\out\production\DataBindingTest\DataBindingTest.swf
Apache fdb (Flash Player Debugger) [build ]
Copyright 2015 The Apache Software Foundation.
Tentative de lancement et de connexion au lecteur avec l'URL
U:\sources\flexJsProjects\DataBindingTest\out\production\DataBindingTest\DataBindingTest.swf
Lecteur connecté ; lancement de la session.
Définissez des points d'arrêt, puis tapez 'continue' pour reprendre la session.
(fdb) break MyController.as:60
[SWF] U:\sources\flexJsProjects\DataBindingTest\out\production\DataBindingTest\DataBindingTest.swf - 160 891 octets après la décompression
Point d'arrêt 1 : fichier MyController.as, ligne 60
(fdb) c
Point d'arrêt 1, radioClickHandler() sur MyController.as:60
 60                var field:String = MyInitialView(app.initialView).requestedField;
(fdb) info scopechain
0 = [Object 53680161, class='controllers::MyController']
1 = [Object 85177697, class='controllers::MyController$']
2 = [Object 85069881, class='Object$']
3 = [Object 85177665, class='global']
(fdb) print #53680161
Impossible d'évaluer l'expression.
org.apache.flex.compiler.exceptions.BURMAbortException
(fdb)     at org.apache.flex.compiler.exceptions.BURMAbortException.(BURMAbortException.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(Unknown 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)

Thanks,
Frédéric THOMAS

> From: aharui@adobe.com
> To: dev@flex.apache.org
> Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Tue, 9 Jun 2015 12:43:07 +0000
> 
> On 6/9/15, 1:50 AM, "Frédéric THOMAS"  wrote:
> 
>>Is there any special things to do at compilation time ?
> 
> Try deleting the folder called “generated” in the debugger project before
> compiling.  It could be that the build script doesn’t handle that
> correctly.  Also, I assume you re-started IJ after changing jars?
> 
> I’m still surprised it works from the command line for you.  I left some
> System.out.println calls in the fixed code that should show up in the
> console if you are running the right jars.
> 
> -Alex
> 
 		 	   		  

Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

Posted by Alex Harui <ah...@adobe.com>.
On 6/9/15, 1:50 AM, "Frédéric THOMAS" <we...@hotmail.com> wrote:

>Is there any special things to do at compilation time ?

Try deleting the folder called “generated” in the debugger project before
compiling.  It could be that the build script doesn’t handle that
correctly.  Also, I assume you re-started IJ after changing jars?

I’m still surprised it works from the command line for you.  I left some
System.out.println calls in the fixed code that should show up in the
console if you are running the right jars.

-Alex


RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

Posted by Frédéric THOMAS <we...@hotmail.com>.
Is there any special things to do at compilation time ?

I mean I pulled the code, ant all, copied all the jars in the FlexJS SDK folder and have the same result for the same command (print #ObjectReferenceNumber) -> BURMAbortException sent from IJ and the same command from the comand line FDB still works well as before.

Frédéric THOMAS

> From: aharui@adobe.com
> To: dev@flex.apache.org
> Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Tue, 9 Jun 2015 05:58:04 +0000
> 
> OK, I checked in changes that support #ObjectReferenceNumber.  Hopefully
> nothing else broke.
> 
> Let me know,
> -Alex
> 
> On 6/6/15, 8:08 AM, "Frédéric THOMAS" <we...@hotmail.com> wrote:
> 
> >> Weird. I just tried it from my Eclipse setup and reproduced the
> >> BURMAbortException. So I’ll debug it on my end over the weekend.
> >
> >Thanks for trying and good luck with that, I'm totally lost, I also
> >verified that I receive that has been sent.
> >
> >Frédéric THOMAS
> >
> >
> >----------------------------------------
> >> From: aharui@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:42:38 +0000
> >>
> >>
> >>
> >> On 6/6/15, 7:35 AM, "Frédéric THOMAS" <we...@hotmail.com> wrote:
> >>
> >>>> 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.
> >>
> >> Weird. I just tried it from my Eclipse setup and reproduced the
> >> BURMAbortException. So I’ll debug it on my end over the weekend.
> >>
> >> -Alex
> >>
> > 		 	   		  
> 
 		 	   		  

Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

Posted by Alex Harui <ah...@adobe.com>.
OK, I checked in changes that support #ObjectReferenceNumber.  Hopefully
nothing else broke.

Let me know,
-Alex

On 6/6/15, 8:08 AM, "Frédéric THOMAS" <we...@hotmail.com> wrote:

>> Weird. I just tried it from my Eclipse setup and reproduced the
>> BURMAbortException. So I’ll debug it on my end over the weekend.
>
>Thanks for trying and good luck with that, I'm totally lost, I also
>verified that I receive that has been sent.
>
>Frédéric THOMAS
>
>
>----------------------------------------
>> From: aharui@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:42:38 +0000
>>
>>
>>
>> On 6/6/15, 7:35 AM, "Frédéric THOMAS" <we...@hotmail.com> wrote:
>>
>>>> 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.
>>
>> Weird. I just tried it from my Eclipse setup and reproduced the
>> BURMAbortException. So I’ll debug it on my end over the weekend.
>>
>> -Alex
>>
> 		 	   		  


RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

Posted by Frédéric THOMAS <we...@hotmail.com>.
> Weird. I just tried it from my Eclipse setup and reproduced the
> BURMAbortException. So I’ll debug it on my end over the weekend.

Thanks for trying and good luck with that, I'm totally lost, I also verified that I receive that has been sent.

Frédéric THOMAS


----------------------------------------
> From: aharui@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:42:38 +0000
>
>
>
> On 6/6/15, 7:35 AM, "Frédéric THOMAS" <we...@hotmail.com> wrote:
>
>>> 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.
>
> Weird. I just tried it from my Eclipse setup and reproduced the
> BURMAbortException. So I’ll debug it on my end over the weekend.
>
> -Alex
>
 		 	   		  

Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

Posted by Alex Harui <ah...@adobe.com>.

On 6/6/15, 7:35 AM, "Frédéric THOMAS" <we...@hotmail.com> wrote:

>> 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.

Weird.  I just tried it from my Eclipse setup and reproduced the
BURMAbortException.  So I’ll debug it on my end over the weekend.

 -Alex		 	   		  


RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

Posted by Frédéric THOMAS <we...@hotmail.com>.
> 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: aharui@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" <we...@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: aharui@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" <we...@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: webdoublefx@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: piotrzarzycki21@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
>>>>>> piotrzarzycki21@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.
>>>>>
>>>>
>>>
>>
>
 		 	   		  

Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

Posted by Alex Harui <ah...@adobe.com>.
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" <we...@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: aharui@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" <we...@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: webdoublefx@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: piotrzarzycki21@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
>> >> > piotrzarzycki21@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.
>> >>  		 	   		  
>> > 		 	   		  
>> 
> 		 	   		  


RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

Posted by Frédéric THOMAS <we...@hotmail.com>.
> 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: aharui@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" <we...@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: webdoublefx@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: piotrzarzycki21@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
> >> > piotrzarzycki21@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.
> >>  		 	   		  
> > 		 	   		  
> 
 		 	   		  

Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

Posted by Alex Harui <ah...@adobe.com>.
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" <we...@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: webdoublefx@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: piotrzarzycki21@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
>> > piotrzarzycki21@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.
>>  		 	   		  
> 		 	   		  


RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

Posted by Frédéric THOMAS <we...@hotmail.com>.
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: webdoublefx@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>(BURMAbortException.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(Unknown 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: piotrzarzycki21@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
> > piotrzarzycki21@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.
>  		 	   		  
 		 	   		  

RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

Posted by Frédéric THOMAS <we...@hotmail.com>.
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>(BURMAbortException.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(Unknown 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: piotrzarzycki21@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
> piotrzarzycki21@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.
 		 	   		  

RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

Posted by piotrz <pi...@gmail.com>.
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
piotrzarzycki21@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.

RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

Posted by Frédéric THOMAS <we...@hotmail.com>.
> Yeah, I still would like to see a FlexJS SDK work in IJ without mixing in
> Flex SDK stuff.  Once we get the packaging straightened out and
> mxml-manifest and intellij-config files in the build, I may spend some
> time installing IJ and trying to figure out what is missing.

Once what you said and the last fix for FDB that still need to be applied done, there will be hopefully nothing else missing., it will work without any Flex SDK stuffs.

Frédéric THOMAS

> From: aharui@adobe.com
> To: dev@flex.apache.org
> Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Thu, 4 Jun 2015 17:26:29 +0000
> 
> 
> 
> On 6/4/15, 10:00 AM, "Frédéric THOMAS" <we...@hotmail.com> wrote:
> 
> >Hi Piotr,
> >
> >> Fred this is Awesome!! <3 Thank you for this video! :) Can I share it
> >> everywhere ? :)
> >
> >Happy you enjoyed it :)
> >
> >Actually, I was waiting for the nightly build first and maybe ask Joseph
> >to do a more appealing video maybe based on mine, I think it is a bit
> >early as things can still change a bit and it would be more a teaser at
> >the moment than something people could use.
> 
> Yeah, I still would like to see a FlexJS SDK work in IJ without mixing in
> Flex SDK stuff.  Once we get the packaging straightened out and
> mxml-manifest and intellij-config files in the build, I may spend some
> time installing IJ and trying to figure out what is missing.
> 
> -Alex
> 
 		 	   		  

Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

Posted by Alex Harui <ah...@adobe.com>.

On 6/4/15, 10:00 AM, "Frédéric THOMAS" <we...@hotmail.com> wrote:

>Hi Piotr,
>
>> Fred this is Awesome!! <3 Thank you for this video! :) Can I share it
>> everywhere ? :)
>
>Happy you enjoyed it :)
>
>Actually, I was waiting for the nightly build first and maybe ask Joseph
>to do a more appealing video maybe based on mine, I think it is a bit
>early as things can still change a bit and it would be more a teaser at
>the moment than something people could use.

Yeah, I still would like to see a FlexJS SDK work in IJ without mixing in
Flex SDK stuff.  Once we get the packaging straightened out and
mxml-manifest and intellij-config files in the build, I may spend some
time installing IJ and trying to figure out what is missing.

-Alex


RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

Posted by Frédéric THOMAS <we...@hotmail.com>.
Hi Piotr,

> Fred this is Awesome!! <3 Thank you for this video! :) Can I share it
> everywhere ? :)

Happy you enjoyed it :)

Actually, I was waiting for the nightly build first and maybe ask Joseph to do a more appealing video maybe based on mine, I think it is a bit early as things can still change a bit and it would be more a teaser at the moment than something people could use.

I've done that for us first but it is public so, do what you like.

Thanks,
Frédéric THOMAS

> Date: Thu, 4 Jun 2015 09:09:52 -0700
> From: piotrzarzycki21@gmail.com
> To: dev@flex.apache.org
> Subject: RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> 
> Fred this is Awesome!! <3 Thank you for this video! :) Can I share it
> everywhere ? :)
> 
> Piotr
> 
> 
> 
> -----
> Apache Flex PMC
> piotrzarzycki21@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-tp47373p47410.html
> Sent from the Apache Flex Development mailing list archive at Nabble.com.
 		 	   		  

RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

Posted by piotrz <pi...@gmail.com>.
Fred this is Awesome!! <3 Thank you for this video! :) Can I share it
everywhere ? :)

Piotr



-----
Apache Flex PMC
piotrzarzycki21@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-tp47373p47410.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

Posted by Frédéric THOMAS <we...@hotmail.com>.
Great, thanks !

Frédéric THOMAS

> From: aharui@adobe.com
> To: dev@flex.apache.org
> Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Thu, 4 Jun 2015 16:49:02 +0000
> 
> 
> 
> On 6/4/15, 9:14 AM, "Frédéric THOMAS" <we...@hotmail.com> wrote:
> >>Well, we use Ant to tweak flex-config-template.xml into flex-config.xml.
> >> It would be nice to
> >> find a way to use Ant to create mxml-manifest.xml and
> >>intellij-config.xml
> >> so the same tags don’t have to be modified in multiple files.  I can
> >>work
> >> on that if you don’t have the time or interest.  I’d probably just
> >>create
> >> more -template.xml files and use copy and echo to append them together
> >> into the 
> >> result files we want.
> >
> >See my last email, otherwise I would prefer you to do it as Ant and me,
> >you are not the best friends and like that I can focus on FDB
> 
> OK.  I will be reviewing the FlexJS and Falcon packaging anyway and will
> work on this.
> 
> Thanks,
> -alex		 	   		  
> 
 		 	   		  

Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

Posted by Alex Harui <ah...@adobe.com>.

On 6/4/15, 9:14 AM, "Frédéric THOMAS" <we...@hotmail.com> wrote:
>>Well, we use Ant to tweak flex-config-template.xml into flex-config.xml.
>> It would be nice to
>> find a way to use Ant to create mxml-manifest.xml and
>>intellij-config.xml
>> so the same tags don’t have to be modified in multiple files.  I can
>>work
>> on that if you don’t have the time or interest.  I’d probably just
>>create
>> more -template.xml files and use copy and echo to append them together
>> into the 
>> result files we want.
>
>See my last email, otherwise I would prefer you to do it as Ant and me,
>you are not the best friends and like that I can focus on FDB

OK.  I will be reviewing the FlexJS and Falcon packaging anyway and will
work on this.

Thanks,
-alex		 	   		  


Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

Posted by piotrz <pi...@gmail.com>.
Thank you Alex and good luck. :)



-----
Apache Flex PMC
piotrzarzycki21@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-tp47373p47416.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

Posted by Alex Harui <ah...@adobe.com>.
On 6/4/15, 9:31 AM, "piotrz" <pi...@gmail.com> wrote:

>One question - I have installed nightly FlexJS, but I don't see ide/IDEA
>folder there. Am I doing something wrong ?

No, I have to fix up the packaging first.  That’s on my list for today and
maybe tomorrow.

-Alex


RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

Posted by piotrz <pi...@gmail.com>.
One question - I have installed nightly FlexJS, but I don't see ide/IDEA
folder there. Am I doing something wrong ?

Piotr



-----
Apache Flex PMC
piotrzarzycki21@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-tp47373p47414.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

Posted by Frédéric THOMAS <we...@hotmail.com>.
> >> How do you override it?  When does IJ create this file?
> >
> >The IntelliJ Flex plugin create this file based on what the user has set
> >in the IntelliJ module configuration build, it generate it at each build
> >and is automatically removed at the end of the compilation, I have no way
> >to change this behavior, what I do instead is I override it with this
> >intellij-config.xml to include what the compiler needs using
> >load-config+=intellij-config.xml
> 
> What happens if you just load-config+=<frameworks folder>/flex-config.xml?
> 

It overrides all the intellij config
> Well, we use Ant to tweak flex-config-template.xml into flex-config.xml.
> It would be nice to
> find a way to use Ant to create mxml-manifest.xml and intellij-config.xml
> so the same tags don’t have to be modified in multiple files.  I can work
> on that if you don’t have the time or interest.  I’d probably just create
> more -template.xml files and use copy and echo to append them together
> into the 
> result files we want.

See my last email, otherwise I would prefer you to do it as Ant and me, you are not the best friends and like that I can focus on FDB

Frédéric THOMAS

> From: aharui@adobe.com
> To: dev@flex.apache.org
> Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Thu, 4 Jun 2015 16:05:32 +0000
> 
> 
> 
> On 6/4/15, 7:55 AM, "Frédéric THOMAS" <we...@hotmail.com> wrote:
> 
> >> How do you override it?  When does IJ create this file?
> >
> >The IntelliJ Flex plugin create this file based on what the user has set
> >in the IntelliJ module configuration build, it generate it at each build
> >and is automatically removed at the end of the compilation, I have no way
> >to change this behavior, what I do instead is I override it with this
> >intellij-config.xml to include what the compiler needs using
> >load-config+=intellij-config.xml
> 
> What happens if you just load-config+=<frameworks folder>/flex-config.xml?
> 
> >
> >> Yes, if that’s the correct timing that will result in overriding.
> >> Although it might be better to find a way to auto-generate the contents
> >> since it is a copy of at least some of our flex-config.xml
> >
> >Have you got a example of a such auto-generation ?
> 
> Well, we use Ant to tweak flex-config-template.xml into flex-config.xml.
> It would be nice to
> find a way to use Ant to create mxml-manifest.xml and intellij-config.xml
> so the same tags don’t have to be modified in multiple files.  I can work
> on that if you don’t have the time or interest.  I’d probably just create
> more -template.xml files and use copy and echo to append them together
> into the 
> result files we want.
> 
> Thanks,
> -Alex
> 
 		 	   		  

Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

Posted by Alex Harui <ah...@adobe.com>.

On 6/4/15, 7:55 AM, "Frédéric THOMAS" <we...@hotmail.com> wrote:

>> How do you override it?  When does IJ create this file?
>
>The IntelliJ Flex plugin create this file based on what the user has set
>in the IntelliJ module configuration build, it generate it at each build
>and is automatically removed at the end of the compilation, I have no way
>to change this behavior, what I do instead is I override it with this
>intellij-config.xml to include what the compiler needs using
>load-config+=intellij-config.xml

What happens if you just load-config+=<frameworks folder>/flex-config.xml?

>
>> Yes, if that’s the correct timing that will result in overriding.
>> Although it might be better to find a way to auto-generate the contents
>> since it is a copy of at least some of our flex-config.xml
>
>Have you got a example of a such auto-generation ?

Well, we use Ant to tweak flex-config-template.xml into flex-config.xml.
It would be nice to
find a way to use Ant to create mxml-manifest.xml and intellij-config.xml
so the same tags don’t have to be modified in multiple files.  I can work
on that if you don’t have the time or interest.  I’d probably just create
more -template.xml files and use copy and echo to append them together
into the 
result files we want.

Thanks,
-Alex


RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

Posted by Frédéric THOMAS <we...@hotmail.com>.
> How do you override it?  When does IJ create this file?

The IntelliJ Flex plugin create this file based on what the user has set in the IntelliJ module configuration build, it generate it at each build and is automatically removed at the end of the compilation, I have no way to change this behavior, what I do instead is I override it with this intellij-config.xml to include what the compiler needs using load-config+=intellij-config.xml

> Yes, if that’s the correct timing that will result in overriding.
> Although it might be better to find a way to auto-generate the contents
> since it is a copy of at least some of our flex-config.xml

Have you got a example of a such auto-generation ?

Frédéric THOMAS

> From: aharui@adobe.com
> To: dev@flex.apache.org
> Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Thu, 4 Jun 2015 14:41:18 +0000
> 
> 
> 
> On 6/4/15, 7:01 AM, "Frédéric THOMAS" <we...@hotmail.com> wrote:
> 
> >> Add it to the source-package target in the FlexJS build script.  But
> >>what
> >> is in it?  Can it be auto-generated?  Does it require references to
> >> regular Flex SDK classes?
> >
> >This is the content [1], IntelliJ creates its own config.xml, it needs to
> >be overrided with the FlexJS stuffs.
> 
> How do you override it?  When does IJ create this file?
> 
> >
> >So, are you saying the best way is to copy it in
> >ide/IDEA/intellij-config.xml and modify the falcon build.xml to copy it
> >to the generated folder?
> 
> Yes, if that’s the correct timing that will result in overriding.
> Although it might be better to find a way to auto-generate the contents
> since it is a copy of at least some of our flex-config.xml
> 
> -Alex		 	   		  
> 
 		 	   		  

Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

Posted by Alex Harui <ah...@adobe.com>.

On 6/4/15, 7:01 AM, "Frédéric THOMAS" <we...@hotmail.com> wrote:

>> Add it to the source-package target in the FlexJS build script.  But
>>what
>> is in it?  Can it be auto-generated?  Does it require references to
>> regular Flex SDK classes?
>
>This is the content [1], IntelliJ creates its own config.xml, it needs to
>be overrided with the FlexJS stuffs.

How do you override it?  When does IJ create this file?

>
>So, are you saying the best way is to copy it in
>ide/IDEA/intellij-config.xml and modify the falcon build.xml to copy it
>to the generated folder?

Yes, if that’s the correct timing that will result in overriding.
Although it might be better to find a way to auto-generate the contents
since it is a copy of at least some of our flex-config.xml

-Alex		 	   		  


RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

Posted by Frédéric THOMAS <we...@hotmail.com>.
> Add it to the source-package target in the FlexJS build script.  But what
> is in it?  Can it be auto-generated?  Does it require references to
> regular Flex SDK classes?

This is the content [1], IntelliJ creates its own config.xml, it needs to be overrided with the FlexJS stuffs.

So, are you saying the best way is to copy it in ide/IDEA/intellij-config.xml and modify the falcon build.xml to copy it to the generated folder?

Frédéric THOMAS

[1]
<?xml version="1.0"?>

<!--

  Licensed to the Apache Software Foundation (ASF) under one or more
  contributor license agreements.  See the NOTICE file distributed with
  this work for additional information regarding copyright ownership.
  The ASF licenses this file to You under the Apache License, Version 2.0
  (the "License"); you may not use this file except in compliance with
  the License.  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.

-->


<flex-config>
   <compiler>
      <mxml>
          <children-as-data>true</children-as-data>
          <imports>
              <implicit-import>org.apache.flex.events.*</implicit-import>
              <implicit-import>org.apache.flex.geom.*</implicit-import>
              <implicit-import>org.apache.flex.core.ClassFactory</implicit-import>
              <implicit-import>org.apache.flex.core.IFactory</implicit-import>
          </imports>
      </mxml>
      <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
      <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
      <binding-value-change-event-type>valueChange</binding-value-change-event-type>
      <binding-event-handler-event>org.apache.flex.events.Event</binding-event-handler-event>
      <binding-event-handler-class>org.apache.flex.events.EventDispatcher</binding-event-handler-class>
      <states-class>org.apache.flex.states.State</states-class>
      <states-instance-override-class>org.apache.flex.states.AddItems</states-instance-override-class>
      <states-property-override-class>org.apache.flex.states.SetProperty</states-property-override-class>
      <states-event-override-class>org.apache.flex.states.SetEventHandler</states-event-override-class>
      <component-factory-class>org.apache.flex.core.ClassFactory</component-factory-class>
      <component-factory-interface>org.apache.flex.core.IFactory</component-factory-interface>

      <namespaces>
      <!-- Specify a URI to associate with a manifest of components for use as MXML -->
      <!-- elements.                                                                -->
         <namespace>
            <uri>library://ns.apache.org/flexjs/basic</uri>
            
            <manifest>../../frameworks/projects/Core/basic-manifest.xml</manifest>
         
        </namespace>                                                 
         <namespace>
            <uri>library://ns.apache.org/flexjs/html5</uri>
            
            <manifest>../../frameworks/projects/HTML5/html5-manifest.xml</manifest>
         
        </namespace>
        <namespace>
            <uri>library://ns.apache.org/flexjs/svg</uri>
             <manifest>../../frameworks/projects/HTML/svg-manifest.xml</manifest>
        </namespace>   
   
      </namespaces>

      <!-- List of CSS or SWC files to apply as a theme. -->
      <theme>
      </theme>
      
   </compiler>   
</flex-config>


> From: aharui@adobe.com
> To: dev@flex.apache.org
> Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Thu, 4 Jun 2015 12:45:51 +0000
> 
> 
> 
> On 6/4/15, 4:47 AM, "Frédéric THOMAS" <we...@hotmail.com> wrote:
> 
> >> Also, I had to add the manifiests to the
> ><InstalledSDK>/frameworks from the Flex SDK, especially
> >mxml-2009-manifest.xml, otherwise intelliJ wasn't able to recognize
> ><fx:Script
> >> Should we add them to the dev SDK too ?
> >
> >I've seen there was in the generated\dist\sdk\frameworks, so, I wonder
> >why they wasn't in the downloaded FlexJS SDK ?
> 
> That folder is generated by copying files from flex-sdk.  FlexJS SDK’s are
> generated from its build.xml.
> 
> >
> >Also, I added a <InstalledFlexJsSDK>\ide\IDEA\intellij-config.xml, what
> >should I do to have it integrated in the futur FlexJS release?
> 
> Add it to the source-package target in the FlexJS build script.  But what
> is in it?  Can it be auto-generated?  Does it require references to
> regular Flex SDK classes?
> 
> -Alex
> 	   		  
> 
 		 	   		  

Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

Posted by Alex Harui <ah...@adobe.com>.

On 6/4/15, 4:47 AM, "Frédéric THOMAS" <we...@hotmail.com> wrote:

>> Also, I had to add the manifiests to the
><InstalledSDK>/frameworks from the Flex SDK, especially
>mxml-2009-manifest.xml, otherwise intelliJ wasn't able to recognize
><fx:Script
>> Should we add them to the dev SDK too ?
>
>I've seen there was in the generated\dist\sdk\frameworks, so, I wonder
>why they wasn't in the downloaded FlexJS SDK ?

That folder is generated by copying files from flex-sdk.  FlexJS SDK’s are
generated from its build.xml.

>
>Also, I added a <InstalledFlexJsSDK>\ide\IDEA\intellij-config.xml, what
>should I do to have it integrated in the futur FlexJS release?

Add it to the source-package target in the FlexJS build script.  But what
is in it?  Can it be auto-generated?  Does it require references to
regular Flex SDK classes?

-Alex
	   		  


RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

Posted by Frédéric THOMAS <we...@hotmail.com>.
> Also, I had to add the manifiests to the 
<InstalledSDK>/frameworks from the Flex SDK, especially 
mxml-2009-manifest.xml, otherwise intelliJ wasn't able to recognize 
<fx:Script
> Should we add them to the dev SDK too ?

I've seen there was in the generated\dist\sdk\frameworks, so, I wonder why they wasn't in the downloaded FlexJS SDK ?

Also, I added a <InstalledFlexJsSDK>\ide\IDEA\intellij-config.xml, what should I do to have it integrated in the futur FlexJS release?

Thanks,
Frédéric THOMAS

> From: webdoublefx@hotmail.com
> To: dev@flex.apache.org
> Subject: RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Thu, 4 Jun 2015 12:16:36 +0100
> 
> > Hmm.  The merge went smoothly.  All tests pass.  I haven’t tried out
> > flex-oem-compiler.jar, so I’ll do that tomorrow.
> 
> Cool !
> Note: Before the merge, my plan was to rename my branch prefixing it 
> with the ticket number (to have the modified code linked in fisheye), 
> rebase from develop (git pull --rebase origin develop), test again, 
> checkout develop + update it, and then merge: git merge --no-ff 
> <MyBranch> 
> 
> Oh, I cherry-picked one remaining commit from my branch and adjusted the build (the compiler.tests was removed from the main target and the swfutils_ckeck was returning fasle in the build.xml taken from my branch).
> And my issue with the swfutils target was because my FLEX_HOME was still pointing on a installed SDK (required by FlexUnit) instead of a dev one.
> 
> Also, I had to add the manifiests to the <InstalledSDK>/frameworks from the Flex SDK, especially mxml-2009-manifest.xml, otherwise intelliJ wasn't able to recognize <fx:Script
> Should we add them to the dev SDK too ?
> 
> I will focus on the debugger now.
> 
> Thanks,
> Frédéric THOMAS
> 
> > From: aharui@adobe.com
> > To: dev@flex.apache.org
> > Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> > Date: Thu, 4 Jun 2015 06:07:47 +0000
> > 
> > Hmm.  The merge went smoothly.  All tests pass.  I haven’t tried out
> > flex-oem-compiler.jar, so I’ll do that tomorrow.
> > 
> > -Alex
> > 
> > On 6/3/15, 10:47 PM, "Alex Harui" <ah...@adobe.com> wrote:
> > 
> > >I’m going to give it a try.  I want to get your stuff into the nightly
> > >builds so folks can try it and the other changes we’ve been making.
> > >
> > >On 6/3/15, 1:31 PM, "Frédéric THOMAS" <we...@hotmail.com> wrote:
> > >
> > >>You can do it if you like or want to speed up on it or any other reasons
> > >>but it wont solve the current issue I have and potentialy the one other
> > >>people will have but if you think you have a good reason enough to do it,
> > >>please, be my guest.
> > >>
> > >>--- Message initial ---
> > >>
> > >>De : "Alex Harui" <ah...@adobe.com>
> > >>Envoyé : 3 juin 2015 20:25
> > >>A : dev@flex.apache.org
> > >>Objet : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> > >>
> > >>How about if I take a shot at merging IDEA into develop?
> > >>
> > >>-Alex
> > >>
> > >>On 6/3/15, 12:23 PM, "Frédéric THOMAS" <we...@hotmail.com> wrote:
> > >>
> > >>>Actually Im out so I will do that tomorrow
> > >>>
> > >>>--- Message initial ---
> > >>>
> > >>>De : "Alex Harui" <ah...@adobe.com>
> > >>>Envoyé : 3 juin 2015 19:33
> > >>>A : dev@flex.apache.org
> > >>>Objet : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> > >>>
> > >>>
> > >>>
> > >>>On 6/3/15, 9:59 AM, "Frédéric THOMAS" <we...@hotmail.com> wrote:
> > >>>
> > >>>>I updated the dev branch 1 or 2 hours ago and had the same issue, will
> > >>>>try to fix it later tonight before finishing FDB and merge the comipler
> > >>>>part.
> > >>>
> > >>>OK.  The CI server said the build of my changes passed.  So, when you
> > >>>are
> > >>>ready feel free to merge or I can do it.  If build breaks after your
> > >>>merge
> > >>>I can try to help fix it.
> > >>>
> > >>>-Alex
> > >>>
> > >>
> > >
> > 
>  		 	   		  
 		 	   		  

RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

Posted by Frédéric THOMAS <we...@hotmail.com>.
> Hmm.  The merge went smoothly.  All tests pass.  I haven’t tried out
> flex-oem-compiler.jar, so I’ll do that tomorrow.

Cool !
Note: Before the merge, my plan was to rename my branch prefixing it 
with the ticket number (to have the modified code linked in fisheye), 
rebase from develop (git pull --rebase origin develop), test again, 
checkout develop + update it, and then merge: git merge --no-ff 
<MyBranch> 

Oh, I cherry-picked one remaining commit from my branch and adjusted the build (the compiler.tests was removed from the main target and the swfutils_ckeck was returning fasle in the build.xml taken from my branch).
And my issue with the swfutils target was because my FLEX_HOME was still pointing on a installed SDK (required by FlexUnit) instead of a dev one.

Also, I had to add the manifiests to the <InstalledSDK>/frameworks from the Flex SDK, especially mxml-2009-manifest.xml, otherwise intelliJ wasn't able to recognize <fx:Script
Should we add them to the dev SDK too ?

I will focus on the debugger now.

Thanks,
Frédéric THOMAS

> From: aharui@adobe.com
> To: dev@flex.apache.org
> Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Thu, 4 Jun 2015 06:07:47 +0000
> 
> Hmm.  The merge went smoothly.  All tests pass.  I haven’t tried out
> flex-oem-compiler.jar, so I’ll do that tomorrow.
> 
> -Alex
> 
> On 6/3/15, 10:47 PM, "Alex Harui" <ah...@adobe.com> wrote:
> 
> >I’m going to give it a try.  I want to get your stuff into the nightly
> >builds so folks can try it and the other changes we’ve been making.
> >
> >On 6/3/15, 1:31 PM, "Frédéric THOMAS" <we...@hotmail.com> wrote:
> >
> >>You can do it if you like or want to speed up on it or any other reasons
> >>but it wont solve the current issue I have and potentialy the one other
> >>people will have but if you think you have a good reason enough to do it,
> >>please, be my guest.
> >>
> >>--- Message initial ---
> >>
> >>De : "Alex Harui" <ah...@adobe.com>
> >>Envoyé : 3 juin 2015 20:25
> >>A : dev@flex.apache.org
> >>Objet : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> >>
> >>How about if I take a shot at merging IDEA into develop?
> >>
> >>-Alex
> >>
> >>On 6/3/15, 12:23 PM, "Frédéric THOMAS" <we...@hotmail.com> wrote:
> >>
> >>>Actually Im out so I will do that tomorrow
> >>>
> >>>--- Message initial ---
> >>>
> >>>De : "Alex Harui" <ah...@adobe.com>
> >>>Envoyé : 3 juin 2015 19:33
> >>>A : dev@flex.apache.org
> >>>Objet : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> >>>
> >>>
> >>>
> >>>On 6/3/15, 9:59 AM, "Frédéric THOMAS" <we...@hotmail.com> wrote:
> >>>
> >>>>I updated the dev branch 1 or 2 hours ago and had the same issue, will
> >>>>try to fix it later tonight before finishing FDB and merge the comipler
> >>>>part.
> >>>
> >>>OK.  The CI server said the build of my changes passed.  So, when you
> >>>are
> >>>ready feel free to merge or I can do it.  If build breaks after your
> >>>merge
> >>>I can try to help fix it.
> >>>
> >>>-Alex
> >>>
> >>
> >
> 
 		 	   		  

Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

Posted by Alex Harui <ah...@adobe.com>.
Hmm.  The merge went smoothly.  All tests pass.  I haven’t tried out
flex-oem-compiler.jar, so I’ll do that tomorrow.

-Alex

On 6/3/15, 10:47 PM, "Alex Harui" <ah...@adobe.com> wrote:

>I’m going to give it a try.  I want to get your stuff into the nightly
>builds so folks can try it and the other changes we’ve been making.
>
>On 6/3/15, 1:31 PM, "Frédéric THOMAS" <we...@hotmail.com> wrote:
>
>>You can do it if you like or want to speed up on it or any other reasons
>>but it wont solve the current issue I have and potentialy the one other
>>people will have but if you think you have a good reason enough to do it,
>>please, be my guest.
>>
>>--- Message initial ---
>>
>>De : "Alex Harui" <ah...@adobe.com>
>>Envoyé : 3 juin 2015 20:25
>>A : dev@flex.apache.org
>>Objet : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
>>
>>How about if I take a shot at merging IDEA into develop?
>>
>>-Alex
>>
>>On 6/3/15, 12:23 PM, "Frédéric THOMAS" <we...@hotmail.com> wrote:
>>
>>>Actually Im out so I will do that tomorrow
>>>
>>>--- Message initial ---
>>>
>>>De : "Alex Harui" <ah...@adobe.com>
>>>Envoyé : 3 juin 2015 19:33
>>>A : dev@flex.apache.org
>>>Objet : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
>>>
>>>
>>>
>>>On 6/3/15, 9:59 AM, "Frédéric THOMAS" <we...@hotmail.com> wrote:
>>>
>>>>I updated the dev branch 1 or 2 hours ago and had the same issue, will
>>>>try to fix it later tonight before finishing FDB and merge the comipler
>>>>part.
>>>
>>>OK.  The CI server said the build of my changes passed.  So, when you
>>>are
>>>ready feel free to merge or I can do it.  If build breaks after your
>>>merge
>>>I can try to help fix it.
>>>
>>>-Alex
>>>
>>
>


Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

Posted by Alex Harui <ah...@adobe.com>.
I’m going to give it a try.  I want to get your stuff into the nightly
builds so folks can try it and the other changes we’ve been making.

On 6/3/15, 1:31 PM, "Frédéric THOMAS" <we...@hotmail.com> wrote:

>You can do it if you like or want to speed up on it or any other reasons
>but it wont solve the current issue I have and potentialy the one other
>people will have but if you think you have a good reason enough to do it,
>please, be my guest.
>
>--- Message initial ---
>
>De : "Alex Harui" <ah...@adobe.com>
>Envoyé : 3 juin 2015 20:25
>A : dev@flex.apache.org
>Objet : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
>
>How about if I take a shot at merging IDEA into develop?
>
>-Alex
>
>On 6/3/15, 12:23 PM, "Frédéric THOMAS" <we...@hotmail.com> wrote:
>
>>Actually Im out so I will do that tomorrow
>>
>>--- Message initial ---
>>
>>De : "Alex Harui" <ah...@adobe.com>
>>Envoyé : 3 juin 2015 19:33
>>A : dev@flex.apache.org
>>Objet : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
>>
>>
>>
>>On 6/3/15, 9:59 AM, "Frédéric THOMAS" <we...@hotmail.com> wrote:
>>
>>>I updated the dev branch 1 or 2 hours ago and had the same issue, will
>>>try to fix it later tonight before finishing FDB and merge the comipler
>>>part.
>>
>>OK.  The CI server said the build of my changes passed.  So, when you are
>>ready feel free to merge or I can do it.  If build breaks after your
>>merge
>>I can try to help fix it.
>>
>>-Alex
>>
>