Hi @gklein,
Welcome to Microsoft Q&A!
The issue has been fixed in Visual Studio 2022 version 17.10.6, you could see the similar issue:
VisualStudio debugger using older version of source files - Developer Community
If it persists, you can try the following workarounds:
- Go to Tools > Options > Debugging > General > uncheck Enable Source Link support.
- Go to Tools > Options > Debugging > General > uncheck Enable source server support.
- Go to Tools > Options > Debugging > General > check Require source files to exactly match the original version.
- Go to Tools > Options > Debugging > General > check Enable Just My Code.
- Roll back VS to previous version by opening Visual Studio Installer > More > Rollback to previous version.
- Report it to product team by selecting “Help” menu > Send Feedback.
Sincerely,
Anna
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.