vs 2017 local variables disappear

Alverson, Dennis 6 Reputation points
2020-10-09T14:53:04.007+00:00

When I am stepping through code in the VS 2017 debugger, some times the local variables window will go blank and I can not see any local variables. Many times it's after I step through some code using STL but not always. This behavior is very random. Once this occurs, I can no longer examine variable; therefore, the debugging session is worthless at that point. I have to exit the debugging session and start all over again.

I am debugging a native C++ application using VS 2017 version 15.9.11 on Windows 10.

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.
1,002 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Dylan Zhu-MSFT 6,421 Reputation points
    2020-10-13T08:48:40.167+00:00

    Hi @Alverson, Dennis ,

    Thank you for your feedback and I am sorry to hear that you are running into this issue. Since the visual studio 2017 has been updated to 15.9.27, we suggest you could update the visual studio to latest version, then check if the issue has gone.

    Best Regards,
    Dylan

    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.