Return-Path: X-Original-To: apmail-flex-dev-archive@www.apache.org Delivered-To: apmail-flex-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9408F11530 for ; Fri, 23 May 2014 12:46:31 +0000 (UTC) Received: (qmail 88922 invoked by uid 500); 23 May 2014 12:46:31 -0000 Delivered-To: apmail-flex-dev-archive@flex.apache.org Received: (qmail 88883 invoked by uid 500); 23 May 2014 12:46:31 -0000 Mailing-List: contact dev-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list dev@flex.apache.org Received: (qmail 88874 invoked by uid 99); 23 May 2014 12:46:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 May 2014 12:46:31 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of webdoublefx@hotmail.com designates 157.55.2.86 as permitted sender) Received: from [157.55.2.86] (HELO DUB004-OMC4S11.hotmail.com) (157.55.2.86) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 May 2014 12:46:25 +0000 Received: from DUB118-W39 ([157.55.2.73]) by DUB004-OMC4S11.hotmail.com with Microsoft SMTPSVC(7.5.7601.22678); Fri, 23 May 2014 05:46:03 -0700 X-TMN: [gsNeGcw/y72EhE70wAZlWuHX5dPS+p0H] X-Originating-Email: [webdoublefx@hotmail.com] Message-ID: Content-Type: multipart/alternative; boundary="_8da7fba2-15c5-459c-a46c-b8cafd6ee2ff_" From: =?iso-8859-1?B?RnLpZOlyaWMgVEhPTUFT?= To: "dev@flex.apache.org" Subject: RE: [FDB] Integration Date: Fri, 23 May 2014 13:46:03 +0100 Importance: Normal In-Reply-To: References: <1398522395616-37266.post@n4.nabble.com>,,,,<535F8C23.8000307@jetbrains.com>,,<535FBF4B.7040500@jetbrains.com>,,,,,,,,,<5360E082.3060407@jetbrains.com>,,,<53611394.6030106@jetbrains.com>,,,,,,,,,,,,, MIME-Version: 1.0 X-OriginalArrivalTime: 23 May 2014 12:46:03.0653 (UTC) FILETIME=[F5141B50:01CF7684] X-Virus-Checked: Checked by ClamAV on apache.org --_8da7fba2-15c5-459c-a46c-b8cafd6ee2ff_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi guys=2C Just to tell you I open a ticket for AIR https://bugbase.adobe.com/index.cf= m?event=3Dbug&id=3D3765216 to have the fixes I did fixed for AIR FDB too=2C= not sure they will do it though. I will push the work I did on the develop branch next week if there's no ob= jections. =0A= =0A= Fr=E9d=E9ric THOMAS > From: webdoublefx@hotmail.com > To: dev@flex.apache.org > Subject: RE: [FDB] Integration > Date: Sat=2C 3 May 2014 19:15:23 +0100 >=20 > Resolved another issue [1]=2C so=2C the last FDB is there. >=20 > Fr=E9d=E9ric THOMAS >=20 > [1] https://issues.apache.org/jira/browse/FLEX-34297 >=20 > > From: webdoublefx@hotmail.com > > To: dev@flex.apache.org > > Subject: RE: [FDB] Integration > > Date: Sat=2C 3 May 2014 16:49:30 +0100 > >=20 > > Hi=2C > >=20 > > I just pushed 2 commits for the issues [1] [2]=2C I would appreciate if= someone have time to do more testing=2C I will add the compiled FDB in few= minutes. > >=20 > > Thanks=2C > > Fr=E9d=E9ric THOMAS > >=20 > > [1] https://issues.apache.org/jira/browse/FLEX-34295 > > [2] https://issues.apache.org/jira/browse/FLEX-34296 > >=20 > > > From: webdoublefx@hotmail.com > > > To: dev@flex.apache.org > > > Subject: RE: [FDB] Integration > > > Date: Thu=2C 1 May 2014 14:43:51 +0100 > > >=20 > > > Oups=2C thanks=2C done !! > > >=20 > > > Fr=E9d=E9ric THOMAS > > >=20 > > > > From: aharui@adobe.com > > > > To: dev@flex.apache.org > > > > Subject: Re: [FDB] Integration > > > > Date: Thu=2C 1 May 2014 13:35:35 +0000 > > > >=20 > > > > Hi Fred=2C the DebuggableWorker class code looks fine. The file sh= ould > > > > probably have an Apache Header instead of what it has now. > > > >=20 > > > > -Alex > > > >=20 > > > > On 5/1/14 6:21 AM=2C "Fr=E9d=E9ric THOMAS" wrote: > > > >=20 > > > > >Alex=2C > > > > > > > > > >I pushed the commit in the FDBWorkers branch=2C if you want to hav= e a look > > > > >before I merge it in Develop=2C that's won't be now but still. > > > > >This is the JIRA https://issues.apache.org/jira/browse/FLEX-34294 = if you > > > > >want to check the code via the "Source" tab instead in few minutes= . > > > > > > > > > >Thanks for your help ! > > > > > > > > > >Fr=E9d=E9ric THOMAS > > > > > > > > > >> From: aharui@adobe.com > > > > >> To: dev@flex.apache.org > > > > >> Subject: Re: [FDB] Integration > > > > >> Date: Wed=2C 30 Apr 2014 20:38:50 +0000 > > > > >>=20 > > > > >> I think core.swc is supposed to contain stuff you can use in AS3 > > > > >>projects > > > > >> w/o pulling in all of the other Flex stuff. Maybe it can go the= re? > > > > >>=20 > > > > >> On 4/30/14 1:08 PM=2C "Fr=E9d=E9ric THOMAS" wrote: > > > > >>=20 > > > > >> >Alex=2C > > > > >> > > > > > >> >Too much time on it=2C the reason why it didn't stop in the wor= ker is > > > > >> >because the compiled worker didn't included the base worker cla= ss=2C > > > > >>better > > > > >> >that than what I thought :P > > > > >> > > > > > >> >Also=2C it's going to work for Flex projects but not for pure A= S3 > > > > >>projects > > > > >> >if I put that base class in the existing libs=2C should we crea= te an > > > > >>other > > > > >> >lib that pure AS3 project could reference ? how do you see it c= ould be > > > > >> >better ? > > > > >> > > > > > >> >Is it a good solution for IDEs ? > > > > >> > > > > > >> >Fr=E9d=E9ric THOMAS > > > > >> > > > > > >> >> From: webdoublefx@hotmail.com > > > > >> >> To: dev@flex.apache.org > > > > >> >> Subject: RE: [FDB] Integration > > > > >> >> Date: Wed=2C 30 Apr 2014 20:17:29 +0100 > > > > >> >>=20 > > > > >> >> It is not even that=2C even if I stop in the main thread=2C s= witch to the > > > > >> >>worker and try to stop it=2C it doesn't want=2C digging into..= .. > > > > >> >>=20 > > > > >> >> Fr=E9d=E9ric THOMAS > > > > >> >>=20 > > > > >> >> > From: webdoublefx@hotmail.com > > > > >> >> > To: dev@flex.apache.org > > > > >> >> > Subject: RE: [FDB] Integration > > > > >> >> > Date: Wed=2C 30 Apr 2014 19:47:33 +0100 > > > > >> >> >=20 > > > > >> >> > What I did and 1st surprised I thought it was the "halt" co= mmand to > > > > >> >>debug=2C not even=2C it was in the main loop and the trick is= =2C I had to > > > > >>code > > > > >> >>to stop only on the main thread=2C it doesn't work with the cu= rrent > > > > >> >>implementation=2C well=2C not so but at the end=2C given once = it is halted > > > > >>we > > > > >> >>can switch to another one=2C halt it and so on. > > > > >> >> >=20 > > > > >> >> > So=2C at the IDE point of view=2C I'm scared that the users= can only > > > > >>halt > > > > >> >>in the main thread even using a base Worker and the fix I foun= d=2C now I > > > > >> >>wonder if we need to raise a bug in the FlashPlayer ? > > > > >> >> > It doesn't answer to the requested message sent to a worker= : > > > > >> >>simpleRequestResponseMessageIsolate(DMessage.OutStopDebug=2C > > > > >> >>DMessage.InBreakAtExt=2C every=2C isolateId)=3B > > > > >> >> >=20 > > > > >> >> > Fr=E9d=E9ric THOMAS > > > > >> >> >=20 > > > > >> >> > > From: aharui@adobe.com > > > > >> >> > > To: dev@flex.apache.org > > > > >> >> > > Subject: Re: [FDB] Integration > > > > >> >> > > Date: Wed=2C 30 Apr 2014 17:02:01 +0000 > > > > >> >> > >=20 > > > > >> >> > > Looks right. Maybe capabilities.isDebugger isn't true or > > > > >> >>setInterval > > > > >> >> > > doesn't work? > > > > >> >> > >=20 > > > > >> >> > > You've got a new debugger=2C step through it. =3B-) > > > > >> >> > >=20 > > > > >> >> > > -Alex > > > > >> >> > >=20 > > > > >> >> > > On 4/30/14 9:58 AM=2C "Fr=E9d=E9ric THOMAS" > > > > >> >>wrote: > > > > >> >> > >=20 > > > > >> >> > > >I created a base class that the workers extend but doesn= 't seem > > > > >>to > > > > >> >>work=2C > > > > >> >> > > >did I miss something ? > > > > >> >> > > > > > > > >> >> > > >/** > > > > >> >> > > > * User: DoubleFx Date: 30/04/2014 Time: 17:34 > > > > >> >> > > > */ > > > > >> >> > > >package { > > > > >> >> > > >import flash.display.Sprite=3B > > > > >> >> > > >import flash.system.Capabilities=3B > > > > >> >> > > >import flash.utils.setInterval=3B > > > > >> >> > > > > > > > >> >> > > >public class DebugWorker extends Sprite { > > > > >> >> > > > > > > > >> >> > > > public function DebugWorker() { > > > > >> >> > > > > > > > >> >> > > > // Stick a timer here so that we will execute sc= ript > > > > >>every > > > > >> >>1.5s > > > > >> >> > > > // no matter what. > > > > >> >> > > > // This is strictly for the debugger to be able = to halt. > > > > >> >> > > > // Note: isDebugger is true only with a Debugger= Player. > > > > >> >> > > > if (Capabilities.isDebugger =3D=3D true) { > > > > >> >> > > > setInterval(debugTickler=2C 1500)=3B > > > > >> >> > > > } > > > > >> >> > > > } > > > > >> >> > > > > > > > >> >> > > > /** > > > > >> >> > > > * @private > > > > >> >> > > > * This is here so we get the this pointer set to > > > > >>Application. > > > > >> >> > > > */ > > > > >> >> > > > private function debugTickler():void { > > > > >> >> > > > // We need some bytes of code in order to have a= place > > > > >>to > > > > >> >>break. > > > > >> >> > > > var i:int =3D 0=3B > > > > >> >> > > > } > > > > >> >> > > >} > > > > >> >> > > >} > > > > >> >> > > > > > > > >> >> > > > > > > > >> >> > > >Fr=E9d=E9ric THOMAS > > > > >> >> > > > > > > > >> >> > > >> From: aharui@adobe.com > > > > >> >> > > >> To: dev@flex.apache.org > > > > >> >> > > >> Subject: Re: [FDB] Integration > > > > >> >> > > >> Date: Wed=2C 30 Apr 2014 16:18:04 +0000 > > > > >> >> > > >>=20 > > > > >> >> > > >>=20 > > > > >> >> > > >>=20 > > > > >> >> > > >> On 4/30/14 8:49 AM=2C "Fr=E9d=E9ric THOMAS" > > > > >> > > > > >> >>wrote: > > > > >> >> > > >>=20 > > > > >> >> > > >> >Could be a solution=2C you meant like the idleTimer i= n > > > > >> >>SystemManager ? > > > > >> >> > > >> Actually=2C I was referring to debugTickler in Applica= tion.as > > > > >> >>(both mx and > > > > >> >> > > >> spark). > > > > >> >> > > >>=20 > > > > >> >> > > >> -Alex > > > > >> >> > > >>=20 > > > > >> >> > > > =09 > > > > >> >> > >=20 > > > > >> >> > =20 > > > > >> >> =20 > > > > >> > =20 > > > > >>=20 > > > > > =20 > > > >=20 > > > =20 > > =20 > =20 = --_8da7fba2-15c5-459c-a46c-b8cafd6ee2ff_--