tags:

views:

1504

answers:

5

After upgrading to Java 1.6.0_14, a GWT application in Eclipse no longer stops at breakpoints even though Eclipse shows that the breakpoints are active. Are there workarounds for this issue?

+2  A: 

This is a known issue with GWT and Eclipse. The current recommended workaround is to use Java 1.6.0_13 for debugging.

Greg Bacon
I experienced this with Java 7 b59 too. Annoying.
kd304
+2  A: 

The error occurs commonly with JDK 1.6.0_14 and is probably not related to GWT. Swing apps also have faced similar issues before. Here are some relevant links:

http://stackoverflow.com/questions/1027002/eclipse-swing-app-breakpoint-hit-only-after-an-uncaught-exception-is-thrown

https://bugs.eclipse.org/bugs/show_bug.cgi?id=279137

Thimmayya
Fron that Eclipse bug, it seems a workaround inside 6u14 is to use the JVM option: -XX:+UseParallelGC
gojomo
+2  A: 

The JDK early release 6u18 fixes this issue - finally! http://bit.ly/34aUZB

jah
A: 

I had the same problem and installed the latest version (JDK 1.6.0_16) and it is now fixed. One of the bugs fixed in 1.6.0_16 is that breakpoints were not working.

-Chris Novak

A: 

We upgraded to GWT 2.0 and now our client-side breakpoints no longer work. Server break points work. We've tried all the suggested JDKs,13,16, 20, no love. It must be something in our project, because other projects break fine. Burned a day on this already.

mike