Application controlled start/stop profiling within eclipse [message #96412] |
Thu, 19 April 2007 04:56  |
Eclipse User |
|
|
|
Originally posted by: guy.coleman.prolog.uk.com
Hi,
I've been profiling Java applications with TPTP from within Eclipse
(using the Profile As -> Java Application menu items) and it's been
working very well.
I now want to profile some applications that have a long start up time,
and I don't want to start profiling until the startup is over.
I understand that if I ran the application stand alone and used
server=application I could control when profiling is started/stopping
from within the application.
I can't see a way to do this from within the profiling options in
Eclipse. There is a "Automatically start monitoring when application is
launched" check box, but the documentation doesn't cover how to then
start profiling later.
Am I missing something? Thanks,
-Guy Coleman
|
|
|
|
|
Re: Application controlled start/stop profiling within eclipse [message #96530 is a reply to message #96412] |
Fri, 20 April 2007 13:58  |
Eclipse User |
|
|
|
If you uncheck the option "Automatically start monitoring when application
is launched", then the agent will start in "pause" mode. You can start
monitoring the agent using the "Start Monitoring" toolbar item of the
profiling monitor view.
Thanks,
Ali Mehregani
"Guy Coleman" <guy.coleman@prolog.uk.com> wrote in message
news:f07as1$9op$1@build.eclipse.org...
> Hi,
>
> I've been profiling Java applications with TPTP from within Eclipse (using
> the Profile As -> Java Application menu items) and it's been working very
> well.
>
> I now want to profile some applications that have a long start up time,
> and I don't want to start profiling until the startup is over.
>
> I understand that if I ran the application stand alone and used
> server=application I could control when profiling is started/stopping from
> within the application.
>
> I can't see a way to do this from within the profiling options in Eclipse.
> There is a "Automatically start monitoring when application is launched"
> check box, but the documentation doesn't cover how to then start profiling
> later.
>
> Am I missing something? Thanks,
> -Guy Coleman
|
|
|
Powered by
FUDForum. Page generated in 0.06070 seconds