Flex debugger constantly disconnecting

Hello,

I am using IntelliJ Ultimate 9.0.3 for developing a large Flex-based project.  For some time now I have been having issues with the IntelliJ debugging tool.  Sometimes the debugger will disconnect itself during a session.  Sometimes the debugger will silently fail, where it stays connected, but I can't step or analyze any new values.  I haven't looked very deep into this, as I am not sure where to begin, but lately this has really inhibited my progress and I want to get to the bottom of it.

Has anybody run into similar issues?  Any recommendations on troubleshooting?

Thanks!

7 comments
Comment actions Permalink

Are you on Linux?  If so this seems to be a common problem:
http://bugs.adobe.com/jira/browse/FP-1421

I've only been able to workaround it by downgrading to Flash Player 9.

0
Comment actions Permalink

Ah, thank you.  Yes, I am on Linux.

Unfortunately downgrading to Flash Player 9 is not an option for me, since the Flash Player 9 debugger is not supported on a 64 bit architecture.

0
Comment actions Permalink

Btw, any insider information on when the bug will be fixed :) ?

On 30.07.2010 2:49, James Ward wrote:

Are you on Linux?  If so this seems to be a common problem:
http://bugs.adobe.com/jira/browse/FP-1421

>

I've only been able to workaround it by downgrading to Flash Player 9.

>

---
Original message URL: http://devnet.jetbrains.net/message/5268943#5268943



--
Best regards,
   Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Comment actions Permalink

No.  I think they need a simple reproducible test case.  I haven't been able to create on with a simple app and the command line debugger.

0
Comment actions Permalink

Sometimes when I am debugging my Flex project, I won't be disconnected, but the debugger will stop working properly.  In this state, variables will be empty when I inspect or expand them, and if I click the "Stop" button to disconnect, my Flex application won't resume normal operation.  Sometimes I won't even be able to step any further in the code.

Have these behaviors been observed in other projects?  Does this sound like a result of the aforementioned Adobe bug?  It could also be due to the complexity of my Flex project -- not sure.  Are there logfiles I can look at, or some other way to troubleshoot this?

Thanks!

0
Comment actions Permalink

There is simple and reproducible example of Flash Player crash. I opened a dedicated issue for that (FP-FP-4911), but it is hidden so I don't know if it is fixed.
I also copied its description as a comment, but as usual see no reaction.
http://bugs.adobe.com/jira/browse/FP-1421?focusedCommentId=370454&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_370454

0
Comment actions Permalink

I suppose that this is because of Adobe's bug.
It is possible to get full communication logs of IDEA with debugger. To do this please do following:
- remove old logs from <idea.system.path>/log/*.* (idea.system.path  property is set in the file <IDEA installation>/bin/idea.properties)
- edit file <IDEA installation>/bin/log.xml and add following category there:

   <category name="com.intellij.lang.javascript.flex.debug">
     <priority value="DEBUG"/>
   </category>
...

- launch IDEA, reproduce the problem

After that <idea.system.path>/log/idea.log file will contain low-level technical info about debugger session.

0

Please sign in to leave a comment.