> I didn’t think there was a different debugger code base for Falcon.
That's a while, but IIRC and I can be wrong, it seems to me I had to remap some
classes onto the asc or compiler, can't exactly remember, I should look at the
git history and compare to be sure.
> I think Piotr and Kevin reported an exception that indicates that some of
> the FDB classes may be monkey-patched in some of the IntelliJ jars and
> when you combine those with the most recent FDB classes from Apache Flex
> things did not work because as part of the workers change, the APIs for
> FaultAction changed.
AFAIK, it is not the reason why, othewise, how could it work with the same FDB
of the from the Flex SDK ?
IMO, he was missing some dependencies that have been filled overlaying the SDK.
After a quick look at FaultAction, this class has been reworked by Adobe
because I integrated it as is and didn't touch it.
> IMO, we would want FlexJS releases to bundle FDB from a recent Flex SDK,
> and getting IntelliJ to work with that configuration would be “better”.
Sure even though it could make my life easier if in a eventual IntelliJ plugin,
I add a FlexJS facet to a FlexSDK than if I create a full plugin, even if this
one is based on Randori, it still remains a huge task.
> When you do an overlay, does code hinting also show Flex SDK classes as
> well as the FlexJS classes?
Yes, if you import a mx or spark button, you will see also its definition, code
hinting, etc...
> Yes, I saw that, and thanks for doing it. One other thing that I’ve
> noticed in FDB since the workers change is that I can’t just do “list 49”
> or “break 49” and have FDB apply that to the “current file”. Since the
> workers change I have to do “list myfile.as:49” or “break myfile.as:49”.
> The “current file” used to be the last file being listed or the file we
> stopped at for a breakpoint. Does the workers feature prevent having a
> “current file” concept?
Hey, why didn't you raise a bug on that before ?? :-)
I had a look at it and yes, in this case I forgot to look for the file location.
What do you want to do, raise a bug for the record or you prefer I commit the
fix directly ?
Thanks,
Frédéric THOMAS
> From: aha...@adobe.com
> To: dev@flex.apache.org
> Subject: Re: [FlexJS] IntelliJ Integration
> Date: Fri, 15 May 2015 13:04:01 +0000
>
>
>
> On 5/15/15, 5:31 AM, "Frédéric THOMAS" <webdoubl...@hotmail.com> wrote:
>
> >Hi Alex,
> >
> >It seems I've been wrong here, I didn't get well the context and I was
> >missing data, I thougt FDB in Falcon was the donated version, it seems to
> >be wrong and FDB is only a copy of the one in the Flex SDK, right ?
> >
> >If I'm correct, why don't we use the donated one which was based on
> >Falcon IIRC ?
>
> I didn’t think there was a different debugger code base for Falcon.
>
> >
> >The FDB bug you mentioned was when we haven't yet overlaid the Flex SDK
> >on top of the FlexJS one, or the opposite way, correct ?
> >If so, doesn't it mean, there were some dependencies missing instead ?
> >
> >When FlexJS is used as a lib on top of a old SDK, in IntelliJ, I can set
> >the debugger I want to use, I tried with the one in FlexJS and the one in
> >my old 4.10, they both work well.
>
> I think Piotr and Kevin reported an exception that indicates that some of
> the FDB classes may be monkey-patched in some of the IntelliJ jars and
> when you combine those with the most recent FDB classes from Apache Flex
> things did not work because as part of the workers change, the APIs for
> FaultAction changed.
>
> IMO, we would want FlexJS releases to bundle FDB from a recent Flex SDK,
> and getting IntelliJ to work with that configuration would be “better”.
> When you do an overlay, does code hinting also show Flex SDK classes as
> well as the FlexJS classes?
>
> >
> >Anyway, I fixed the remaining open bug in FDB relative to worker last
> >night.
>
> Yes, I saw that, and thanks for doing it. One other thing that I’ve
> noticed in FDB since the workers change is that I can’t just do “list 49”
> or “break 49” and have FDB apply that to the “current file”. Since the
> workers change I have to do “list myfile.as:49” or “break myfile.as:49”.
> The “current file” used to be the last file being listed or the file we
> stopped at for a breakpoint. Does the workers feature prevent having a
> “current file” concept?
>
> Thanks,
> -Alex
>