Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 360553

Summary: Error when JVM hits a Conditional Breakpoint
Product: [Eclipse Project] JDT Reporter: Stephen Wick <stephen.wick>
Component: DebugAssignee: JDT-Debug-Inbox <jdt-debug-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: normal    
Priority: P3    
Version: 3.8   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:

Description Stephen Wick CLA 2011-10-11 11:31:45 EDT
Build Identifier: 20110916-0149

I have the Eclipse Debugger attached to a Remote JVM running JBoss.

I am getting the following error when the remote JVM hits a conditional breakpoint in Eclipse:

An internal error occurred during: "JDI Event Dispatch".
Timeout occurred while waiting for packet 10418.

The packet number keeps changing.

The breakpoint is on a method named YFSSystem.getProperty(String key), which is located within a J2EE EAR file in JBoss.  The breakpoint condition is:  "some.value".equals(key)

I don't get the same problem when I set a conditional breakpoint on System.getProperty(String arg0).  The following condition works just fine:  "file.encoding".equals(arg0)


Reproducible: Always

Steps to Reproduce:
1.Start eclipse with a Java Project that contains java code which will be packaged into an EAR file by an Ant build script for deployment to a remote JBoss server.
2.Set up a PuTTY SSH tunnel that maps localhost:8000 to port 8000 on the remote server where JBoss will be running.
3.Create a conditional breakpoint that tests the value of a method argument on a method of a Java Class that only exists in an EAR file deployed to JBoss.
4.Start the JBoss JVM in debug mode with suspend=y.
5.Start the Eclipse Debug session for the "Remote Java Application" by connecting it to localhost:8000.
6.Do whatever needs to be done to invoke the Java method in the EAR running in the JBoss server.
Comment 1 Stephen Wick CLA 2011-10-11 12:06:56 EDT
I installed JadClipse, and the problem stopped occuring.