Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » 'recorder' tptp distibutive/pack?
'recorder' tptp distibutive/pack? [message #111963] Fri, 07 September 2007 12:03 Go to next message
Vadim Dmitriev is currently offline Vadim DmitrievFriend
Messages: 74
Registered: July 2009
Member
Hi!

Situation: software is running on remote computer that i can't access
over the net. This software is failing with errors which source i cannot
pinpoint based on produced logs.

Should there be network access, i would probably debug program remotely.
But alas, i cant. What i hope to do is to:
1. create some "execution flow recorder"/"black box" tptp pack so i can
configure it for recording locally (recorder package/class/method
filters, execution flow/memory/etc recording type and so on)
2. send it to guys running that program. They'll run that recorder,
press 2-3 buttons and tptp will record program execution for some time.
3. after that recorded results would be sent back to me

Of course I can get somewhat similar results by simply adding printlns
after every code line, but using tptp to analyze execution flow is MUCH
more easier and in the end will save me a lot of time.

So, are there any way to create such an eclipse pack that can to work as
a recorder that can be used by someone not familiar with eclipse or even
java?

Thanks in advance.
Re: 'recorder' tptp distibutive/pack? [message #111976 is a reply to message #111963] Fri, 07 September 2007 14:45 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alexander.n.alexeev.intel.com

Vadim, if I understand correctly you are trying to debug raw Java
application.
In this case you can use TPTP at stand-alone mode. This allows you to
gather execution sequence information offline and later construct Call
Graph or some other presentation, it depends from type of profiling and
configuration.

Required steps:

1. Download "Agent Controller" archive for target platform
2. Deploy it any appropriate place
3. Configure execution for profiled application
- set environment variables
TPTP_AC_HOME=<<Agent Controller Home>>

JAVA_PROFILER_HOME=%TPTP_AC_HOME%\plugins\org.eclipse.tptp.j avaprofiler
PATH=%JAVA_PROFILER_HOME%;%PATH%;%TPTP_AC_HOME%\bin:%JAVA_HO ME%\bin
or LD_LIBRARY_PATH if you work with Linux
- Configure filters to reduce runtime overhead, trace file size and to
remove clutter. Filter configuration file is simple text with
following
format

"package/class template" "method" INCLUDE/EXCLUDE

Pay attention to order of templates, it affects which information
will be
collected.

4. Run target application on JVM with configured TPTP agent
"java -cp <class path>
-agentlib:JPIBootLoader=JPIAgent:server=standalone,filters=m yFilter.txt;CGProf:execdetails=true
<application class>"

By default information is collected in trace.trcxml, ant it can be changed.

5. After all collected data can be analyzed at Eclipse with TPTP.

For more information see
http://help.eclipse.org/help33/topic/org.eclipse.tptp.platfo rm.doc.user/tasks/teprofsa.htm

Alex.
Re: 'recorder' tptp distibutive/pack? [message #112003 is a reply to message #111976] Fri, 07 September 2007 16:52 Go to previous message
Vadim Dmitriev is currently offline Vadim DmitrievFriend
Messages: 74
Registered: July 2009
Member
Alexander, thank you very much! It's exactly what I was looking for!

Alexander N. Alexeev wrote:
> Vadim, if I understand correctly you are trying to debug raw Java
> application. In this case you can use TPTP at stand-alone mode. This
> allows you to gather execution sequence information offline and later
> construct Call Graph or some other presentation, it depends from type of
> profiling and configuration.
> Required steps:
>
> 1. Download "Agent Controller" archive for target platform
> 2. Deploy it any appropriate place
> 3. Configure execution for profiled application
> - set environment variables
> TPTP_AC_HOME=<<Agent Controller Home>>
> JAVA_PROFILER_HOME=%TPTP_AC_HOME%\plugins\org.eclipse.tptp.j avaprofiler
> PATH=%JAVA_PROFILER_HOME%;%PATH%;%TPTP_AC_HOME%\bin:%JAVA_HO ME%\bin
> or LD_LIBRARY_PATH if you work with Linux
> - Configure filters to reduce runtime overhead, trace file size and to
> remove clutter. Filter configuration file is simple text with following
> format
> "package/class template" "method" INCLUDE/EXCLUDE Pay
> attention to order of templates, it affects which information will be
> collected. 4. Run target application on JVM with configured
> TPTP agent "java -cp <class path>
> -agentlib:JPIBootLoader=JPIAgent:server=standalone,filters=m yFilter.txt;CGProf:execdetails=true
> <application class>"
>
> By default information is collected in trace.trcxml, ant it can be changed.
>
> 5. After all collected data can be analyzed at Eclipse with TPTP.
>
> For more information see
> http://help.eclipse.org/help33/topic/org.eclipse.tptp.platfo rm.doc.user/tasks/teprofsa.htm
>
>
> Alex.
>
Previous Topic:Linux TPTP - Eclipse Runtime Workspace - Wrong Path - Plugin not recongnized
Next Topic:EXCEPTION_ACCESS_VIOLATION when running
Goto Forum:
  


Current Time: Mon Jun 17 00:32:05 GMT 2019

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

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

Back to the top