Sunday, July 27, 2014

Re: GWT Developer Plugin no longer works with Chrome on Linux

I spent a little time many months ago trying to get SDM working.  I think I succeeded but was very surprised about the number of steps required.  The thing that surprised me most, however, was discovering that I had to have two servers running (if I am correct) - an app server, and a code server.  All of the docs I've seen provide the steps but never explain at a higher level what is going on (unless you understand far more internal details than many of us).  The biggest difficulty occurs because the instructions were leading me down the path of two servers but I kept fighting it - trying to get one server to perform both functions.  The fight occurred because I didn't understand what was being attempted.  I didn't understand that I needed two servers running.

So, what is needed is a better up-front description of what you end up with (two servers), and a block diagram that depicts the parts and the data flow between them.  Understanding this would make the instruction much more clear.

(Sorry if I am totally wrong and confused.  Quite possible.)

Thanks.

Blake


Blake McBride

www.arahant.com
Cell:    615-394-6760
Office:  615-376-5500
Fax:     615-377-6006




On Sun, Jul 27, 2014 at 6:48 AM, Jens <jens.nehlmeier@gmail.com> wrote:
my GWT compiler does not recognize a "-draft" option. I am running GWT 2.6.0.

I think it is -draftCompile . Doesn't the GWT compiler help (which is automatically shown on console when you provide an unknown parameter) doesn't show the correct option?


However, I changed my code (added a cell view into my split panel), but I do not see the result after recompiling. Maybe there was an error or an exception. Are exceptions still shown in eclipse when running SDM?

Server exceptions are shown in your DevMode Jetty output and client exceptions are shown in the browser console and/or are handled by your GWT.setUncaughtExceptionHandler().

 
How can I debug step by step in SDM?

Using the browser's dev tools. For eclipse there is a proof-of-concept plugin to allow debugging in the IDE: https://github.com/sdbg/sdbg

-- J.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment