Matt
Matt

Reputation: 21

Visual Studio 2017 Remote Debugging: Network Connection Lost

  1. Installed Visual Studio Remote Debugger 2017 on Windows Server 2012.
  2. Running Visual Studio 2017 on my laptop, I attached my code successfully to a process running on the server SOMESERVER:4022.
  3. I run the target process on the server up to where my breakpoint should hit.
  4. Visual Studio pushes to the front as if my breakpoint is about to hit.
  5. I get "The network connection to SOMESERVER:4023 has been lost. Debugging will be aborted.

Notice that I connect using port 4022 but the connection loss notes 4023. I assume it's because I'm running x86 application on x64 server.

Ideas?

Upvotes: 2

Views: 435

Answers (1)

While not identical (VS 2022 running on Windows 11 and Windows Server 2019 running in VMware), in my case it was solved by using a previous version of VS 2022 Remote Tools: 17.12, as 17.13 seemed to be the culprit of immediate connection drop.

Upvotes: 0

Related Questions