You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Harbs <ha...@gmail.com> on 2013/04/18 14:58:26 UTC
fdb
I just started trying out IntelliJ IDEA. My initial impression was good, but I have not been able to debug. With Alexander's help, I was able to track the problem to what looks like a bug in fdb. The browser basically freezes after loading a bunch of external swfs.
What's the story with fdb? Is this something that's now developed by us?
Harbs
Re: fdb
Posted by Sandro Brasile <in...@gmail.com>.
If this is the case, with Intellij IDEA you can use the Flash Debugger
directly, without passing by a browser.
Sandro.
On 18 April 2013 18:25, Harbs <ha...@gmail.com> wrote:
> Oh, Wow. Thanks for that!
>
> I didn't even think yo check for browser problems. It used to work, and it
> changed about the time I switched to Flash Builder 4.5. The browser
> settings must have changed around the same time…
>
> On Apr 18, 2013, at 6:13 PM, After24 wrote:
>
> > Hi,
> >
> > This is not a Flash Builder issue, it's related to your browser
> configuration.
> >
> > See :
> http://stackoverflow.com/questions/7478465/flash-builder-4-5-debugger-terminates-safari
> >
> > Vincent.
> >
> >
> > Le 18/04/13 15:54, Harbs a écrit :
> >> FWIW, I've had problems in Flash Builder with Flash Debugger crashing
> if I spend too much time stepping. I was hoping IntelliJ IDEA would help
> with that. lol…
> >>
> >> On Apr 18, 2013, at 4:29 PM, Scott Talsma wrote:
> >>
> >>> I have had issues w/Safari and Firefox sometimes dropping the
> connection to
> >>> the debugger if I spend too much time stepping, but that is minor.
> >>
> >
>
>
Re: fdb
Posted by Harbs <ha...@gmail.com>.
Oh, Wow. Thanks for that!
I didn't even think yo check for browser problems. It used to work, and it changed about the time I switched to Flash Builder 4.5. The browser settings must have changed around the same time…
On Apr 18, 2013, at 6:13 PM, After24 wrote:
> Hi,
>
> This is not a Flash Builder issue, it's related to your browser configuration.
>
> See : http://stackoverflow.com/questions/7478465/flash-builder-4-5-debugger-terminates-safari
>
> Vincent.
>
>
> Le 18/04/13 15:54, Harbs a écrit :
>> FWIW, I've had problems in Flash Builder with Flash Debugger crashing if I spend too much time stepping. I was hoping IntelliJ IDEA would help with that. lol…
>>
>> On Apr 18, 2013, at 4:29 PM, Scott Talsma wrote:
>>
>>> I have had issues w/Safari and Firefox sometimes dropping the connection to
>>> the debugger if I spend too much time stepping, but that is minor.
>>
>
Re: fdb
Posted by After24 <vi...@after24.net>.
Hi,
This is not a Flash Builder issue, it's related to your browser
configuration.
See :
http://stackoverflow.com/questions/7478465/flash-builder-4-5-debugger-terminates-safari
Vincent.
Le 18/04/13 15:54, Harbs a écrit :
> FWIW, I've had problems in Flash Builder with Flash Debugger crashing if I spend too much time stepping. I was hoping IntelliJ IDEA would help with that. lol…
>
> On Apr 18, 2013, at 4:29 PM, Scott Talsma wrote:
>
>> I have had issues w/Safari and Firefox sometimes dropping the connection to
>> the debugger if I spend too much time stepping, but that is minor.
>
Re: fdb
Posted by Harbs <ha...@gmail.com>.
FWIW, I've had problems in Flash Builder with Flash Debugger crashing if I spend too much time stepping. I was hoping IntelliJ IDEA would help with that. lol…
On Apr 18, 2013, at 4:29 PM, Scott Talsma wrote:
> I have had issues w/Safari and Firefox sometimes dropping the connection to
> the debugger if I spend too much time stepping, but that is minor.
Re: fdb
Posted by Harbs <ha...@gmail.com>.
Here's what I saw:
1) I was able to debug a new hello world project in IntelliJ.
2) My existing project debugs correctly in Flash Builder.
3) Taking the exact same project into IntelliJ IDEA would freeze after the app loaded. Everything loaded correctly until a lot of swf files are loaded into the app (about 20). At that point, code execution seemed to stop.
4) Running the app from within IntelliJ worked correctly.
5) Starting fdb from the command line and running the app from either IntelliJ or Flash Builder resulted in the same problem as #3.
Apparently IntelliJ IDEA uses fdb under the hood, but Flash Builder uses a modified version of it. The modified Flash Builder version works with my project, but the standard fdb freezes execution.
On Apr 18, 2013, at 4:29 PM, Scott Talsma wrote:
> I've been using IntelliJ IDEA for a few years now, and have not experienced
> any major issues with debugging, breakpoints, etc., assuming that you have
> the debug player installed, and are your project settings are create a
> debug build.
>
> I have had issues w/Safari and Firefox sometimes dropping the connection to
> the debugger if I spend too much time stepping, but that is minor.
>
> Note that some debuggers work better w/some SDKs that others. In an older
> SDK2.0 app that I maintain, I had to install a 10.x player and racket back
> to a SDK3 debugger instead of the 4.0 debugger. But for 4.9.1, everything
> worked out of the box for both web and AIR.
>
>
> On Thu, Apr 18, 2013 at 8:58 AM, Harbs <ha...@gmail.com> wrote:
>
>> I just started trying out IntelliJ IDEA. My initial impression was good,
>> but I have not been able to debug. With Alexander's help, I was able to
>> track the problem to what looks like a bug in fdb. The browser basically
>> freezes after loading a bunch of external swfs.
>>
>> What's the story with fdb? Is this something that's now developed by us?
>>
>> Harbs
Re: fdb
Posted by Scott Talsma <sc...@talsma.tv>.
I've been using IntelliJ IDEA for a few years now, and have not experienced
any major issues with debugging, breakpoints, etc., assuming that you have
the debug player installed, and are your project settings are create a
debug build.
I have had issues w/Safari and Firefox sometimes dropping the connection to
the debugger if I spend too much time stepping, but that is minor.
Note that some debuggers work better w/some SDKs that others. In an older
SDK2.0 app that I maintain, I had to install a 10.x player and racket back
to a SDK3 debugger instead of the 4.0 debugger. But for 4.9.1, everything
worked out of the box for both web and AIR.
On Thu, Apr 18, 2013 at 8:58 AM, Harbs <ha...@gmail.com> wrote:
> I just started trying out IntelliJ IDEA. My initial impression was good,
> but I have not been able to debug. With Alexander's help, I was able to
> track the problem to what looks like a bug in fdb. The browser basically
> freezes after loading a bunch of external swfs.
>
> What's the story with fdb? Is this something that's now developed by us?
>
> Harbs
Re: fdb
Posted by Alex Harui <ah...@adobe.com>.
On 4/18/13 9:02 AM, "Frédéric THOMAS" <we...@hotmail.com> wrote:
> Btw, Alex, did you ask already if the new version the fdb could be donated ?
I've been told where the fdb with workers code is. I have to go get it and
make sure it is ok to donate it. I'm hoping to find time to do a bunch of
donations once I get a few more FlexJS things up and running.
>
> -Fred
>
> -----Message d'origine-----
> From: Alex Harui
> Sent: Thursday, April 18, 2013 3:10 PM
> To: dev@flex.apache.org
> Subject: Re: fdb
>
>
>
>
> On 4/18/13 5:58 AM, "Harbs" <ha...@gmail.com> wrote:
>
>> I just started trying out IntelliJ IDEA. My initial impression was good,
>> but I
>> have not been able to debug. With Alexander's help, I was able to track
>> the
>> problem to what looks like a bug in fdb. The browser basically freezes
>> after
>> loading a bunch of external swfs.
>>
>> What's the story with fdb? Is this something that's now developed by us?
>>
> Yep, source is in flex-sdk repo under modules/debugger.
--
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui
Re: fdb
Posted by Frédéric THOMAS <we...@hotmail.com>.
Btw, Alex, did you ask already if the new version the fdb could be donated ?
-Fred
-----Message d'origine-----
From: Alex Harui
Sent: Thursday, April 18, 2013 3:10 PM
To: dev@flex.apache.org
Subject: Re: fdb
On 4/18/13 5:58 AM, "Harbs" <ha...@gmail.com> wrote:
> I just started trying out IntelliJ IDEA. My initial impression was good,
> but I
> have not been able to debug. With Alexander's help, I was able to track
> the
> problem to what looks like a bug in fdb. The browser basically freezes
> after
> loading a bunch of external swfs.
>
> What's the story with fdb? Is this something that's now developed by us?
>
Yep, source is in flex-sdk repo under modules/debugger.
--
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui
Re: fdb
Posted by Harbs <ha...@gmail.com>.
1909 Firefox (Not Responding) harbs 0.0 42 645.8 MB Intel (64 bit)
43442 IntelliJ IDEA harbs 1.9 88 473.5 MB Intel (64 bit)
43782 Firefox Plugin Process (Shockwave Flash) harbs 8.8 16 145.7 MB Intel (64 bit)
44248 java harbs 0.2 20 21.4 MB Intel
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" <ha...@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" <ha...@gmail.com> wrote:
>>>>
>>>>>
>>>>> On Apr 18, 2013, at 9:19 PM, Alex Harui wrote:
>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On 4/18/13 10:24 AM, "Harbs" <ha...@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
>
Re: fdb
Posted by Harbs <ha...@gmail.com>.
I imported it into IntelliJ. The debugger froze (actually, now I believe it just took a really long time) and we traced the problem to fdb.
I'll probably look at this some more next week…
Harbs
On Apr 19, 2013, at 11:47 AM, Frédéric THOMAS wrote:
> Hi Harbs,
>
> Btw, I didn't get the context, can you remind me why you need to debug it via fdb, why not directly importing the source as a project, maybe it's what you did, I'm not sure, can you tell me ?
> If the sources are opened or if you can send me something, I can give a try if you like.
>
> -Fred
>
> -----Message d'origine----- From: Harbs
> Sent: Friday, April 19, 2013 10:41 AM
> To: dev@flex.apache.org
> Subject: Re: fdb
>
> Dunno. I have six pinned tabs in Firefox that are always open, and the app starts at the 500 MB range. When I was testing I had another few tabs open, but it's nothing that ever gave me trouble before.
>
> Yeah. I think I'm done for now as well. I'll keep my eye on this to see if anyone has useful input…
>
> On Apr 19, 2013, at 10:07 AM, Alex Harui wrote:
>
>> Well, I'm done for the evening. I'm not really sure where to go next, but I
>> think about it.
>>
>> Historically, when browser memory usage gets up past 500MB things get creaky
>> fast. If you slow down the loading, how quickly does it get up there?
>> 500MB is quite a bit of memory.
>>
>>
>> On 4/18/13 11:37 PM, "Harbs" <ha...@gmail.com> wrote:
>>
>>> There's a module that gets loaded later (debug size of 372 KB). That also
>>> takes roughly the same amount of time.
>>>
>>> On Apr 19, 2013, at 9:33 AM, Alex Harui wrote:
>>>
>>>> And without the debugger the loads go quickly? Do you have time to try
>>>> loading 200Kb SWFs with a large image instead of fonts? Maybe it has to do
>>>> with fonts somehow.
>>>>
>>>>
>>>> On 4/18/13 11:19 PM, "Harbs" <ha...@gmail.com> wrote:
>>>>
>>>>> Actually, now that I'm checking, they rarely go over 200 KB.
>>>>>
>>>>> On Apr 19, 2013, at 9:17 AM, Harbs wrote:
>>>>>
>>>>>> 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?
>>>>>>>
>>>>>>>
>>>>>>> On 4/18/13 11:06 PM, "Harbs" <ha...@gmail.com> wrote:
>>>>>>>
>>>>>>>>
>>>>>>>> On Apr 19, 2013, at 8:57 AM, Alex Harui wrote:
>>>>>>>>
>>>>>>>>> And while you wait is memory growing?
>>>>>>>>
>>>>>>>> No. It seemed to stay pretty constant. If it grew, it was slight. Nothing
>>>>>>>> drastic here.
>>>>>>>>
>>>>>>>>> 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.
>>>>>>>>
>>>>>>>>
>>>>>>>> I tested in both. The results were pretty similar.
>>>>>>>>
>>>>>>>>>
>>>>>>>>> On 4/18/13 10:51 PM, "Harbs" <ha...@gmail.com> wrote:
>>>>>>>>>
>>>>>>>>>> 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" <ha...@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" <ha...@gmail.com> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Apr 18, 2013, at 9:19 PM, Alex Harui wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On 4/18/13 10:24 AM, "Harbs" <ha...@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
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> 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
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>> --
>>>> 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
>>
>
Re: fdb
Posted by Frédéric THOMAS <we...@hotmail.com>.
Hi Harbs,
Btw, I didn't get the context, can you remind me why you need to debug it
via fdb, why not directly importing the source as a project, maybe it's what
you did, I'm not sure, can you tell me ?
If the sources are opened or if you can send me something, I can give a try
if you like.
-Fred
-----Message d'origine-----
From: Harbs
Sent: Friday, April 19, 2013 10:41 AM
To: dev@flex.apache.org
Subject: Re: fdb
Dunno. I have six pinned tabs in Firefox that are always open, and the app
starts at the 500 MB range. When I was testing I had another few tabs open,
but it's nothing that ever gave me trouble before.
Yeah. I think I'm done for now as well. I'll keep my eye on this to see if
anyone has useful input…
On Apr 19, 2013, at 10:07 AM, Alex Harui wrote:
> Well, I'm done for the evening. I'm not really sure where to go next, but
> I
> think about it.
>
> Historically, when browser memory usage gets up past 500MB things get
> creaky
> fast. If you slow down the loading, how quickly does it get up there?
> 500MB is quite a bit of memory.
>
>
> On 4/18/13 11:37 PM, "Harbs" <ha...@gmail.com> wrote:
>
>> There's a module that gets loaded later (debug size of 372 KB). That also
>> takes roughly the same amount of time.
>>
>> On Apr 19, 2013, at 9:33 AM, Alex Harui wrote:
>>
>>> And without the debugger the loads go quickly? Do you have time to try
>>> loading 200Kb SWFs with a large image instead of fonts? Maybe it has to
>>> do
>>> with fonts somehow.
>>>
>>>
>>> On 4/18/13 11:19 PM, "Harbs" <ha...@gmail.com> wrote:
>>>
>>>> Actually, now that I'm checking, they rarely go over 200 KB.
>>>>
>>>> On Apr 19, 2013, at 9:17 AM, Harbs wrote:
>>>>
>>>>> 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?
>>>>>>
>>>>>>
>>>>>> On 4/18/13 11:06 PM, "Harbs" <ha...@gmail.com> wrote:
>>>>>>
>>>>>>>
>>>>>>> On Apr 19, 2013, at 8:57 AM, Alex Harui wrote:
>>>>>>>
>>>>>>>> And while you wait is memory growing?
>>>>>>>
>>>>>>> No. It seemed to stay pretty constant. If it grew, it was slight.
>>>>>>> Nothing
>>>>>>> drastic here.
>>>>>>>
>>>>>>>> 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.
>>>>>>>
>>>>>>>
>>>>>>> I tested in both. The results were pretty similar.
>>>>>>>
>>>>>>>>
>>>>>>>> On 4/18/13 10:51 PM, "Harbs" <ha...@gmail.com> wrote:
>>>>>>>>
>>>>>>>>> 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" <ha...@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" <ha...@gmail.com> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Apr 18, 2013, at 9:19 PM, Alex Harui wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> On 4/18/13 10:24 AM, "Harbs" <ha...@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
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> 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
>>>>>>
>>>>>
>>>>
>>>
>>> --
>>> 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
>
Re: fdb
Posted by Harbs <ha...@gmail.com>.
Dunno. I have six pinned tabs in Firefox that are always open, and the app starts at the 500 MB range. When I was testing I had another few tabs open, but it's nothing that ever gave me trouble before.
Yeah. I think I'm done for now as well. I'll keep my eye on this to see if anyone has useful input…
On Apr 19, 2013, at 10:07 AM, Alex Harui wrote:
> Well, I'm done for the evening. I'm not really sure where to go next, but I
> think about it.
>
> Historically, when browser memory usage gets up past 500MB things get creaky
> fast. If you slow down the loading, how quickly does it get up there?
> 500MB is quite a bit of memory.
>
>
> On 4/18/13 11:37 PM, "Harbs" <ha...@gmail.com> wrote:
>
>> There's a module that gets loaded later (debug size of 372 KB). That also
>> takes roughly the same amount of time.
>>
>> On Apr 19, 2013, at 9:33 AM, Alex Harui wrote:
>>
>>> And without the debugger the loads go quickly? Do you have time to try
>>> loading 200Kb SWFs with a large image instead of fonts? Maybe it has to do
>>> with fonts somehow.
>>>
>>>
>>> On 4/18/13 11:19 PM, "Harbs" <ha...@gmail.com> wrote:
>>>
>>>> Actually, now that I'm checking, they rarely go over 200 KB.
>>>>
>>>> On Apr 19, 2013, at 9:17 AM, Harbs wrote:
>>>>
>>>>> 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?
>>>>>>
>>>>>>
>>>>>> On 4/18/13 11:06 PM, "Harbs" <ha...@gmail.com> wrote:
>>>>>>
>>>>>>>
>>>>>>> On Apr 19, 2013, at 8:57 AM, Alex Harui wrote:
>>>>>>>
>>>>>>>> And while you wait is memory growing?
>>>>>>>
>>>>>>> No. It seemed to stay pretty constant. If it grew, it was slight. Nothing
>>>>>>> drastic here.
>>>>>>>
>>>>>>>> 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.
>>>>>>>
>>>>>>>
>>>>>>> I tested in both. The results were pretty similar.
>>>>>>>
>>>>>>>>
>>>>>>>> On 4/18/13 10:51 PM, "Harbs" <ha...@gmail.com> wrote:
>>>>>>>>
>>>>>>>>> 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" <ha...@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" <ha...@gmail.com> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Apr 18, 2013, at 9:19 PM, Alex Harui wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> On 4/18/13 10:24 AM, "Harbs" <ha...@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
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> 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
>>>>>>
>>>>>
>>>>
>>>
>>> --
>>> 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
>
Re: fdb
Posted by Alex Harui <ah...@adobe.com>.
Well, I'm done for the evening. I'm not really sure where to go next, but I
think about it.
Historically, when browser memory usage gets up past 500MB things get creaky
fast. If you slow down the loading, how quickly does it get up there?
500MB is quite a bit of memory.
On 4/18/13 11:37 PM, "Harbs" <ha...@gmail.com> wrote:
> There's a module that gets loaded later (debug size of 372 KB). That also
> takes roughly the same amount of time.
>
> On Apr 19, 2013, at 9:33 AM, Alex Harui wrote:
>
>> And without the debugger the loads go quickly? Do you have time to try
>> loading 200Kb SWFs with a large image instead of fonts? Maybe it has to do
>> with fonts somehow.
>>
>>
>> On 4/18/13 11:19 PM, "Harbs" <ha...@gmail.com> wrote:
>>
>>> Actually, now that I'm checking, they rarely go over 200 KB.
>>>
>>> On Apr 19, 2013, at 9:17 AM, Harbs wrote:
>>>
>>>> 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?
>>>>>
>>>>>
>>>>> On 4/18/13 11:06 PM, "Harbs" <ha...@gmail.com> wrote:
>>>>>
>>>>>>
>>>>>> On Apr 19, 2013, at 8:57 AM, Alex Harui wrote:
>>>>>>
>>>>>>> And while you wait is memory growing?
>>>>>>
>>>>>> No. It seemed to stay pretty constant. If it grew, it was slight. Nothing
>>>>>> drastic here.
>>>>>>
>>>>>>> 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.
>>>>>>
>>>>>>
>>>>>> I tested in both. The results were pretty similar.
>>>>>>
>>>>>>>
>>>>>>> On 4/18/13 10:51 PM, "Harbs" <ha...@gmail.com> wrote:
>>>>>>>
>>>>>>>> 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" <ha...@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" <ha...@gmail.com> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> On Apr 18, 2013, at 9:19 PM, Alex Harui wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> On 4/18/13 10:24 AM, "Harbs" <ha...@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
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> 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
>>>>>
>>>>
>>>
>>
>> --
>> 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
Re: fdb
Posted by Harbs <ha...@gmail.com>.
There's a module that gets loaded later (debug size of 372 KB). That also takes roughly the same amount of time.
On Apr 19, 2013, at 9:33 AM, Alex Harui wrote:
> And without the debugger the loads go quickly? Do you have time to try
> loading 200Kb SWFs with a large image instead of fonts? Maybe it has to do
> with fonts somehow.
>
>
> On 4/18/13 11:19 PM, "Harbs" <ha...@gmail.com> wrote:
>
>> Actually, now that I'm checking, they rarely go over 200 KB.
>>
>> On Apr 19, 2013, at 9:17 AM, Harbs wrote:
>>
>>> 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?
>>>>
>>>>
>>>> On 4/18/13 11:06 PM, "Harbs" <ha...@gmail.com> wrote:
>>>>
>>>>>
>>>>> On Apr 19, 2013, at 8:57 AM, Alex Harui wrote:
>>>>>
>>>>>> And while you wait is memory growing?
>>>>>
>>>>> No. It seemed to stay pretty constant. If it grew, it was slight. Nothing
>>>>> drastic here.
>>>>>
>>>>>> 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.
>>>>>
>>>>>
>>>>> I tested in both. The results were pretty similar.
>>>>>
>>>>>>
>>>>>> On 4/18/13 10:51 PM, "Harbs" <ha...@gmail.com> wrote:
>>>>>>
>>>>>>> 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" <ha...@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" <ha...@gmail.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> On Apr 18, 2013, at 9:19 PM, Alex Harui wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> On 4/18/13 10:24 AM, "Harbs" <ha...@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
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>> --
>>>>>> 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
>>>>
>>>
>>
>
> --
> Alex Harui
> Flex SDK Team
> Adobe Systems, Inc.
> http://blogs.adobe.com/aharui
>
Re: fdb
Posted by Alex Harui <ah...@adobe.com>.
And without the debugger the loads go quickly? Do you have time to try
loading 200Kb SWFs with a large image instead of fonts? Maybe it has to do
with fonts somehow.
On 4/18/13 11:19 PM, "Harbs" <ha...@gmail.com> wrote:
> Actually, now that I'm checking, they rarely go over 200 KB.
>
> On Apr 19, 2013, at 9:17 AM, Harbs wrote:
>
>> 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?
>>>
>>>
>>> On 4/18/13 11:06 PM, "Harbs" <ha...@gmail.com> wrote:
>>>
>>>>
>>>> On Apr 19, 2013, at 8:57 AM, Alex Harui wrote:
>>>>
>>>>> And while you wait is memory growing?
>>>>
>>>> No. It seemed to stay pretty constant. If it grew, it was slight. Nothing
>>>> drastic here.
>>>>
>>>>> 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.
>>>>
>>>>
>>>> I tested in both. The results were pretty similar.
>>>>
>>>>>
>>>>> On 4/18/13 10:51 PM, "Harbs" <ha...@gmail.com> wrote:
>>>>>
>>>>>> 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" <ha...@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" <ha...@gmail.com> wrote:
>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Apr 18, 2013, at 9:19 PM, Alex Harui wrote:
>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> On 4/18/13 10:24 AM, "Harbs" <ha...@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
>>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>> 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
>>>
>>
>
--
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui
Re: fdb
Posted by Harbs <ha...@gmail.com>.
Actually, now that I'm checking, they rarely go over 200 KB.
On Apr 19, 2013, at 9:17 AM, Harbs wrote:
> 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?
>>
>>
>> On 4/18/13 11:06 PM, "Harbs" <ha...@gmail.com> wrote:
>>
>>>
>>> On Apr 19, 2013, at 8:57 AM, Alex Harui wrote:
>>>
>>>> And while you wait is memory growing?
>>>
>>> No. It seemed to stay pretty constant. If it grew, it was slight. Nothing
>>> drastic here.
>>>
>>>> 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.
>>>
>>>
>>> I tested in both. The results were pretty similar.
>>>
>>>>
>>>> On 4/18/13 10:51 PM, "Harbs" <ha...@gmail.com> wrote:
>>>>
>>>>> 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" <ha...@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" <ha...@gmail.com> wrote:
>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Apr 18, 2013, at 9:19 PM, Alex Harui wrote:
>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On 4/18/13 10:24 AM, "Harbs" <ha...@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
>>>>>>
>>>>>
>>>>
>>>> --
>>>> 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
>>
>
Re: fdb
Posted by Harbs <ha...@gmail.com>.
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?
>
>
> On 4/18/13 11:06 PM, "Harbs" <ha...@gmail.com> wrote:
>
>>
>> On Apr 19, 2013, at 8:57 AM, Alex Harui wrote:
>>
>>> And while you wait is memory growing?
>>
>> No. It seemed to stay pretty constant. If it grew, it was slight. Nothing
>> drastic here.
>>
>>> 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.
>>
>>
>> I tested in both. The results were pretty similar.
>>
>>>
>>> On 4/18/13 10:51 PM, "Harbs" <ha...@gmail.com> wrote:
>>>
>>>> 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" <ha...@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" <ha...@gmail.com> wrote:
>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Apr 18, 2013, at 9:19 PM, Alex Harui wrote:
>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On 4/18/13 10:24 AM, "Harbs" <ha...@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
>>>>>
>>>>
>>>
>>> --
>>> 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
>
Re: fdb
Posted by Alex Harui <ah...@adobe.com>.
How big are these SWFs? What kind of content do they have?
On 4/18/13 11:06 PM, "Harbs" <ha...@gmail.com> wrote:
>
> On Apr 19, 2013, at 8:57 AM, Alex Harui wrote:
>
>> And while you wait is memory growing?
>
> No. It seemed to stay pretty constant. If it grew, it was slight. Nothing
> drastic here.
>
>> 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.
>
>
> I tested in both. The results were pretty similar.
>
>>
>> On 4/18/13 10:51 PM, "Harbs" <ha...@gmail.com> wrote:
>>
>>> 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" <ha...@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" <ha...@gmail.com> wrote:
>>>>>>>
>>>>>>>>
>>>>>>>> On Apr 18, 2013, at 9:19 PM, Alex Harui wrote:
>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On 4/18/13 10:24 AM, "Harbs" <ha...@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
>>>>
>>>
>>
>> --
>> 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
Re: fdb
Posted by Harbs <ha...@gmail.com>.
On Apr 19, 2013, at 8:57 AM, Alex Harui wrote:
> And while you wait is memory growing?
No. It seemed to stay pretty constant. If it grew, it was slight. Nothing drastic here.
> 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.
I tested in both. The results were pretty similar.
>
> On 4/18/13 10:51 PM, "Harbs" <ha...@gmail.com> wrote:
>
>> 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" <ha...@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" <ha...@gmail.com> wrote:
>>>>>>
>>>>>>>
>>>>>>> On Apr 18, 2013, at 9:19 PM, Alex Harui wrote:
>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On 4/18/13 10:24 AM, "Harbs" <ha...@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
>>>
>>
>
> --
> Alex Harui
> Flex SDK Team
> Adobe Systems, Inc.
> http://blogs.adobe.com/aharui
>
Re: fdb
Posted by Alex Harui <ah...@adobe.com>.
And while you wait is memory growing?
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.
On 4/18/13 10:51 PM, "Harbs" <ha...@gmail.com> wrote:
> 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" <ha...@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" <ha...@gmail.com> wrote:
>>>>>
>>>>>>
>>>>>> On Apr 18, 2013, at 9:19 PM, Alex Harui wrote:
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On 4/18/13 10:24 AM, "Harbs" <ha...@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
>>
>
--
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui
Re: fdb
Posted by Harbs <ha...@gmail.com>.
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" <ha...@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" <ha...@gmail.com> wrote:
>>>>
>>>>>
>>>>> On Apr 18, 2013, at 9:19 PM, Alex Harui wrote:
>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On 4/18/13 10:24 AM, "Harbs" <ha...@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
>
Re: fdb
Posted by Alex Harui <ah...@adobe.com>.
What does the process manager say about how much memory is consumed?
On 4/18/13 10:31 PM, "Harbs" <ha...@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" <ha...@gmail.com> wrote:
>>>
>>>>
>>>> On Apr 18, 2013, at 9:19 PM, Alex Harui wrote:
>>>>
>>>>>
>>>>>
>>>>>
>>>>> On 4/18/13 10:24 AM, "Harbs" <ha...@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
Re: fdb
Posted by Harbs <ha...@gmail.com>.
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" <ha...@gmail.com> wrote:
>>
>>>
>>> On Apr 18, 2013, at 9:19 PM, Alex Harui wrote:
>>>
>>>>
>>>>
>>>>
>>>> On 4/18/13 10:24 AM, "Harbs" <ha...@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
>>
>
Re: fdb
Posted by Frédéric THOMAS <we...@hotmail.com>.
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" <ha...@gmail.com> wrote:
>
>>
>> On Apr 18, 2013, at 9:19 PM, Alex Harui wrote:
>>
>>>
>>>
>>>
>>> On 4/18/13 10:24 AM, "Harbs" <ha...@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
>
Re: fdb
Posted by Harbs <ha...@gmail.com>.
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" <ha...@gmail.com> wrote:
>
>>
>> On Apr 18, 2013, at 9:19 PM, Alex Harui wrote:
>>
>>>
>>>
>>>
>>> On 4/18/13 10:24 AM, "Harbs" <ha...@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
>
Re: fdb
Posted by Alex Harui <ah...@adobe.com>.
It looks like the player just quit (where it says "command not valid without
a session").
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.
On 4/18/13 12:10 PM, "Harbs" <ha...@gmail.com> wrote:
>
> On Apr 18, 2013, at 9:19 PM, Alex Harui wrote:
>
>>
>>
>>
>> On 4/18/13 10:24 AM, "Harbs" <ha...@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
Re: fdb
Posted by Harbs <ha...@gmail.com>.
On Apr 18, 2013, at 9:19 PM, Alex Harui wrote:
>
>
>
> On 4/18/13 10:24 AM, "Harbs" <ha...@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)
Re: fdb
Posted by Alex Harui <ah...@adobe.com>.
On 4/18/13 10:24 AM, "Harbs" <ha...@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.
>
> 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.
--
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui
Re: fdb
Posted by Harbs <ha...@gmail.com>.
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.
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...
Harbs
Re: fdb
Posted by Alex Harui <ah...@adobe.com>.
On 4/18/13 6:30 AM, "Harbs" <ha...@gmail.com> wrote:
> Okay. I've never done any real Java development. My Java experience is limited
> to a bit of playing and compiling existing apps.
>
> I guess there's no time like the presentŠ ;-)
>
> If someone could give me a bit of a rundown on the basics of how the debugger
> works, it'll probably help me find my way around.
I have no idea. I've never had to muck with it.
>
> 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?
--
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui
Re: fdb
Posted by Harbs <ha...@gmail.com>.
Okay. I've never done any real Java development. My Java experience is limited to a bit of playing and compiling existing apps.
I guess there's no time like the present… ;-)
If someone could give me a bit of a rundown on the basics of how the debugger works, it'll probably help me find my way around.
I'm also going to need to figure out how to debug Java while debugging Flex at the same time… :~
Harbs
On Apr 18, 2013, at 4:10 PM, Alex Harui wrote:
>
>
>
> On 4/18/13 5:58 AM, "Harbs" <ha...@gmail.com> wrote:
>
>> I just started trying out IntelliJ IDEA. My initial impression was good, but I
>> have not been able to debug. With Alexander's help, I was able to track the
>> problem to what looks like a bug in fdb. The browser basically freezes after
>> loading a bunch of external swfs.
>>
>> What's the story with fdb? Is this something that's now developed by us?
>>
> Yep, source is in flex-sdk repo under modules/debugger.
>
> --
> Alex Harui
> Flex SDK Team
> Adobe Systems, Inc.
> http://blogs.adobe.com/aharui
>
Re: fdb
Posted by Alex Harui <ah...@adobe.com>.
On 4/18/13 5:58 AM, "Harbs" <ha...@gmail.com> wrote:
> I just started trying out IntelliJ IDEA. My initial impression was good, but I
> have not been able to debug. With Alexander's help, I was able to track the
> problem to what looks like a bug in fdb. The browser basically freezes after
> loading a bunch of external swfs.
>
> What's the story with fdb? Is this something that's now developed by us?
>
Yep, source is in flex-sdk repo under modules/debugger.
--
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui