Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » how to debug a remote tomcat
how to debug a remote tomcat [message #181200] Mon, 09 October 2006 17:30 Go to next message
Eclipse UserFriend
Originally posted by: ludovikoazuaje.yahoo.com

hello,


does any body know how to debug a remote tomcat server ?


any information, url, plugin-info or reference is appreciated.


thanks.
Re: how to debug a remote tomcat [message #181280 is a reply to message #181200] Tue, 10 October 2006 12:51 Go to previous message
mohammad norouzi is currently offline mohammad norouziFriend
Messages: 7
Registered: July 2009
Junior Member
hi

put following line in catalina.bat file

SET JAVA_OPTS=-Xdebug
-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend= n

and then create a new Remote Java Application at "Debug" menu item
and set its Host to your host ip (or localhost) and its Port to 8000

then run that debug. make sure to put some breakpoint in your codes.

another thing is that you should compile your project java files with
debug options.
Previous Topic:Problem while publishing on server (file name too long).
Next Topic:please answer some very basic webtools quesions!
Goto Forum:
  


Current Time: Sun Dec 21 01:54:28 GMT 2014

Powered by FUDForum. Page generated in 0.02560 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software