Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » how to profile eclipse rcp application
how to profile eclipse rcp application [message #116044] Fri, 19 October 2007 16:51 Go to next message
Eclipse UserFriend
Originally posted by: sudhakar.co.brazos.tx.us

I have an eclipse RCP application myrcpapp. The myapprcp.ini file is as
below:

-agentlib:JPIBootLoader=JPIAgent:server=standalone,filters=. /filters.txt,file=trace.trcxml;CGProf
-vmargs
-Xmx1024m

I downloaded and configured the standalone Agent Controller and started
up the ACServer.exe

I then launched by rcp application. Now how do I connect and start
profiling this from TPTP installed in my Eclipse workbench? Here's where
I am:

1. I have the Profile dialog open.
2. Choose the Attach to Agent and create a new profile
3. Under host I have localhost:10002 and the Test Connection works fine
4. Under Agents I have nothing listed even after I click refresh

Can someone point me to what I'm missing. Thanks!

-sud
Re: how to profile eclipse rcp application [message #116166 is a reply to message #116044] Tue, 23 October 2007 05:19 Go to previous message
Eclipse UserFriend
Originally posted by: alexander.n.alexeev.intel.com

Hi,

Profiling via JVM TI supports three different modes:
-enabled (default)
-controlled
-standalone

You can only connect to profiled application executed in "enabled" or
"controlled" mode. "standalone" means Eclipse WB isn't required for data
collecting, and all events are saved in local file.

More information about in you can find in TPTP section at Eclipse help:
http://help.eclipse.org/help33/topic/org.eclipse.tptp.platfo rm.doc.user/tasks/teprofsa.htm

So, if you want connect to your RCP application from Eclipse WB you should
use following option server=enabled or server=controlled

Thanks.
Alex.
Previous Topic:Profiling a JUnit 4 test fails with NoClassDefFoundError CbeProbe_probe$Probe_0
Next Topic:Agent Controller is unavailable under port 10002
Goto Forum:
  


Current Time: Thu Apr 18 23:58:46 GMT 2024

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

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

Back to the top