Posts Tagged 'Eclipse'

Eclipse ${user} variable

To change the ${user} variable, add the following line into the file eclipse.ini

-Duser.name=Your Name

29 April 2010 at 09:51 - Comments

How to debug a GWT Application with gwt-maven-plugin in Eclipse

If you are not using Eclipse and gwt-maven-plugin, please skip this post.

The following shows you how to configure Eclipse to remote debug a GWT application.

 

1. First step: Execute gwt:debug at the the command-line in the project directory

When you run gwt:debug, gwt-maven-plugin enables the remote debug mode at port 8000 (normally)

Here is what you see

image

The application stops here and listens for response from a debugger at port 8000.

 

2. Second step: configure Eclipse Debugger

In Eclipse you go to menu Run\Debug Configurations … and create a new launch configuration “Remote Java Application

Enter the host/port value as follows.

image

Now when you click Debug, the application starts running and you can see the logs continuing in the console

 

That’s it !

15 November 2009 at 09:26 - Comments