One of my Debug.Assert() fails so I get a window with the call stack and I click Retry. At this point, in the Locals window, certain rows have red text instead of black text in the Value column. What does this mean?
Asked
Active
Viewed 7,771 times
4 Answers
28
That means those variables were updated by the previous operation. That operation might be a line of code executing, or it might be you manually changing the value as detailed in the blog referenced by @CharithJ's answer.

Steve Wilkes
- 7,085
- 3
- 29
- 32
-
2You will see this same behavior in the locals window and in any pinned data tips, as well. – Kate Gregory May 30 '11 at 13:01
5
A row that has turned red means that the value for that expression has been modified since the last time it was evaluated.

David
- 317
- 1
- 5
0
For those wondering what the string is called to edit the colour of the Changed value text, it can be found under Locals Window → Changed value → Foreground.

silkfire
- 24,585
- 15
- 82
- 105