Here: http://www.sysdeo.com/eclipse/tomcatPlugin.html you can downloaad a 
Tomcat plugin, wich helps a lot the debbuging process.





"Roshan G" <[EMAIL PROTECTED]> 
18-05-2004 17:34
Por favor, responda a
"Jetspeed Users List" <[EMAIL PROTECTED]>


Para
[EMAIL PROTECTED]
cc

Asunto
RE: How do you debug action classes in Jetspeed






[1]  Start the JVM in debug mode.

If you are using Tomcat its as simple as adding the following line at the 
top of your catalina.bat file

SET CATALINA_OPTS=-server -Xdebug -Xnoagent -Djava.compiler=NONE 
-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000

(all in the same line)

Now start tomcat as usual.


[2] Get eclipse to connect to the JVM running tomcat.

(a) Debug --> Debug...
(b) Click on "Remote Java Application" in the left.
(c) In the dialog box select the eclipse project you want to debug.
(d) By default it should have localhost as HOST and 8000 as port.  If your 

Tomcat is in a different machine change it accordingly.

(e) Press Debug.

You should now see the usual eclipse Debug window. If you now set some 
breakpoints in your project code, it should stop there and you can debug 
as 
usual.

HTH

Roshan


>From: "alex" <[EMAIL PROTECTED]>
>Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
>Subject: RE: How do you debug action classes in Jetspeed
>Date: Sat, 15 May 2004 07:56:56 -0400
>
>Yes please a step-by-step example would be greatly appreciated.
>
>-----Original Message-----
>From: Jonathan Hawkins [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, May 18, 2004 4:45 AM
>To: 'Jetspeed Users List'
>Subject: RE: How do you debug action classes in Jetspeed
>
>I have just started using Eclipse, would you mind describing the steps
>involved, many thanks.
>
>Jon Hawkins
>

_________________________________________________________________
Want to block unwanted pop-ups? Download the free MSN Toolbar now! 
http://toolbar.msn.co.uk/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to