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 4F458FE43 for ; Fri, 19 Apr 2013 06:18:20 +0000 (UTC) Received: (qmail 48875 invoked by uid 500); 19 Apr 2013 06:18:19 -0000 Delivered-To: apmail-flex-dev-archive@flex.apache.org Received: (qmail 48703 invoked by uid 500); 19 Apr 2013 06:18:18 -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 48662 invoked by uid 99); 19 Apr 2013 06:18:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Apr 2013 06:18:17 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of harbs.lists@gmail.com designates 74.125.83.51 as permitted sender) Received: from [74.125.83.51] (HELO mail-ee0-f51.google.com) (74.125.83.51) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Apr 2013 06:18:11 +0000 Received: by mail-ee0-f51.google.com with SMTP id c4so1581339eek.38 for ; Thu, 18 Apr 2013 23:17:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=NQW1j+Zf92EG0qidGL68XQGTrlxdcTEOs4X6ePjjNhs=; b=h81/LN1k023tLGeeZ245OjIq3r0SZebwM//+1Z7SRAgzlJLAJDETuD854OoYzRIrWp 7ivBHJEMv4LnBgzJqy7FJJbW5FvtnNxksCr9+cOvi1268644FuvJL+AkfGRZ+/WycIAd bj6B5/IhtVBGmOgsMLRHjgfPRx7bTy/RGOwKp6WFGalN3WNfjSWW8F96pkGAX3qhtsSO ANbyJIQRjRD/N17inhmmSzuIphfYdOQS6BIloU6TTX1Y6KKdc/0NtumlyMHF+80nsZYU XXqZT0zQABCUNlkmkTIfCd405zVyzoo1OyNHq0X6ZkPcbpw7tEils1T/Bmfrs2tuy1w7 h4Pg== X-Received: by 10.15.22.199 with SMTP id f47mr38361855eeu.11.1366352270363; Thu, 18 Apr 2013 23:17:50 -0700 (PDT) Received: from [192.168.0.5] (93-173-227-94.bb.netvision.net.il. [93.173.227.94]) by mx.google.com with ESMTPS id f9sm5298781eeu.11.2013.04.18.23.17.48 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 18 Apr 2013 23:17:49 -0700 (PDT) Content-Type: text/plain; charset=iso-8859-2 Mime-Version: 1.0 (Apple Message framework v1283) Subject: Re: fdb From: Harbs In-Reply-To: Date: Fri, 19 Apr 2013 09:17:46 +0300 Content-Transfer-Encoding: quoted-printable Message-Id: <70F228C1-7456-48D3-8CFC-63ED9097089B@gmail.com> References: To: dev@flex.apache.org X-Mailer: Apple Mail (2.1283) X-Virus-Checked: Checked by ClamAV on apache.org Almost all of them are fonts compiled as swfs. They are generally = somewhere between 50 and 300 KB. On Apr 19, 2013, at 9:11 AM, Alex Harui wrote: > How big are these SWFs? What kind of content do they have? >=20 >=20 > On 4/18/13 11:06 PM, "Harbs" wrote: >=20 >>=20 >> On Apr 19, 2013, at 8:57 AM, Alex Harui wrote: >>=20 >>> And while you wait is memory growing? >>=20 >> No. It seemed to stay pretty constant. If it grew, it was slight. = Nothing >> drastic here. >>=20 >>> When you changed the fdb script to add more memory did you then test = from >>> command-line FDB or from IntelliJ? I don't know if changing the = script will >>> affect IntelliJ. >>=20 >>=20 >> I tested in both. The results were pretty similar. >>=20 >>>=20 >>> On 4/18/13 10:51 PM, "Harbs" wrote: >>>=20 >>>> For every asset I load (external swf font or module), I get this: >>>>=20 >>>> Additional ActionScript code has been loaded from a SWF or a frame. >>>> To see all currently loaded files, type 'info files'. >>>> Set additional breakpoints as desired, and then type 'continue'. >>>> (fdb) c >>>>=20 >>>> For every one it takes at least 10 to 20 seconds until it moves on. >>>>=20 >>>> On Apr 19, 2013, at 8:34 AM, Alex Harui wrote: >>>>=20 >>>>> What does the process manager say about how much memory is = consumed? >>>>>=20 >>>>>=20 >>>>> On 4/18/13 10:31 PM, "Harbs" wrote: >>>>>=20 >>>>>> I did this, but I'm not sure that it made a difference. Safari = still froze >>>>>> and >>>>>> quit. >>>>>>=20 >>>>>> I changed the settings in Firefox to never timeout on frozen = plugins and I >>>>>> got >>>>>> the app to successfully load in a debug session, but it took a = LOONNGG >>>>>> time >>>>>> to >>>>>> load (like several minutes). The whole time that things were = loading, the >>>>>> browser was completely unresponsive. >>>>>>=20 >>>>>> While debugging in Flash Builder, the app is sluggish while the = assets are >>>>>> loading, but not unresponsive the way I'm seeing using fdb, and = the assets >>>>>> load MUCH more quickly. >>>>>>=20 >>>>>> Does anyone have any idea here? I'd love to continue trying to = use >>>>>> IntelliJ >>>>>> IDEA, but waiting several minutes every time I debug for the = assets to >>>>>> load >>>>>> is >>>>>> not an option... >>>>>>=20 >>>>>> On Apr 19, 2013, at 1:18 AM, Fr=E9d=E9ric THOMAS wrote: >>>>>>=20 >>>>>>> try to replace Xmx384m with Xmx768m >>>>>>>=20 >>>>>>> -Fred >>>>>>>=20 >>>>>>> -----Message d'origine----- From: Harbs >>>>>>> Sent: Thursday, April 18, 2013 11:47 PM >>>>>>> To: dev@flex.apache.org >>>>>>> Subject: Re: fdb >>>>>>>=20 >>>>>>>=20 >>>>>>> On Apr 18, 2013, at 10:23 PM, Alex Harui wrote: >>>>>>>=20 >>>>>>>> It looks like the player just quit (where it says "command not = valid >>>>>>>> without >>>>>>>> a session"). >>>>>>>=20 >>>>>>> Maybe, but execution stopped before it quit. >>>>>>>=20 >>>>>>>> Could it just be memory? The fdb files in /bin/ are batch and = shell >>>>>>>> scripts >>>>>>>> and you can change the VMARGS line and give it more memory and = see if it >>>>>>>> gets further. >>>>>>>=20 >>>>>>> Worth a shot, but I'm not sure what to change: >>>>>>>=20 >>>>>>> VMARGS=3D"-Xmx384m -Dsun.io.useCanonCaches=3Dfalse " >>>>>>>=20 >>>>>>> java $VMARGS $D32 "-Dapplication.home=3D$FLEX_HOME" -jar >>>>>>> "$FLEX_HOME/lib/fdb.jar" "$@" >>>>>>>=20 >>>>>>> Which is the memory setting? >>>>>>>=20 >>>>>>>>=20 >>>>>>>>=20 >>>>>>>> On 4/18/13 12:10 PM, "Harbs" wrote: >>>>>>>>=20 >>>>>>>>>=20 >>>>>>>>> On Apr 18, 2013, at 9:19 PM, Alex Harui wrote: >>>>>>>>>=20 >>>>>>>>>>=20 >>>>>>>>>>=20 >>>>>>>>>>=20 >>>>>>>>>> On 4/18/13 10:24 AM, "Harbs" wrote: >>>>>>>>>>=20 >>>>>>>>>>>=20 >>>>>>>>>>> On Apr 18, 2013, at 8:06 PM, Alex Harui wrote: >>>>>>>>>>>=20 >>>>>>>>>>>>>=20 >>>>>>>>>>>>> I'm also going to need to figure out how to debug Java = while >>>>>>>>>>>>> debugging >>>>>>>>>>>>> Flex >>>>>>>>>>>>> at >>>>>>>>>>>>> the same time=A9 :~ >>>>>>>>>>>> I would not use the IDEs since you can reproduce the issue = with >>>>>>>>>>>> command >>>>>>>>>>>> line >>>>>>>>>>>> FDB. In theory, there Eclipse projects files are there in = Git. >>>>>>>>>>>> You'll >>>>>>>>>>>> need >>>>>>>>>>>> Eclipse 3.6 minimum, load all of the projects in, fix up = errors, >>>>>>>>>>>> etc. >>>>>>>>>>>>=20 >>>>>>>>>>>> Then when you launch a debug config for FDB, you should = just be able >>>>>>>>>>>> to >>>>>>>>>>>> run >>>>>>>>>>>> the same steps as if it were off the command line, and if = it hangs, >>>>>>>>>>>> pause >>>>>>>>>>>> Java execution and see where it is. Or is it the player = that hangs? >>>>>>>>>>>=20 >>>>>>>>>>> I really don't know what hangs. I doubt it's the player, = because it >>>>>>>>>>> works >>>>>>>>>>> if >>>>>>>>>>> I >>>>>>>>>>> debug directly in Flash Builder. >>>>>>>>>> Is command-line FDB no longer responsive? Can you quit the = player? >>>>>>>>>> That >>>>>>>>>> might help determine what is hung. >>>>>>>>>=20 >>>>>>>>> Below is the command line log. Maybe it means more to you than = to me... >>>>>>>>> ;-) >>>>>>>>> There should be a trace for each font that's loaded, but = there's only a >>>>>>>>> trace >>>>>>>>> for two of them (in this document). That means that the code = execution >>>>>>>>> was >>>>>>>>> halted prematurely after a couple of the swfs were loaded. >>>>>>>>>=20 >>>>>>>>>>>=20 >>>>>>>>>>> If there's a newer version of fdb waiting to be donated, I = may just >>>>>>>>>>> hold >>>>>>>>>>> off >>>>>>>>>>> on this until we have it, because there's a good chance this = issue is >>>>>>>>>>> fixed >>>>>>>>>>> already since things work in Flash Builder... >>>>>>>>>> This donation is probably a couple of months away if you can = wait that >>>>>>>>>> long. >>>>>>>>>> Maybe I can find time to find the code and see how different = it is >>>>>>>>>> from >>>>>>>>>> what >>>>>>>>>> we have. >>>>>>>>>=20 >>>>>>>>> Flash Builder works. I'd like to try IntelliJ IDEA, but = there's the >>>>>>>>> obvious >>>>>>>>> question of how much time I'd need to invest in that. If it = means >>>>>>>>> helping >>>>>>>>> to >>>>>>>>> fix fdb, I might do it, but if the work was already done, I = don't see >>>>>>>>> spending >>>>>>>>> the time just to be able to use a new IDE a few months early. >>>>>>>>>=20 >>>>>>>>>> -- >>>>>>>>>> Alex Harui >>>>>>>>>> Flex SDK Team >>>>>>>>>> Adobe Systems, Inc. >>>>>>>>>> http://blogs.adobe.com/aharui >>>>>>>>>>=20 >>>>>>>>>=20 >>>>>>>>> (fdb) run >>>>>>>>> Waiting for Player to connect >>>>>>>>> Player connected; session starting. >>>>>>>>> c >>>>>>>>> c >>>>>>>>> c >>>>>>>>> c >>>>>>>>> c >>>>>>>>> c >>>>>>>>> c >>>>>>>>> Set breakpoints and then type 'continue' to resume the = session. >>>>>>>>> (fdb) Do you want to attempt to halt execution? (y or n) Not = confirmed. >>>>>>>>> Do you want to attempt to halt execution? (y or n) Not = confirmed. >>>>>>>>> Do you want to attempt to halt execution? (y or n) Not = confirmed. >>>>>>>>> Do you want to attempt to halt execution? (y or n) Not = confirmed. >>>>>>>>> Do you want to attempt to halt execution? (y or n) Not = confirmed. >>>>>>>>> [SWF] Users:harbs:Documents:svn:PrintUI:PrintUI Flex >>>>>>>>> Dev:trunk:web_app:bin-debug:PrintUI.swf - 5,523,412 bytes = after >>>>>>>>> decompression >>>>>>>>> Additional ActionScript code has been loaded from a SWF or a = frame. >>>>>>>>> To see all currently loaded files, type 'info files'. >>>>>>>>> Set additional breakpoints as desired, and then type = 'continue'. >>>>>>>>> (fdb) Do you want to attempt to halt execution? (y or n) Not = confirmed. >>>>>>>>> Do you want to attempt to halt execution? (y or n) Not = confirmed. >>>>>>>>> Do you want to attempt to halt execution? (y or n) n >>>>>>>>> Not confirmed. >>>>>>>>> [trace] Load Font : Minion Pro Regular >>>>>>>>> [SWF] Users:harbs:Documents:svn:PrintUI:PrintUI Flex >>>>>>>>> Dev:trunk:web_app:bin-debug:PrintUI.swf:[[DYNAMIC]]:3 - = 212,205 bytes >>>>>>>>> after >>>>>>>>> decompression >>>>>>>>> Additional ActionScript code has been loaded from a SWF or a = frame. >>>>>>>>> To see all currently loaded files, type 'info files'. >>>>>>>>> Set additional breakpoints as desired, and then type = 'continue'. >>>>>>>>> (fdb) continue >>>>>>>>> [trace] Minion Pro Regular loaded. >>>>>>>>> [trace] Load Font : Impact Regular >>>>>>>>> [trace] Load Font : Stencil Std Bold >>>>>>>>> [trace] Load Font : Candara Regular >>>>>>>>> [trace] Load Font : Candara Italic >>>>>>>>> [trace] Load Font : Candara Bold >>>>>>>>> [trace] Load Font : Candara Bold Italic >>>>>>>>> [trace] Load Font : Courier New Regular >>>>>>>>> [trace] Load Font : Courier New Italic >>>>>>>>> [trace] Load Font : Courier New Bold >>>>>>>>> [trace] Load Font : Courier New Bold Italic >>>>>>>>> [trace] Load Font : Times New Roman Regular >>>>>>>>> [trace] Load Font : Times New Roman Italic >>>>>>>>> [trace] Load Font : Times New Roman Bold >>>>>>>>> [trace] Load Font : Times New Roman Bold Italic >>>>>>>>> [SWF] Users:harbs:Documents:svn:PrintUI:PrintUI Flex >>>>>>>>> Dev:trunk:web_app:bin-debug:PrintUI.swf:[[DYNAMIC]]:6 - 114 = bytes after >>>>>>>>> decompression >>>>>>>>> [SWF] Users:harbs:Documents:svn:PrintUI:PrintUI Flex >>>>>>>>> Dev:trunk:web_app:bin-debug:PrintUI.swf:[[DYNAMIC]]:7 - 116 = bytes after >>>>>>>>> decompression >>>>>>>>> [SWF] Users:harbs:Documents:svn:PrintUI:PrintUI Flex >>>>>>>>> Dev:trunk:web_app:bin-debug:PrintUI.swf:[[DYNAMIC]]:8 - 114 = bytes after >>>>>>>>> decompression >>>>>>>>> [SWF] Users:harbs:Documents:svn:PrintUI:PrintUI Flex >>>>>>>>> Dev:trunk:web_app:bin-debug:PrintUI.swf:[[DYNAMIC]]:9 - 116 = bytes after >>>>>>>>> decompression >>>>>>>>> [SWF] Users:harbs:Documents:svn:PrintUI:PrintUI Flex >>>>>>>>> Dev:trunk:web_app:bin-debug:PrintUI.swf:[[DYNAMIC]]:10 - 114 = bytes >>>>>>>>> after >>>>>>>>> decompression >>>>>>>>> [SWF] Users:harbs:Documents:svn:PrintUI:PrintUI Flex >>>>>>>>> Dev:trunk:web_app:bin-debug:PrintUI.swf:[[DYNAMIC]]:11 - 116 = bytes >>>>>>>>> after >>>>>>>>> decompression >>>>>>>>> [SWF] Users:harbs:Documents:svn:PrintUI:PrintUI Flex >>>>>>>>> Dev:trunk:web_app:bin-debug:PrintUI.swf:[[DYNAMIC]]:12 - 114 = bytes >>>>>>>>> after >>>>>>>>> decompression >>>>>>>>> [SWF] Users:harbs:Documents:svn:PrintUI:PrintUI Flex >>>>>>>>> Dev:trunk:web_app:bin-debug:PrintUI.swf:[[DYNAMIC]]:13 - 114 = bytes >>>>>>>>> after >>>>>>>>> decompression >>>>>>>>> [SWF] Users:harbs:Documents:svn:PrintUI:PrintUI Flex >>>>>>>>> Dev:trunk:web_app:bin-debug:PrintUI.swf:[[DYNAMIC]]:14 - 116 = bytes >>>>>>>>> after >>>>>>>>> decompression >>>>>>>>> [SWF] Users:harbs:Documents:svn:PrintUI:PrintUI Flex >>>>>>>>> Dev:trunk:web_app:bin-debug:PrintUI.swf:[[DYNAMIC]]:15 - 116 = bytes >>>>>>>>> after >>>>>>>>> decompression >>>>>>>>> [SWF] Users:harbs:Documents:svn:PrintUI:PrintUI Flex >>>>>>>>> Dev:trunk:web_app:bin-debug:PrintUI.swf:[[DYNAMIC]]:16 - = 50,797 bytes >>>>>>>>> after >>>>>>>>> decompression >>>>>>>>> continue >>>>>>>>> Additional ActionScript code has been loaded from a SWF or a = frame. >>>>>>>>> To see all currently loaded files, type 'info files'. >>>>>>>>> Set additional breakpoints as desired, and then type = 'continue'. >>>>>>>>> (fdb) continue >>>>>>>>> [trace] Impact Regular loaded. >>>>>>>>> Do you want to attempt to halt execution? (y or n) n >>>>>>>>> Not confirmed. >>>>>>>>> [SWF] Users:harbs:Documents:svn:PrintUI:PrintUI Flex >>>>>>>>> Dev:trunk:web_app:bin-debug:PrintUI.swf:[[DYNAMIC]]:17 - = 247,830 bytes >>>>>>>>> after >>>>>>>>> decompression >>>>>>>>> [SWF] Users:harbs:Documents:svn:PrintUI:PrintUI Flex >>>>>>>>> Dev:trunk:web_app:bin-debug:PrintUI.swf:[[DYNAMIC]]:18 - = 36,391 bytes >>>>>>>>> after >>>>>>>>> decompression >>>>>>>>> [SWF] Users:harbs:Documents:svn:PrintUI:PrintUI Flex >>>>>>>>> Dev:trunk:web_app:bin-debug:PrintUI.swf:[[DYNAMIC]]:19 - = 159,622 bytes >>>>>>>>> after >>>>>>>>> decompression >>>>>>>>> [SWF] Users:harbs:Documents:svn:PrintUI:PrintUI Flex >>>>>>>>> Dev:trunk:web_app:bin-debug:PrintUI.swf:[[DYNAMIC]]:20 - = 165,717 bytes >>>>>>>>> after >>>>>>>>> decompression >>>>>>>>> [SWF] Users:harbs:Documents:svn:PrintUI:PrintUI Flex >>>>>>>>> Dev:trunk:web_app:bin-debug:PrintUI.swf:[[DYNAMIC]]:21 - = 172,518 bytes >>>>>>>>> after >>>>>>>>> decompression >>>>>>>>> [SWF] Users:harbs:Documents:svn:PrintUI:PrintUI Flex >>>>>>>>> Dev:trunk:web_app:bin-debug:PrintUI.swf:[[DYNAMIC]]:22 - = 168,347 bytes >>>>>>>>> after >>>>>>>>> decompression >>>>>>>>> [SWF] Users:harbs:Documents:svn:PrintUI:PrintUI Flex >>>>>>>>> Dev:trunk:web_app:bin-debug:PrintUI.swf:[[DYNAMIC]]:23 - = 210,138 bytes >>>>>>>>> after >>>>>>>>> decompression >>>>>>>>> [SWF] Users:harbs:Documents:svn:PrintUI:PrintUI Flex >>>>>>>>> Dev:trunk:web_app:bin-debug:PrintUI.swf:[[DYNAMIC]]:24 - = 250,639 bytes >>>>>>>>> after >>>>>>>>> decompression >>>>>>>>> [SWF] Users:harbs:Documents:svn:PrintUI:PrintUI Flex >>>>>>>>> Dev:trunk:web_app:bin-debug:PrintUI.swf:[[DYNAMIC]]:25 - = 293,346 bytes >>>>>>>>> after >>>>>>>>> decompression >>>>>>>>> [SWF] Users:harbs:Documents:svn:PrintUI:PrintUI Flex >>>>>>>>> Dev:trunk:web_app:bin-debug:PrintUI.swf:[[DYNAMIC]]:26 - = 215,281 bytes >>>>>>>>> after >>>>>>>>> decompression >>>>>>>>> [SWF] Users:harbs:Documents:svn:PrintUI:PrintUI Flex >>>>>>>>> Dev:trunk:web_app:bin-debug:PrintUI.swf:[[DYNAMIC]]:27 - = 257,474 bytes >>>>>>>>> after >>>>>>>>> decompression >>>>>>>>> [SWF] Users:harbs:Documents:svn:PrintUI:PrintUI Flex >>>>>>>>> Dev:trunk:web_app:bin-debug:PrintUI.swf:[[DYNAMIC]]:28 - = 262,241 bytes >>>>>>>>> after >>>>>>>>> decompression >>>>>>>>> [SWF] Users:harbs:Documents:svn:PrintUI:PrintUI Flex >>>>>>>>> Dev:trunk:web_app:bin-debug:PrintUI.swf:[[DYNAMIC]]:29 - = 293,883 bytes >>>>>>>>> after >>>>>>>>> decompression >>>>>>>>> continue >>>>>>>>> Additional ActionScript code has been loaded from a SWF or a = frame. >>>>>>>>> To see all currently loaded files, type 'info files'. >>>>>>>>> Set additional breakpoints as desired, and then type = 'continue'. >>>>>>>>> (fdb) continue >>>>>>>>> Additional ActionScript code has been loaded from a SWF or a = frame. >>>>>>>>> To see all currently loaded files, type 'info files'. >>>>>>>>> Set additional breakpoints as desired, and then type = 'continue'. >>>>>>>>> (fdb) continue >>>>>>>>> Additional ActionScript code has been loaded from a SWF or a = frame. >>>>>>>>> To see all currently loaded files, type 'info files'. >>>>>>>>> Set additional breakpoints as desired, and then type = 'continue'. >>>>>>>>> (fdb) c >>>>>>>>> Command not valid without a session. >>>>>>>>> Player session terminated >>>>>>>>> (fdb) continue >>>>>>>>> Command not valid without a session. >>>>>>>>> (fdb) >>>>>>>>=20 >>>>>>>> -- >>>>>>>> Alex Harui >>>>>>>> Flex SDK Team >>>>>>>> Adobe Systems, Inc. >>>>>>>> http://blogs.adobe.com/aharui >>>>>>>>=20 >>>>>>>=20 >>>>>>=20 >>>>>=20 >>>>> -- >>>>> Alex Harui >>>>> Flex SDK Team >>>>> Adobe Systems, Inc. >>>>> http://blogs.adobe.com/aharui >>>>>=20 >>>>=20 >>>=20 >>> -- >>> Alex Harui >>> Flex SDK Team >>> Adobe Systems, Inc. >>> http://blogs.adobe.com/aharui >>>=20 >>=20 >=20 > -- > Alex Harui > Flex SDK Team > Adobe Systems, Inc. > http://blogs.adobe.com/aharui >=20