Can an application be debugged outside of Visual Studio?
You may want to debug an application (.exe file) that is not part of a Visual Studio solution. It might be an open folder project, or you or someone else might have created the app outside of Visual Studio, or got it from somewhere else.
Table of Contents
How to debug different instances of Visual Studio?
Press F5 and start debugging Solution B instance of Visual Studio. Then press F5 and start debugging the solution An instance of Visual Studio. Now both instances of Visual Studio will be in debug mode. Start from solution A now and you should be able to debug on solution B as if both projects were on the same solution.
How to start debugging solution B in Visual Studio?
Set the project properties to “Use local IIS Wb server” and check “Use IIS Express”, set the project URL and create a virtual directory. Press F5 and start debugging Solution B instance of Visual Studio.
How to start debugging a project on MSDN?
Browse to the .exe file, select it, and select Open. The file appears as a new project in the current solution. With the new file selected, start debugging the application by selecting a run command, such as Start Debugging, from the Debug menu.
How do I run an EXE in Visual Studio?
I suggest you start the exe by double clicking its name in the debug folder, as you already did. Then from Visual Studio choose “Debug -> Attach to Process” and choose your program from the list. You are now debugging the actual process when running on Windows.
How to attach an executable to Visual Studio?
This can be an executable that you created outside of Visual Studio, or an executable that you received from someone else. The usual response to this problem is to start the executable outside of Visual Studio and attach it using the Visual Studio debugger. For more information, see Attach to Running Processes.
Why doesn’t my program work in Visual Studio?
The program has only about 60 rows. When I debugged my program in Visual Studio (by pressing F5), it works fine and I made some changes to the Excel file. It’s okay. But when I just click on “excel.exe” of my project and run it manually, it doesn’t work properly. You don’t get any errors, but you haven’t made any changes to this Excel file.