Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

In debug, Eclipse cannot pause after a particular unpredictable freeze

807580Aug 25 2009 — edited Sep 11 2009
Hi!

I've been unsuccesfully trying to figure this out for the last week, so I thought I'd finally resort to this lovely forum :)

I'm coding a multi-threaded, networked OpenGL(JOGL) rendering java program.

It freezes randomly between either a minute or more than two hours of running time. What is worse, when in the eclipse debugger I click pause to see if my program is deadlocked, I get the following error in eclipse:

"org.eclipse.jdi.TimeoutException: Timeout occurred while waiting for packet XXXX. occurred resuming thread."

and the debugger cannot possible stop the program from running.

I've searched long and hard for a solution, updated all my libraries/eclipse/JDK, and tried increasing the Preferences->Java->Debug->Debugger timeout (ms) value to 5 minutes as was suggested in one of the mentions of this issue on the internet.

However I still have the problem and it's driving me bananas :D

Note that I can debug code in eclipse in general, just not this particular freezing problem.

Do you have any suggestion on how I can get to debug this freeze?

Thank you!!!!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 9 2009
Added on Aug 25 2009
11 comments
900 views