Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » tracing execution
tracing execution [message #136311] Thu, 25 September 2008 11:20 Go to next message
andrea is currently offline andrea
Messages: 16
Registered: July 2009
Junior Member
Hi,

What I'm going to do is tracing all statements executed starting from the
beginnig to the end of a procedure. This task is in some way obtained, for
instance, expanding every node in thread windows in execution flow. What I
wish is a sequence of all theese method callings possibly with the line
number.

Formerly, I tried to get it through "call stack" view, but I never was
able to see any informations in this view: someone noted that it should be
meaningful only during debugging.

So I have 2 questions:

Is it possible to collect informations about the whole callings of
methods, that is, a rearragging what I see in thread window (without
expanding every single node)?

is there a way to stop execution of profiler? That is: can it be used as a
debugger? Can we set any breakpoints?


thx so much
Andrea
Re: tracing execution [message #136447 is a reply to message #136311] Fri, 26 September 2008 17:21 Go to previous message
Eugene Chan is currently offline Eugene Chan
Messages: 287
Registered: July 2009
Senior Member
Hi Andrea,

> Is it possible to collect informations about the whole callings of
> methods, that is, a rearragging what I see in thread window (without
> expanding every single node)?
You can use the Call Tree tab under Execution Statistics view for such
information.

>
> is there a way to stop execution of profiler? That is: can it be used as a
> debugger? Can we set any breakpoints?
There is no breakpoints support in TPTP. There is a pause monitoring option
that stop the profiler from collecting any further information. If you
really need to use breakpoint in debug mode, you can try combine debug and
profile by creating a debug launch configuration and add the JVM argument
required for TPTP profiling as listed here
( http://dev.eclipse.org/viewcvs/index.cgi/platform/org.eclips e.tptp.platform.agentcontroller/src-native-new/packaging_md/ windows/getting_started.html?root=TPTP_Project&view=co#J ava_15)
and attach to the problem started in debug mode for profiling data. Please
note that this is not tested and supported by TPTP.

Eugene

"andrea " <ascarpa@dsi.unive.it> wrote in message
news:9ad43a410a53b475170693c2422114a4$1@www.eclipse.org...
> Hi,
> What I'm going to do is tracing all statements executed starting from the
> beginnig to the end of a procedure. This task is in some way obtained, for
> instance, expanding every node in thread windows in execution flow. What I
> wish is a sequence of all theese method callings possibly with the line
> number.
>
> Formerly, I tried to get it through "call stack" view, but I never was
> able to see any informations in this view: someone noted that it should be
> meaningful only during debugging.
>
> So I have 2 questions:
>
> Is it possible to collect informations about the whole callings of
> methods, that is, a rearragging what I see in thread window (without
> expanding every single node)?
> is there a way to stop execution of profiler? That is: can it be used as a
> debugger? Can we set any breakpoints?
>
>
> thx so much
> Andrea
>
>
Previous Topic:TPTP saves configurations in plugin's folder
Next Topic:call stack problems (retry)
Goto Forum:
  


Current Time: Fri Aug 29 12:19:35 EDT 2014

Powered by FUDForum. Page generated in 0.04366 seconds