tabs ↹ over ␣ ␣ ␣ spaces

by Jiří {x2} Činčura

Purple squiggle in Visual Studio

8 Sep 2017 1 mins Visual Studio

I’m pretty sure you know what the red squiggle in Visual Studio means (correct, it’s the error). Very likely you know green squiggle (correct, it’s the warning). Maybe you know blue squiggle (correct, it’s the message). But do you know what purple squiggle means? By the way the official name for squiggle in Visual Studio is wavy underline.

Back to the purple color. If you use Edit and Continue while debugging and you make so called unauthorized edit – basically changing structure of the code, not only the code itself – the purple squiggle appears. Because you’re in debugging your Error List window is probably not visible, but Visual Studio tells you what happened.

Error in Error List

If such purple squiggle is in your code path, you have to restart your debugging session.

Wanna see it with your own eyes? Here’s a simple example.

Purple squiggle in action

Profile Picture Jiří Činčura is .NET, C# and Firebird expert. He focuses on data and business layers, language constructs, parallelism, databases and performance. For almost two decades he contributes to open-source, i.e. FirebirdClient. He works as a senior software engineer for Microsoft. Frequent speaker and blogger at www.tabsoverspaces.com.