Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Debugging Appserver Hosted applications
Debugging Appserver Hosted applications [message #148113] Thu, 23 October 2003 05:27 Go to next message
Eclipse UserFriend
Originally posted by: anranga.yahoo.com

Hi,

How do you debug applications hosted on an app server/webserver using
eclipse. I currently have an application hosted on Tomacat and want to
debug the same. Can somebody tell me how or point to to the appropriate
documentation.

regards
ANR
Re: Debugging Appserver Hosted applications [message #148115 is a reply to message #148113] Thu, 23 October 2003 05:42 Go to previous message
Eclipse UserFriend
Originally posted by: kresho.ieee.org

You must start the server with debugging options turned on for the JVM. I use these:

-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,address=5000,suspend= $SUSPEND

replace $SUSPEND with either 'y' on 'n', depending on whether you want the application to wait with startup until you connect with the debugger or not. Put these options in the command line before any mention of the main class/jar file, because these are VM options, not app options.

Then, create a debug launch config using "Remote java app" type, and enter your server name and port (5000 in above example).

Launch the debugger and enjoy :-)

--
Krešimir Tonkovic
Alterbox.hr doo

kresimir.tonkovic@alterbox.hr
www.alterbox.net

"ANR" <anranga@yahoo.com> wrote in message news:bn86ul$tgp$1@eclipse.org...
> Hi,
>
> How do you debug applications hosted on an app server/webserver using
> eclipse. I currently have an application hosted on Tomacat and want to
> debug the same. Can somebody tell me how or point to to the appropriate
> documentation.
>
> regards
> ANR
>
Previous Topic:mailing lists vs newsgroups
Next Topic:setting bigger icons in toolbar
Goto Forum:
  


Current Time: Tue Jul 22 01:43:12 EDT 2025

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

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

Back to the top