About six weeks ago I set up remote debugging on a couple of our servers to enable us to remotely debug applications that were created in Visual Studio 2017. However, I want to install remote debugging onto a different server but can't now seem to find a source from which to download the remote debugging software - it looks as if the source has been removed by Microsoft since the release of Visual Studio 2019.
Can someone point me to a reliable source for the software? I stupidly didn't keep a copy of the download when I pulled it down before. Alternatively, is the remote debugging software available as part of the actual installation software for VS2017?
Find the folder under your installation directory for visual studio Common7\IDE\Remote Debugger. If you're running Visual Studio 2008 for example it the program path would be [drive]:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\Remote Debugger.
To perform remote debugging using Visual Studio: On the remote computer, in Visual Studio, choose Connect to Remote Debugger from the Tools menu. In the Connect to Remote Debugger dialog box, enter a connection string, and click Connect.
Open the Developer Options screen on your Android. See Configure On-Device Developer Options. Select Enable USB Debugging.
In most languages supported by Visual Studio, you can edit your code in the middle of a debugging session and continue debugging. To use this feature, click into your code with your cursor while paused in the debugger, make edits, and press F5, F10, or F11 to continue debugging.
If you have VS2017 installed, then you can copy the whole
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\Remote Debugger
folder (adjust path accordingly) to a target machine and run msvsmon.exe
there.
Code from my Remote Debugging Easy:
if (RDV == 2022)
{
if (ARCH == 64)
d = FetchX("https://aka.ms/vs/17/release/964531996/RemoteTools.amd64ret.enu.exe");
else
d = FetchX("https://aka.ms/vs/17/release/964531996/RemoteTools.x86ret.enu.exe");
}
else
if (RDV == 2019)
{
if (ARCH == 64)
d = Fetch("https://aka.ms/vs/16/release/RemoteTools.amd64ret.enu.exe");
else
d = Fetch("https://aka.ms/vs/16/release/RemoteTools.x86ret.enu.exe");
}
else
if (RDV == 2017)
{
if (ARCH == 64)
d = Fetch("https://aka.ms/vs/15/release/RemoteTools.amd64ret.enu.exe");
else
d = Fetch("https://aka.ms/vs/15/release/RemoteTools.x86ret.enu.exe");
}
else // 2015
{
if (ARCH == 64)
d = Fetch("https://download.microsoft.com/download/E/7/A/E7AEA696-A4EB-48DD-BA4A-9BE41A402400/rtools_setup_x64.exe");
else
d = Fetch("https://download.microsoft.com/download/E/7/A/E7AEA696-A4EB-48DD-BA4A-9BE41A402400/rtools_setup_x86.exe");
}
Using links from this msdn page (when they used to work :P). It has also the links for older versions.
EDIT: Added VS 2022 remote debugging tools.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With