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
2009-11-22 09:20:25
I do not want to dissassemble. Just to know the sequence of methods that are called.
Alex James
2009-11-22 09:21:35
well, when you disassemble the main routine you will see which methods are called...!
Mitch Wheat
2009-11-22 09:22:16
I need som kind of debbuging when there is no source code.
Alex James
2009-11-22 09:23:56
Reflector will show you source code.
Mitch Wheat
2009-11-22 09:24:46
+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
2009-11-22 09:29:44
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
2009-11-22 10:45:41