Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where can I download the Remote Debugger for Visual Studio 2017 [closed]

Tags:

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?

like image 992
Ian Henderson Avatar asked May 06 '19 12:05

Ian Henderson


People also ask

Where is remote debugger located?

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.

How do I connect to Visual Studio 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.

How do I enable remote debugging?

Open the Developer Options screen on your Android. See Configure On-Device Developer Options. Select Enable USB Debugging.

Does Visual Studio have a built in debugger?

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.


2 Answers

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.

like image 21
Sinatr Avatar answered Sep 23 '22 22:09

Sinatr


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.

like image 126
Michael Chourdakis Avatar answered Sep 19 '22 22:09

Michael Chourdakis