Configure Visual Studio 2010 Remote Debugger

前端 未结 7 1691
北恋
北恋 2020-12-30 02:56

I have installed the Visual Studio 2010 Remote Debugger on a Windows Server 2003 (x86) server, and am attempting to connect to it results in the following error:

7条回答
  •  清歌不尽
    2020-12-30 03:20

    Below is a quick step to set up Visual Studio Remote Debugging Monitor on Visual Studio IDE.

    • Open Programs > Microsoft Visual Studio 2010 > Visual Studio Tools > Visual Studio 2010 Remote Debugger Folder.

    • A Windows Explorer shows the 32 and 64-bit versions of the Remote Debugging Monitor.

    • Copy the respective ver that matches remote server (e.g. x64 machine use X64 folder & x32 machine use X86 folder) to a folder on your machine.

    • While at the console on your remote machine, go to the folder and start msvsmon.exe.

    • Go to Tools > Options and change the Authentication mode to No Authentication and check the box Allow any user to debug.

    • From your development machine, on Visual Studio, go to Tools > Attach to Process.

    • Change the Transport to Remote and the Qualifier to the name of your remote server.

    • You should now see the executable, which you want to debug on that list. Select the process you want to debug and click Attach.

    • You may now debug the code while it is running on the remote server.

    • Just remember to turn off Remote Debugging Monitor at the remote server once done.

    Please refer below MS link: https://docs.microsoft.com/en-us/visualstudio/debugger/remote-debugging-cpp?view=vs-2017

提交回复
热议问题