Developer technologies | Visual Studio | Debugging
A core feature of Visual Studio that allows developers to inspect, analyze, and troubleshoot code during execution.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Using:
Microsoft Visual Studio Professional 2019
Version 16.11.57
VisualStudio.16.Release/16.11.57+37327.17
In a C++ project I have a line of code as follows:
float test = 1.0f / 3.0f;
When I set a breakpoint on this line and step over it (F10) it assigns the value of 0.0.
If I set a breakpoint after this line it has a value of 0.3333333 as expected.
A core feature of Visual Studio that allows developers to inspect, analyze, and troubleshoot code during execution.