Hi,

The steps are following:
1. Build war file with your GWT web application (You may use maven, or cypal
studio Eclipse plugin).
2. Deploy this war file on Tomcat.
3. Start Tomcat in debug mode and attach to it using Remote debug.
-- After this Eclipse should show you one debugging process (your
serverside).
4. Create new Eclipse debug configuration (Select "Java Application" type).
5. On "Main" tab of this configuration put Main class:
"com.google.gwt.dev.GWTShell".
6. On "Arguments" tab supply following values:
  6.1. Program arguments: -noserver
<<URL_TO_ACCESS_DEPLOYED_APPLICATION>> -style PRETTY (EX: -noserver
http://localhost:8080/myapplication/com.mycompany.myapplication/
myapplication.html<http://localhost:8080/myapplication/com.mycompany.myapplication/SamsungBto.html>-style
PRETTY)
  6.2 [optional] VM arguments: -Xmx 512m
7. On "ClassPath" tab add: "gwt-servlet-xxx.jar", "gwt-user-xxx.jar",
"gwt-windows-xxx.jar", "gwt-dev-windows-xxx.jar"  (or analogs depending on
your platform).

Start this configuration (Application in hosted mode should be opened)



2009/1/19 [email protected] <[email protected]>

>
> Hi All,
>
> I tried doing these steps for gwt 1.5. But I can't get the debugger up
> at my breakpoints.
> How do I refer the eclipse debugger to debug the hosted mode app. I
> ran the shell.cmd with -noserver -out "%~dp0\www" %*
> http://localhost:8082/myproject/MyApp/MyApp.html
>
> I created a "Remote Java Application" in the Debug Configurations
> which refer to the Tomcat RemoteDebugger jpda port 8000
>
>
> Thanks,
>
> On Jan 18, 4:11 am, Lex <[email protected]> wrote:
> > Hello
> >
> > You may find answer here:
> http://code.google.com/support/bin/answer.py?answer=55200
> >
> > On Jan 17, 3:20 am, "[email protected]" <[email protected]>
> > wrote:
> >
> > > I want my entire legacy app to be run from the hosted mode so that I
> > > can debug the front end code(java).
> > > Currently if I deploy to tomcat and attach a Remote debugger I can't
> > > debug the GWT code because they are now html & JS.
> >
> > > I want a way to debug GWT working within the full application. How can
> > > I please?
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to