Can I debug an Exe

我怕爱的太早我们不能终老 提交于 2019-12-21 05:10:41

问题


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.


回答1:


Reflector Pro Visual Studio plug in can debug not only exe you write, but any other assembly ;)




回答2:


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




回答3:


Couple of solutions that I can think of:

  1. Attach the exe with VS IDE Debugger, and use PDB files to debug the exe
  2. Use Reflector to point towards your exe, and check the source. See example.



回答4:


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!