For every asset I load (external swf font or module), I get this: 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
For every one it takes at least 10 to 20 seconds until it moves on. On Apr 19, 2013, at 8:34 AM, Alex Harui wrote: > What does the process manager say about how much memory is consumed? > > > On 4/18/13 10:31 PM, "Harbs" <harbs.li...@gmail.com> wrote: > >> I did this, but I'm not sure that it made a difference. Safari still froze >> and >> quit. >> >> 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. >> >> 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. >> >> 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... >> >> On Apr 19, 2013, at 1:18 AM, Frédéric THOMAS wrote: >> >>> try to replace Xmx384m with Xmx768m >>> >>> -Fred >>> >>> -----Message d'origine----- From: Harbs >>> Sent: Thursday, April 18, 2013 11:47 PM >>> To: dev@flex.apache.org >>> Subject: Re: fdb >>> >>> >>> On Apr 18, 2013, at 10:23 PM, Alex Harui wrote: >>> >>>> It looks like the player just quit (where it says "command not valid >>>> without >>>> a session"). >>> >>> Maybe, but execution stopped before it quit. >>> >>>> 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. >>> >>> Worth a shot, but I'm not sure what to change: >>> >>> VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false " >>> >>> java $VMARGS $D32 "-Dapplication.home=$FLEX_HOME" -jar >>> "$FLEX_HOME/lib/fdb.jar" "$@" >>> >>> Which is the memory setting? >>> >>>> >>>> >>>> On 4/18/13 12:10 PM, "Harbs" <harbs.li...@gmail.com> wrote: >>>> >>>>> >>>>> On Apr 18, 2013, at 9:19 PM, Alex Harui wrote: >>>>> >>>>>> >>>>>> >>>>>> >>>>>> On 4/18/13 10:24 AM, "Harbs" <harbs.li...@gmail.com> wrote: >>>>>> >>>>>>> >>>>>>> On Apr 18, 2013, at 8:06 PM, Alex Harui wrote: >>>>>>> >>>>>>>>> >>>>>>>>> I'm also going to need to figure out how to debug Java while debugging >>>>>>>>> Flex >>>>>>>>> at >>>>>>>>> the same timeŠ :~ >>>>>>>> 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. >>>>>>>> >>>>>>>> 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? >>>>>>> >>>>>>> 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. >>>>> >>>>> 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. >>>>> >>>>>>> >>>>>>> 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. >>>>> >>>>> 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. >>>>> >>>>>> -- >>>>>> Alex Harui >>>>>> Flex SDK Team >>>>>> Adobe Systems, Inc. >>>>>> http://blogs.adobe.com/aharui >>>>>> >>>>> >>>>> (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) >>>> >>>> -- >>>> Alex Harui >>>> Flex SDK Team >>>> Adobe Systems, Inc. >>>> http://blogs.adobe.com/aharui >>>> >>> >> > > -- > Alex Harui > Flex SDK Team > Adobe Systems, Inc. > http://blogs.adobe.com/aharui >