VisualStudio debugger using older version of source files

David Thielen 3,096 Reputation points
2024-04-11T23:05:31.24+00:00

Hi all;

I just upgraded to the latest version of Visual Studio - 17.10.0 Preview 3.0

And the debugger is now showing me source files from several days ago in the debugger. These older version of the files don't exist anywhere on my system but it somehow is finding them somewhere and using them in the debugger.

These resurrected files are then placed in folders under C:\Users\David\AppData\Local\SourceServer

What's going on here? And how do I stop this?

Update: I found the cause! When I run the debugger, when I hit an issue, I write a note right there in the code. When I'm done debugging I then go address the items I wrote. This happens after I write my first note.

Still no idea why Visual Studio has suddenly decided to act this way when the source changes. And no idea where it finds the out of date source file (generally the state of the source from several days ago). But that's the cause.

Still have the question - how do I fix it?

thanks - dave

Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
998 questions
{count} vote

1 answer

Sort by: Most helpful
  1. David Thielen 3,096 Reputation points
    2024-04-30T13:43:48.62+00:00

    Tools -> Options -> Debugging -> General, find the "Enable Source Link support" option and uncheck it.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.