> After further research, I discovered a very tricky and hard to detect bug: 
> I forgot the damn entry point in my .gwt.xml
>

ouch..glad you have found it :) I would have probably searched whole day 
long.


As a related question, Is there any way to debug SDM and AppEngine server 
> at the same time??
>

Debugging client side code is generally done in the browser's dev tools 
through source maps. As you use IntelliJ 15 you could check the "with 
javascript debugger" checkbox in your GWT run configuration and then also 
install the Jetbrains Chrome plugin. When doing so IntelliJ creates an 
additional JavaScript debugger run configuration that will automatically 
launched when launching GWT run configuration (but you can also start it 
manually). IntelliJ is then connected to Chrome as remote debugger (your 
page in the browser should show a yellow notice at the top saying that 
Jetbrains is debugging that page). If everything works you should be able 
to set breakpoints in your Java files inside IntelliJ and debug your code 
in your IDE instead of the browser. But keep in mind that you are still 
debugging JavaScript though source maps, you only swapped Chrome Dev Tools 
with your IDE. 
Also you must close Chrome Dev Tools to make it work as only one debugger 
can be active. As soon as you open Chrome Dev Tools, debugging through 
IntelliJ  will stop until you close Chrome Dev Tools again and relaunch the 
JavaScript debugger run configuration.

You server side code on your AppEngine server can be debugged like any 
other Java process. If you launch the server through IntelliJ then you can 
just use the "debug" button to launch it. Otherwise you must use Java's 
remote debugging capabilities by creating a remote debugger run 
configuration in IntelliJ and launch AppEngine server with debugging 
enabled.


-- J.

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

Reply via email to