Sunday 15 April 2012

java - GWT client debugging with Eclipse -


I have a GWT app, which I have to debug both client Java class (GWT) and server business classes. I can successfully debug server side classes where the debug point hits when there is any service request process.

But the problem is in the client Java class debug points are not hit. What is the reason for this? Do I need a forward step or device to debug GWT Java classes?

I am using Eclipse Indigo and glassfish.

Launch your host page

If you directly from your ID code, host ( appName.html) ) then strong> (eclipse):

The browser must have a URL

  http: // Localhost: 8080 / index.html?gwt.codesvr= 127.0.0.1: 9997 ------- ^ --------- | appname.html -------- ^ ---- -----   

1 <<< P>

The third part debug query foot

If you are sending the page from servlet:

  request.getRequestDispatcher ("/ appName.html?gwt.codesvr = Forward (request, response);   

and check your debug cofiguration logic tab.

  -remoteUI "$ {Gwt_remote_ui_server_port}: $ {unique_id} "-startupUrl projectname.html -logLevel INFO - CodeServerPort 9997 -port 8888 -where e: \ workspace \ projectname \ war com.test.projectname   

See link for

No comments:

Post a Comment