flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frédéric THOMAS <webdoubl...@hotmail.com>
Subject RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
Date Wed, 10 Jun 2015 15:24:44 GMT
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
>>>>
>>>
>>
>
 		 	   		  

Mime
View raw message