Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » tracing execution
tracing execution [message #136311] Thu, 25 September 2008 15:20 Go to next message
andrea is currently offline andreaFriend
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 21:21 Go to previous message
Eugene Chan is currently offline Eugene ChanFriend
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: Tue Sep 24 00:05:19 GMT 2024

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

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

Back to the top