473,624 Members | 2,515 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Tracing the sequence of method invocations in an application

I would like to output the sequence of method calls from a running c#
applcaition, but I don't want to add Debug.trace calls at the entry and
exit points in each an every methods.

Does there exist a c# profiler which can profile and then log the
sequence of function calls automatically?

regards

Stig Nielsson

Nov 17 '05 #1
5 3183
Stig,

VS.NET 2005 will do this for you. You can instrument your application,
at a cost, it will cause your application to run much, much slower though.

There are also third party tools on the market that will do this for
you, I would search google for ".NET" and "profiler"

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Stig" <st****@gmail.c om> wrote in message
news:11******** **************@ g43g2000cwa.goo glegroups.com.. .
I would like to output the sequence of method calls from a running c#
applcaition, but I don't want to add Debug.trace calls at the entry and
exit points in each an every methods.

Does there exist a c# profiler which can profile and then log the
sequence of function calls automatically?

regards

Stig Nielsson

Nov 17 '05 #2
well, I did some searching before posting, but all profilers I found
seems to deal with performance, ie. how many times each statement is
called etc., and not tracing of the program flow at runtime. I need
this to figure out exactly which and when events are raised in very
complex GUI.

Hope somebody knows a tool for this.

regards Stig Nielsson

Nov 17 '05 #3
Stig wrote:
well, I did some searching before posting, but all profilers I found
seems to deal with performance, ie. how many times each statement is
called etc., and not tracing of the program flow at runtime. I need
this to figure out exactly which and when events are raised in very
complex GUI.


The profiler I use is AQTime 4 by AutomatedQA (www.automatedqa.com). It
can show you a so-called "call tree" after a program run, in which you
can interactively analyse the calls that each method made, and that were
made into each method.

The other thing in AQTime you might want to use is the Sequence Diagram
Link Profiler. From the help file:

"The Sequence Diagram Link profiler analyzes the sequence of function
calls in your application and then builds a UML-style diagram of
function calls in Microsoft Word or Microsoft Visio. It is a convenient
tool to trace links between methods and functions without running the
application. Note that these are potential links between routines, since
the profiler statically analyzes your application and it cannot predict
whether conditional calls will be performed."

I'm quite sure they have a trial version for download on their website,
so it's probably best if you download that and try whether it helps you.
Oliver Sturm
--
omnibus ex nihilo ducendis sufficit unum
Spaces inserted to prevent google email destruction:
MSN oliver @ sturmnet.org Jabber sturm @ amessage.de
ICQ 27142619 http://www.sturmnet.org/blog
Nov 17 '05 #4
ok, thanks. I will investigate it - I hope it is good, as it costs $600
pr. license.

/Stig Nielsson

Nov 17 '05 #5
Stig wrote:
ok, thanks. I will investigate it - I hope it is good, as it costs $600
pr. license.


Well, I think it's that good. But obviously it depends on whether it
solves your particular problem - I just had a look and they have a 15
day trial version, plus a 60 day money back guarantee, so you should be
able to try it out without any commitment.

I don't get anything for advocating the AutomatedQA products, but I do
know several of their people personally and I can assure you that their
products are top and their money back guarantee is for real.
Oliver Sturm
--
omnibus ex nihilo ducendis sufficit unum
Spaces inserted to prevent google email destruction:
MSN oliver @ sturmnet.org Jabber sturm @ amessage.de
ICQ 27142619 http://www.sturmnet.org/blog
Nov 17 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
1799
by: David Murmann | last post by:
Hi all! I could not find out whether this has been proposed before (there are too many discussion on join as a sequence method with different semantics). So, i propose a generalized .join method on all sequences with these semantics: def join(self, seq): T = type(self) result = T()
1
1571
by: Eddie Farmer | last post by:
Hi, I can't seem to trace into pages accessed via Server.Transfer. I put a break in the page to check the state of the tracing and IsEnabled is false. I have tracing enabled at the application level and no tracing directives are specifed either on the initial page or transferred page. I renabled tracing at the breakpoint but it didn't make any difference. What's the deal?
2
1255
by: Dmitry Bond. | last post by:
Hello All. Could you plase help me to configure tracing in Asp.Net application. I use Win2ksp4, .Net 1.1 (+ all latest patches for .Net 1.1 an for Windows). I faced with stable error. On first access to the site it said: ===quote:begin=== Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your...
5
50726
by: rk325 | last post by:
Yes, I've seen many posts about this type of error, and none of the solutions people applied worked for me. So please read this one carefully and help me if you can. I have a web service application installed in a Windows 2000 SP4 Domain control server. It is running IIS 5.0. I can access the WS from its own web page, and, when I access it from the server where it is installed, I can run its methods. However, I cannot access this WS...
6
3316
by: thomson | last post by:
Hi All, In a Singleton pattern , if we create an instance variable, and return it, whether this one also be a static variable , Can anyone give me insights on the Memory allocation Thanks in Advance thomson
5
1742
by: Lutz Altmann | last post by:
Hi, i'm searching a handy way to trace my c++ programms - so that i can visually reproduce the function call sequence. Can anyone recommend a tracing-tool/method ? Greetings, Lutz
5
9715
by: puzzlecracker | last post by:
I've just discovered DynamicInvoke methods while reading Jon's threading article. And my question is how it's different from a regular invoke method? In this method: /// <summary> /// Invokes the wrapped delegate synchronously /// </summary> static void InvokeWrappedDelegate (Delegate d, object args)
0
1343
by: PriyaPavithra | last post by:
Hi, I have created java web application. I want to call the setName() method in java application. how is call web method in application?. package sv; import javax.jws.WebMethod; import javax.jws.WebParam; import javax.jws.WebService;
0
1098
by: vasavivenu | last post by:
Hi, How can i use sequence method in sql server? i have to change Mysql code to Sql server, SELECT nextval('Country_Mst_Seq') NextVal I need to change the above code into sql server. please help me Thanks in Advance vasavivenu
0
8672
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8614
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8330
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8471
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7153
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6107
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
2603
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1780
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1474
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.