On Apr 18, 2013, at 9:19 PM, Alex Harui wrote:
On 4/18/13 10:24 AM, "Harbs" <harbs.li...@gmail.com> wrote:
On Apr 18, 2013, at 8:06 PM, Alex Harui wrote:
I'm also going to need to figure out how to debug Java while
debugging
Flex
at
the same timeŠ :~
I would not use the IDEs since you can reproduce the issue with
command
line
FDB. In theory, there Eclipse projects files are there in Git.
You'll
need
Eclipse 3.6 minimum, load all of the projects in, fix up errors, etc.
Then when you launch a debug config for FDB, you should just be able
to run
the same steps as if it were off the command line, and if it hangs,
pause
Java execution and see where it is. Or is it the player that hangs?
I really don't know what hangs. I doubt it's the player, because it
works if
I
debug directly in Flash Builder.
Is command-line FDB no longer responsive? Can you quit the player?
That
might help determine what is hung.
Below is the command line log. Maybe it means more to you than to me...
;-)
There should be a trace for each font that's loaded, but there's only a
trace
for two of them (in this document). That means that the code execution
was
halted prematurely after a couple of the swfs were loaded.
If there's a newer version of fdb waiting to be donated, I may just
hold off
on this until we have it, because there's a good chance this issue is
fixed
already since things work in Flash Builder...
This donation is probably a couple of months away if you can wait that
long.
Maybe I can find time to find the code and see how different it is from
what
we have.
Flash Builder works. I'd like to try IntelliJ IDEA, but there's the
obvious
question of how much time I'd need to invest in that. If it means helping
to
fix fdb, I might do it, but if the work was already done, I don't see
spending
the time just to be able to use a new IDE a few months early.
--
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui
(fdb) run
Waiting for Player to connect
Player connected; session starting.
c
c
c
c
c
c
c
Set breakpoints and then type 'continue' to resume the session.
(fdb) Do you want to attempt to halt execution? (y or n) Not confirmed.
Do you want to attempt to halt execution? (y or n) Not confirmed.
Do you want to attempt to halt execution? (y or n) Not confirmed.
Do you want to attempt to halt execution? (y or n) Not confirmed.
Do you want to attempt to halt execution? (y or n) Not confirmed.
[SWF] Users:harbs:Documents:svn:PrintUI:PrintUI Flex
Dev:trunk:web_app:bin-debug:PrintUI.swf - 5,523,412 bytes after
decompression
Additional ActionScript code has been loaded from a SWF or a frame.
To see all currently loaded files, type 'info files'.
Set additional breakpoints as desired, and then type 'continue'.
(fdb) Do you want to attempt to halt execution? (y or n) Not confirmed.
Do you want to attempt to halt execution? (y or n) Not confirmed.
Do you want to attempt to halt execution? (y or n) n
Not confirmed.
[trace] Load Font : Minion Pro Regular
[SWF] Users:harbs:Documents:svn:PrintUI:PrintUI Flex
Dev:trunk:web_app:bin-debug:PrintUI.swf:[[DYNAMIC]]:3 - 212,205 bytes
after
decompression
Additional ActionScript code has been loaded from a SWF or a frame.
To see all currently loaded files, type 'info files'.
Set additional breakpoints as desired, and then type 'continue'.
(fdb) continue
[trace] Minion Pro Regular loaded.
[trace] Load Font : Impact Regular
[trace] Load Font : Stencil Std Bold
[trace] Load Font : Candara Regular
[trace] Load Font : Candara Italic
[trace] Load Font : Candara Bold
[trace] Load Font : Candara Bold Italic
[trace] Load Font : Courier New Regular
[trace] Load Font : Courier New Italic
[trace] Load Font : Courier New Bold
[trace] Load Font : Courier New Bold Italic
[trace] Load Font : Times New Roman Regular
[trace] Load Font : Times New Roman Italic
[trace] Load Font : Times New Roman Bold
[trace] Load Font : Times New Roman Bold Italic
[SWF] Users:harbs:Documents:svn:PrintUI:PrintUI Flex
Dev:trunk:web_app:bin-debug:PrintUI.swf:[[DYNAMIC]]:6 - 114 bytes after
decompression
[SWF] Users:harbs:Documents:svn:PrintUI:PrintUI Flex
Dev:trunk:web_app:bin-debug:PrintUI.swf:[[DYNAMIC]]:7 - 116 bytes after
decompression
[SWF] Users:harbs:Documents:svn:PrintUI:PrintUI Flex
Dev:trunk:web_app:bin-debug:PrintUI.swf:[[DYNAMIC]]:8 - 114 bytes after
decompression
[SWF] Users:harbs:Documents:svn:PrintUI:PrintUI Flex
Dev:trunk:web_app:bin-debug:PrintUI.swf:[[DYNAMIC]]:9 - 116 bytes after
decompression
[SWF] Users:harbs:Documents:svn:PrintUI:PrintUI Flex
Dev:trunk:web_app:bin-debug:PrintUI.swf:[[DYNAMIC]]:10 - 114 bytes after
decompression
[SWF] Users:harbs:Documents:svn:PrintUI:PrintUI Flex
Dev:trunk:web_app:bin-debug:PrintUI.swf:[[DYNAMIC]]:11 - 116 bytes after
decompression
[SWF] Users:harbs:Documents:svn:PrintUI:PrintUI Flex
Dev:trunk:web_app:bin-debug:PrintUI.swf:[[DYNAMIC]]:12 - 114 bytes after
decompression
[SWF] Users:harbs:Documents:svn:PrintUI:PrintUI Flex
Dev:trunk:web_app:bin-debug:PrintUI.swf:[[DYNAMIC]]:13 - 114 bytes after
decompression
[SWF] Users:harbs:Documents:svn:PrintUI:PrintUI Flex
Dev:trunk:web_app:bin-debug:PrintUI.swf:[[DYNAMIC]]:14 - 116 bytes after
decompression
[SWF] Users:harbs:Documents:svn:PrintUI:PrintUI Flex
Dev:trunk:web_app:bin-debug:PrintUI.swf:[[DYNAMIC]]:15 - 116 bytes after
decompression
[SWF] Users:harbs:Documents:svn:PrintUI:PrintUI Flex
Dev:trunk:web_app:bin-debug:PrintUI.swf:[[DYNAMIC]]:16 - 50,797 bytes
after
decompression
continue
Additional ActionScript code has been loaded from a SWF or a frame.
To see all currently loaded files, type 'info files'.
Set additional breakpoints as desired, and then type 'continue'.
(fdb) continue
[trace] Impact Regular loaded.
Do you want to attempt to halt execution? (y or n) n
Not confirmed.
[SWF] Users:harbs:Documents:svn:PrintUI:PrintUI Flex
Dev:trunk:web_app:bin-debug:PrintUI.swf:[[DYNAMIC]]:17 - 247,830 bytes
after
decompression
[SWF] Users:harbs:Documents:svn:PrintUI:PrintUI Flex
Dev:trunk:web_app:bin-debug:PrintUI.swf:[[DYNAMIC]]:18 - 36,391 bytes
after
decompression
[SWF] Users:harbs:Documents:svn:PrintUI:PrintUI Flex
Dev:trunk:web_app:bin-debug:PrintUI.swf:[[DYNAMIC]]:19 - 159,622 bytes
after
decompression
[SWF] Users:harbs:Documents:svn:PrintUI:PrintUI Flex
Dev:trunk:web_app:bin-debug:PrintUI.swf:[[DYNAMIC]]:20 - 165,717 bytes
after
decompression
[SWF] Users:harbs:Documents:svn:PrintUI:PrintUI Flex
Dev:trunk:web_app:bin-debug:PrintUI.swf:[[DYNAMIC]]:21 - 172,518 bytes
after
decompression
[SWF] Users:harbs:Documents:svn:PrintUI:PrintUI Flex
Dev:trunk:web_app:bin-debug:PrintUI.swf:[[DYNAMIC]]:22 - 168,347 bytes
after
decompression
[SWF] Users:harbs:Documents:svn:PrintUI:PrintUI Flex
Dev:trunk:web_app:bin-debug:PrintUI.swf:[[DYNAMIC]]:23 - 210,138 bytes
after
decompression
[SWF] Users:harbs:Documents:svn:PrintUI:PrintUI Flex
Dev:trunk:web_app:bin-debug:PrintUI.swf:[[DYNAMIC]]:24 - 250,639 bytes
after
decompression
[SWF] Users:harbs:Documents:svn:PrintUI:PrintUI Flex
Dev:trunk:web_app:bin-debug:PrintUI.swf:[[DYNAMIC]]:25 - 293,346 bytes
after
decompression
[SWF] Users:harbs:Documents:svn:PrintUI:PrintUI Flex
Dev:trunk:web_app:bin-debug:PrintUI.swf:[[DYNAMIC]]:26 - 215,281 bytes
after
decompression
[SWF] Users:harbs:Documents:svn:PrintUI:PrintUI Flex
Dev:trunk:web_app:bin-debug:PrintUI.swf:[[DYNAMIC]]:27 - 257,474 bytes
after
decompression
[SWF] Users:harbs:Documents:svn:PrintUI:PrintUI Flex
Dev:trunk:web_app:bin-debug:PrintUI.swf:[[DYNAMIC]]:28 - 262,241 bytes
after
decompression
[SWF] Users:harbs:Documents:svn:PrintUI:PrintUI Flex
Dev:trunk:web_app:bin-debug:PrintUI.swf:[[DYNAMIC]]:29 - 293,883 bytes
after
decompression
continue
Additional ActionScript code has been loaded from a SWF or a frame.
To see all currently loaded files, type 'info files'.
Set additional breakpoints as desired, and then type 'continue'.
(fdb) continue
Additional ActionScript code has been loaded from a SWF or a frame.
To see all currently loaded files, type 'info files'.
Set additional breakpoints as desired, and then type 'continue'.
(fdb) continue
Additional ActionScript code has been loaded from a SWF or a frame.
To see all currently loaded files, type 'info files'.
Set additional breakpoints as desired, and then type 'continue'.
(fdb) c
Command not valid without a session.
Player session terminated
(fdb) continue
Command not valid without a session.
(fdb)