Hi
Check the setting of launch option in Flex run configuration it should
not be "Debug already running player"
On 17.03.2010 16:13, Duncan Alexander wrote:
Hi, so, this next bit is a little strange.
>
I followed your instructions, exactly, and nothing more. When I ran the debug session in Intellij
it appeared to start working, albeit not completely (no browser or flashplayer opens).
>
The console now display this.....
>
Adobe fdb (Flash Player Debugger) build 4852
Copyright (c) 2004-2007 Adobe, Inc. All rights
reserved.
Waiting for Player to connect
>
..And I was able to connect by opening a browser manually, hitting the correct URL, right click,
select debugger, then connect.
>
So, Ive no idea what started it working. The only thing I can think is that I had not set any
breakpoints on all the ocassions I had attempted to debug previously. Although, once I removed
the breakpoint I had added on your instructions it still appeared to work. Maybe something was
caching ??
>
In summary, Its still not opening a browser and connecting automatically but I can manually
attach the debugger which allows me to continue working. Ive attached the trace output below
anyway just in case this might shed some light but it doesnt appear to show any errors.
>
>
=========================================
>
2010-03-17 13:11:49,875 1043838
DEBUG - pt.flex.debug.FlexDebugProcess - 1268831509875 Adobe fdb (Flash Player Debugger)
build 4852
Copyright (c) 2004-2007 Adobe, Inc. All rights reserved.
2010-03-17 13:11:49,875 1043838
DEBUG - pt.flex.debug.FlexDebugProcess - 1268831509875 Processed by
com.intellij.lang.javascript.flex.debug.FlexDebugProcess$ReadGreetingCommand
2010-03-17 13:11:49,875 1043838
DEBUG - pt.flex.debug.FlexDebugProcess - 1268831509875 Sent:run
2010-03-17 13:11:49,887 1043850
DEBUG - pt.flex.debug.FlexDebugProcess - 1268831509887 Waiting for Player to connect
2010-03-17 13:11:49,887 1043850
DEBUG - pt.flex.debug.FlexDebugProcess - 1268831509887 Processed by
com.intellij.lang.javascript.flex.debug.FlexDebugProcess$LaunchBrowserCommand
2010-03-17 13:11:59,543 1053506
DEBUG - pt.flex.debug.FlexDebugProcess - 1268831519543 Player connected; session starting.
Set breakpoints and then type 'continue' to resume the session.
SWF /radon_java_webapp/bin/Main.swf -
7,324,675 bytes after decompression
2010-03-17 13:11:59,543 1053506
DEBUG - pt.flex.debug.FlexDebugProcess - 1268831519543 Processed by
com.intellij.lang.javascript.flex.debug.FlexDebugProcess$LaunchBrowserCommand
2010-03-17 13:11:59,544 1053507
DEBUG - pt.flex.debug.FlexDebugProcess - 1268831519543 Sent:continue
=========================================
>
regards
>
Duncan
>
---
Original message URL: http://www.jetbrains.net/devnet/message/5258783#5258783
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"