Varun Madiath
Varun Madiath

Reputation: 3242

Eclipse is not stopping at breakpoint in my GWT application

I'm trying to debug a GWT application in eclipse. I click on the Debug->Web Application, and eclipse gives me a URL for development mode. Once I paste that into Firefox, where I have the GWT extension installed, eclipse spends many minutes compiling the application. However when the website loads, and I perform actions that should trigger a breakpoint, I don't seem to hit the breakpoint. Any ideas what could be causing this?

Thanks.

Upvotes: 7

Views: 9267

Answers (3)

Richard Gregory
Richard Gregory

Reputation: 1

I just hit the problem where my server was running in debug mode, but the breakpoints were not showing as installed (check mark on the breakpoint icon). I found that was because there was already a debug connection to the JVM. When I closed the other debug connection and restarted running the project in development mode, the breakpoints started popping.

Upvotes: 0

Gursel Koca
Gursel Koca

Reputation: 21300

It seems that you are using web mode instead of development mode. You did state that compilation takes many minutes. Compilation in dev mode does not require so much time, but compilation to JavaScript takes minutes. And as you know, you can not debug GWT client side Java code in web mode.

Upvotes: 2

Saurabh Gokhale
Saurabh Gokhale

Reputation: 46425

Basically the problem isn't with the Eclipse or GWT. The problem may be with the JDK .

The following links can just be the solution you may be searching for :

Upvotes: 3

Related Questions