Monday, July 21, 2008

Remote Debugging

Sometimes you need to debug application on remote machine. To do that you need to copy files for remote debugging on to remote machine. You can find those files in:

c:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\Remote Debugger

Run msvsmon.exe on remote machine and set security.

In Visual Studio, in project settings, go to Configuration Properties Debugging, chose Remote Windows Debugger (from Debugger to launch), set other parameters and press F5.
If you have set all correctly, application on remote machine will be started.