Wednesday, September 3, 2014

Re: Is GWT code server JDPA compliant?

Hi Thomas,
  I just tried gwt-gradle-plugin. It addresses my need perfectly. However, I enable the JPDA debugging slightly differently than the method mentioned in the document. I create the gwtDevDebug to extend gwtDev  and setDebug(true), which is more clear and easier than the -D system property.

  To show case the power of gwt-gradle-plugin and some undocumented features, I created a GWT get started project here: https://github.com/schnell18/gwt-gs on Github as well as this gist to bootstrap a new GWT with gwt-gradle-plugin to build.

  Thank you very much for the information!

On Wednesday, August 27, 2014 2:40:01 AM UTC-7, Thomas Broyer wrote:


On Wednesday, August 27, 2014 8:13:02 AM UTC+2, schn...@gmail.com wrote:
Hi,
  Recently I'm attempting to use IntelliJ IDEA 13 CE to serve as debugger for the GWT dev mode which is launched by gradle. I'd like to use the free IDEA edition to debug the client code. However, it seems to me the code server running on 9997 is not JPDA compliant as IDEA complains connection failed.

That port talks a GWT-specific protocol. You'll want to launch the JVM in debug mode and attach to it, like any other Java program.
With the gwt-gradle-plugin, you're however given a gwtDev task with a debug option that enables JDPA on the 5005 port; see the bottom of https://steffenschaefer.github.io/gwt-gradle-plugin/doc/latest/quickstart
 
  Is it possible to debug GWT using IDEA CE? Or I have to use Eclipse/NetBean or the commercial version of IDEA?

You should be able to use any tool you want. And if using Eclipse for instance, you're not forced to install the Google Plugin for Eclipse. It should Just Work™.

--
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