Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I debug an Exe

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.

like image 713
Simsons Avatar asked Aug 16 '10 05:08

Simsons


People also ask

Can you Debug an EXE file?

Navigate to the .exe file, select it, and select Open. The file appears as a new project under the current solution. With the new file selected, start debugging the app by selecting an execution command, like Start Debugging, from the Debug menu.

How can I see the code behind an EXE file?

Press alt+f2 to navigate to the file. Press enter to see its assembly / c++ code.

Can you open exe in Visual Studio?

In Visual Studio, select File > Open > Project. In the Open Project dialog box, select All Project Files, if not already selected, in the dropdown next to File name. Navigate to the .exe file, select it, and select Open.


2 Answers

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

like image 155
Arsen Mkrtchyan Avatar answered Oct 04 '22 19:10

Arsen Mkrtchyan


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

like image 31
MaQleod Avatar answered Oct 04 '22 19:10

MaQleod