I need to compare few function calls and signature between my application and an working application. Here I don't mean any way to reverse engineer or access the source code of the other application , but truly need to know what are the methods , Interfaces used by the working application.
I tried attaching my application to Visual Studio and then , Start>Debug , but this doesn't provide any useful information. Any help.
Reflector Pro Visual Studio plug in can debug not only exe you write, but any other assembly ;)
you can debug code, but once its compiled, its machine language and a debugger in Visual Studio is not going to do anything at all.
In order to get an idea of what a compiled executable is doing, you can use a program like this: http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx
Couple of solutions that I can think of:
- Attach the exe with VS IDE Debugger, and use PDB files to debug the exe
- Use Reflector to point towards your exe, and check the source. See example.
Runtime Flow (developed by me) can show all method calls in the working .NET application without need for source code.
来源:https://stackoverflow.com/questions/3490691/can-i-debug-an-exe