On some installations of Visual Studio 2010, 2012 or 2013 I’m confronted with strange behavior. One of these strange things are the black lines in the Watch Window of Visual Studio. Just like the screenshot below (this isn’t my screenshot, I’ve ‘borrowed’ it from someone else)
Normally this has something to do with the graphics driver, but updating these drivers doesn’t work all the times. There’s also a work around for this problem, described on the MSDN forum.
The work around is:
- Go to Tools > Options > Environment > Font and Colors
- Search for the settings for [Watch, Locals, and Autos Tool Windows]
- For Text select the Default for Item Foreground
The options will look something like the image below.
After you’ve set this option you’ll be able to see the text in your watch window again. The lines will be white again with black text.