Search code examples
c#.netvisual-studio-2010locals

Visual Studio 2010 Locals Window Red Font


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?


Solution

  • 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.