Difference between revisions of "Remote Debugging"
(Created page with "*On Remote Computer: **Install remote debug (for VS 2013): [http://mps.resnet.com/installs/MS%20Visual%20Studio/Visual%20Studio%202013%20RTM%20English/rtools_setup_x64.exe rto...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
**Install remote debug (for VS 2013): [http://mps.resnet.com/installs/MS%20Visual%20Studio/Visual%20Studio%202013%20RTM%20English/rtools_setup_x64.exe rtools_setup_x64.exe] | **Install remote debug (for VS 2013): [http://mps.resnet.com/installs/MS%20Visual%20Studio/Visual%20Studio%202013%20RTM%20English/rtools_setup_x64.exe rtools_setup_x64.exe] | ||
**Or for 2017 VS: [http://mps.resnet.com/installs/MS%20Visual%20Studio/Visual%20Studio%202017/VS_RemoteTools.exe VS_RemoteTools.exe] | **Or for 2017 VS: [http://mps.resnet.com/installs/MS%20Visual%20Studio/Visual%20Studio%202017/VS_RemoteTools.exe VS_RemoteTools.exe] | ||
− | **Run: Start->Remote Debugger; Note: Make sure there is no firewall or it was configured properly(MSVSMON.EXE should be in exceptions!!!). | + | **Run (As Administrator!): Start->Remote Debugger; Note: Make sure there is no firewall or it was configured properly(MSVSMON.EXE should be in exceptions!!!). |
**Go to Tool\Permission.. menu and add Domain Users. | **Go to Tool\Permission.. menu and add Domain Users. | ||
Line 12: | Line 12: | ||
**Select Process to debug | **Select Process to debug | ||
**Press OK. | **Press OK. | ||
+ | |||
+ | |||
+ | In case you face "'''invalid access to memory location'''”: | ||
+ | |||
+ | Change the debug port on the remote machine (Tools --> Options). Like 63342 to avoid colliding with any existing ports but you just need to use any unused one. Once changed, you should be able to connect. |
Latest revision as of 14:56, 1 July 2019
- On Remote Computer:
- Install remote debug (for VS 2013): rtools_setup_x64.exe
- Or for 2017 VS: VS_RemoteTools.exe
- Run (As Administrator!): Start->Remote Debugger; Note: Make sure there is no firewall or it was configured properly(MSVSMON.EXE should be in exceptions!!!).
- Go to Tool\Permission.. menu and add Domain Users.
- On Client Computer:
- Visual Studio -> Tools -> Attach to Process.
- Select Transport to “Default”
- Click Find -> you will see remote machine
- Press refresh button
- Select Process to debug
- Press OK.
In case you face "invalid access to memory location”:
Change the debug port on the remote machine (Tools --> Options). Like 63342 to avoid colliding with any existing ports but you just need to use any unused one. Once changed, you should be able to connect.