@Alexander

Fixed: https://issues.apache.org/jira/browse/FLEX-34346 (the compiled FDB 
attached)

In a mxml file, when a inline item renderer is defined, a file id is added to 
the file list of the SWF linking the source of this file, 1 per item renderer + 
the class itself, the fix says if the path of the source file is found more 
than once, consider that's the same one.

Not sure if I have to distinguish between those different file id, in the tests 
I did, I can't see any difference, so, I take only the first reference I meet 
to set the breakpoints in.

Lemme know if it is good enough for you.

Frédéric THOMAS

> From: webdoubl...@hotmail.com
> To: dev@flex.apache.org
> Subject: RE: [FDB] Integration
> Date: Thu, 29 May 2014 17:11:13 +0100
> 
> I just merged the FDBWorkers branch onto the Develop branch, DO NOT DELETE 
> the FDBWorkers branch, it will serve me as base for the Falcon version of FDB.
> 
> @Alexander
> Thanks for catching that, will fix it tomorrow.
> 
> Frédéric THOMAS
> 
> > Date: Thu, 29 May 2014 19:38:37 +0400
> > From: alexander.doros...@jetbrains.com
> > To: dev@flex.apache.org
> > Subject: Re: [FDB] Integration
> > 
> > On 29.05.2014 19:08, Frédéric THOMAS wrote:
> > > The lasted FDB: https://issues.apache.org/jira/browse/FLEX-34342 (Break 
> > > and Clear command should accept paths)
> > Works great!
> > However I was lucky to catch one tricky regression.
> > If MXML file contains inline item renderer(s) then this mxml file has 
> > more than one IDs. FDB from Flex SDK 4.12 is able to set breakpoint by 
> > 'break App.mxml:20', but your latest FDB says
> > Ambiguous matching file names:
> >   App.mxml#68
> >   App.mxml#168
> > and it is impossible to set breakpoint using full path as it is the same 
> > file.
> > Example to reproduce:
> > 
> > <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009";
> >                 xmlns:s="library://ns.adobe.com/flex/spark">
> >      <s:List dataProvider="{new ArrayList([1, 2, 3])}">
> >          <s:itemRenderer>
> >              <fx:Component>
> >                  <s:Button/>
> >              </fx:Component>
> >          </s:itemRenderer>
> >      </s:List>
> >      <fx:Script><![CDATA[
> >          import mx.collections.ArrayList;
> >          ]]></fx:Script>
> > </s:Application>
>                                         
                                          

Reply via email to