How to Show GWT "Development Mode Console"?

328 views
Skip to first unread message

tinnitus007

unread,
Dec 6, 2012, 1:31:16 PM12/6/12
to google-we...@googlegroups.com
I have always only ever used GWT with the GWT Designer plugin also installed.  I only noticed because I recently installed Eclipse 4.2, but GWT Designer is only current to 3.7 ??

And now I see that apparently it is GWT Designer that supplies the Launch Configuration types "GWT Application" and "Compile GWT Application."  Without GWT Designer, I do not see these Launch Configurations to which I have become accustomed.

In particular, I like seeing the independent GWT Development Mode console that is launched by the "GWT Application" Launch Config:


The GPE supplied Launch Configuration "Web Application" presents as an Eclipse view, in contrast, but appears to report same info?


So if I want to see the familiar independent GWT Development Mode console, but I don't have GWT Designer installed to give me a Launch Config that provides that, how do I do that?


Thanks!



Jens

unread,
Dec 6, 2012, 2:07:31 PM12/6/12
to google-we...@googlegroups.com
The DevMode View inside Eclipse gives you the same information as the independent DevMode window. In the independent DevMode window you also have a tab showing jetty log output. This Jetty log output can be found in Eclipse console if I remember correctly (I use an external server).

So its not much of a difference.

To launch the independent DevMode window I guess you have to create a Java Application launch config instead of choosing GPE's "run as web application". Main class is com.google.gwt.dev.DevMode (found in gwt-dev.jar) and parameters/classpath settings can be copied from a launch config that has been created by GPE's "run as web application".

-- J.

tinnitus007

unread,
Dec 6, 2012, 5:04:41 PM12/6/12
to google-we...@googlegroups.com
OK, now that I've been using the GPE console a few hours, I think I like it better, due to one advantage:

The GWT Development Mode console shows a helpful stack trace:

But the GPE console shows a helpful stack track with hyperlinks to the offending code in an Eclipse editor (ooh, ahh):


I think the only message I ever see in the Jetty tab is Java out of memory, which is rare.
Reply all
Reply to author
Forward
0 new messages