OK it now works for one of these projects. When i "Debug as... > Web
Application" i see logs in the console and debugging works like a
charm.
Logs from the working project:
...
Found new resource: com/google/gwt/core/client/GWTBridge.java
Found new resource: com/google/gwt/lang/
ClassLiteralHolder.java
Found new resource: com/google/gwt/lang/Util.java
Validating <servlet> tags for module
'com.x.ecommerce.ui.gwt.Ecommerce'
...
Emitting resource Ecommerce.css
Emitting resource Ecommerce.html
Emitting resource clear.cache.gif
...
But for another project, i made the exact same tasks and nothing
happens, nothing in eclipse console and in my browser i get the
Fd.html file which is a Login screen and my
EntryPoint is never reached.
Eclipse console is empty, but in the "Development Mode" view i see the
following errors:
16:32:16.634 [DEBUG] [com.dexero.fd.ui.gwt.admin.Admin] Checking rule
<generate-with
class='com.google.gwt.resources.rebind.context.InlineClientBundleGenerator'/
>
16:32:17.357 [ERROR] [com.fd.ui.gwt.admin.Admin] Unable to get value
of property 'user.agent'
16:32:17.474 [ERROR] [com.fd.ui.gwt.admin.Admin] Deferred binding
failed for 'com.allen_sauer.gwt.dnd.client.util.DragClientBundle';
expect subsequent failures
16:32:17.540 [ERROR] [com.dexero.fd.ui.gwt.admin.Admin] Unable to load
module entry point class
com.allen_sauer.gwt.dnd.client.util.DragEntryPoint (see associated
exception for details)
java.lang.RuntimeException: Deferred binding failed for
'com.allen_sauer.gwt.dnd.client.util.DragClientBundle' (did you forget
to inherit a required module?)
at com.google.gwt.dev.shell.GWTBridgeImpl.create
(GWTBridgeImpl.java:43)
at com.google.gwt.core.client.GWT.create(GWT.java:98)
...
Any ideas?
Thanks,
ABB
On Jan 15, 10:55 am, Alexander <[email protected]> wrote:
> Yeah, dont be shy. Tell us why you cant debug from Eclipse.
>
> 2010/1/15 Miguel Méndez <[email protected]>
>
>
>
> > You should be able to use eclipse to debug you web application -- we do it
> > all the time. Are you not hitting break points or does it just not launch?
>
> > On Thu, Jan 14, 2010 at 2:47 PM, ABB <[email protected]> wrote:
>
> >> For some reason, I am not able to debug a specific GWT project in
> >> Eclipse using "Debug as... > Web Application".
>
> >> So I'm now trying to use an ANT target to launch DevMode in order to
> >> be able to debug my project in eclipse. Is that possible to use ANT or
> >> "Debug as... > Web Application" is the only way to debug in eclipse?
>
> >> I'm kind of new with GWT, just started on a big project and for some
> >> reason, the guys here never used the debugger...
>
> >> Regards,
> >> ABB
>
> >> --
> >> You received this message because you are subscribed to the Google Groups
> >> "Google Web Toolkit" group.
> >> To post to this group, send email to [email protected].
> >> To unsubscribe from this group, send email to
> >> [email protected]<google-web-toolkit%[email protected]>
> >> .
> >> For more options, visit this group at
> >>http://groups.google.com/group/google-web-toolkit?hl=en.
>
> > --
> > Miguel
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Web Toolkit" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<google-web-toolkit%[email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.
>
> --
> Regards,
> Alexander
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.