tags:

views:

56

answers:

3

Hi friends. How can I check which methods are called during a .NET application startup? I do not have the source code.

+2  A: 

Reflector is the usual tool for inspecting .NET code. But you should check any legal implications of disassembling an application's code.

Mitch Wheat
I do not want to dissassemble. Just to know the sequence of methods that are called.
Alex James
well, when you disassemble the main routine you will see which methods are called...!
Mitch Wheat
I need som kind of debbuging when there is no source code.
Alex James
Reflector will show you source code.
Mitch Wheat
+5  A: 

If the assembly images are unsigned, the easiest thing to do would be to use the EQATEC Tracer to instrument the assemblies, then start the tracer, start the application, and then stop logging to the tracer. It gives you granular control over what classes and even what methods are traced, so you can focus only on what you're interested in.

Dathan
+1. This will probably solve the posters problem.
Mitch Wheat
+1 for recommending EQATEC
RCIX
A: 

If the library/ application is a Microsoft one, please note that it is possible to get the .net source code. You can then debug into the corresponding .net code from VS.

Check out the link: http://www.microsoft.com/resources/sharedsource/default.mspx

Sesh