On 13 mai, 14:28, ziglionz <[email protected]> wrote:
> Hi,
>
> I've got a problem debugging in Eclipse using an external server, with
> the -noserver option.
> I used to be able to do it in GWT 1.5 but now with 1.6 I can never
> reach the onLoadModule() handler.
> The compiled code works perfectly fine on the server.

...and has been compiled with GWT 1.6 ?

Could it be the hosted.html from a previous GWT 1.5 deployment that's
cached in the browser? (reported in another thread)

Do you have an error message ?

I've added a -whitelist argument to my launch, otherwise I had a
confirmation from the hosted mode to reach my distant server, could it
be your problem? (with an additional issue that the prompt do not
show)

> Now, I read from 
> here:http://code.google.com/webtoolkit/doc/1.6/FAQ_DebuggingAndCompiling.html
> "If you are using an IDE such as Eclipse configured to integrate with
> GWT's hosted mode for debugging, then using -noserver will prevent you
> from automatically debugging your server code in the same debugger
> instance you use to debug hosted mode. However, if the server software
> you use supports it, you can of course use an external debugging
> tools."
>
> I suspect that has nothing to do with my problem. All that means is
> probably that you can't debug the actual web server code and the GWT
> code within the same Eclipse debugger instance.

Absolutely.

> So, I should be able to step into the onLoadModule() event in GWT 1.6
> as I did with previous versions.

Yes.

> Are you guys finding any problems with it?

No problem at all; works like a charm (both using the Google Plug-in
for Eclipse and a .launch file that I had for GWT 1.5 and which I've
adapted for GWT 1.6; this is where my -whitelist lived)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to