DZone Forums
Go Back   DZone Forums > Community > Tools & IDEs > Eclipse
Reload this Page profiling when doing remote debugging
Notices
Reply
 
LinkBack Thread Tools Display Modes
  (#1 (permalink)) Old
Member
 
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: May 2008
Default profiling when doing remote debugging - 05-06-2008, 03:22 AM

Hi.

I have installed Tomcat 5 and I am debugging my application by Remote Debugging option.It all works fine, when I start the server (out of eclipse) and debug my application.

For this I have made following changes in my Catalina.bat:

Code:
set JAVA_OPTS=-DESS_ES_HOME=C:\MyDrives\DDrive\planning -Dhyperion.home=C:\Hyperion -Djava.endorsed.dirs=C:\Hyperion\common\appServers\Tomcat\5.5.17\common -Djava.library.path=C:\MyDrives\DDrive\planning\output -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9095
But I want to do profiling of my application and have installed TPTP. In the Arguments tab of Profile window I give above snippet in VM arguments. Now my VM Arguments read as:

Code:
-Dcatalina.base="C:\program files\Apache Software Foundation\Tomcat 5.0" -Dcatalina.home="C:\program files\Apache Software Foundation\Tomcat 5.0" -Dwtp.deploy="C:\program files\Apache Software Foundation\Tomcat 5.0\wtpwebapps" -Djava.endorsed.dirs="C:\program files\Apache Software Foundation\Tomcat 5.0\common\endorsed" -DESS_ES_HOME=C:\MyDrives\DDrive\planning -Dhyperion.home=C:\Hyperion
this is same for my Tomcat launch configuration also.

But when I click on profile button, it trys to start the Tomcat server defined in Eclipse and then errors out when it doesn't find that running.

Can you please tell me how can I profile when running the server out of eclipse?
Thanks.
Reply With Quote
Reply

Tags
eclipse, profiling, remote debugging, tomcat, tptp

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
pulling out hair... remote debugging... chconnor Eclipse 2 01-07-2009 08:31 PM
Remote debugging problem in application startup code satisha123 Eclipse 0 12-24-2008 05:52 AM
Failed to connect to remote VM.Connection refused - run remote app in eclipse debug rajan_mmn Eclipse 0 07-03-2008 06:00 AM
Help on the Eclipse remote debugging issue mzheng Eclipse 0 05-13-2008 05:39 PM
Cannot find Remote Debugging option... help... beefsupreme Eclipse 2 02-19-2008 10:25 AM


Copyright 1997-2009, DZone, Inc.
vBulletin Skin developed by: vBStyles.com