Niko O
Niko O

Reputation: 437

Where did that useful multiline string watch window from Visual Studio 2010 go in newer versions?

In Visual Studio 2010 if you had a very long string with multiple lines, you could hover over the variable and click on the magnifying glass icon:
enter image description here
This would bring up a little window called "Text-Schnellansicht" in german, so probably something like "Text quick watch" in english:
enter image description here
This way you could quickly understand the content of a complicated string variable.

In Visual Studio 2019 I can't find this window anywhere. There's no magnifying glass icon in the tooltip-thingie. Closest thing I could find was right-clicking on that, selecting "Copy value" and pasting it into notepad or some other editor.
enter image description here

So... is it just gone, along with all the other useful features that got removed throughout the years? Or was it just buried deep enough so that no one would find it?

Edit:

The epic tale of "How can we make our flagship IDE more painful to use?" continues:
Back in the good'ol days you could have this window for any variable you want:
enter image description here
Click on the hourglass, see what you got.

2019:
enter image description here
It only works for actual String variables. Because no other type could possibly have a string-representation that long, right?

Upvotes: 0

Views: 197

Answers (1)

Sergey Vlasov
Sergey Vlasov

Reputation: 27920

The string visualizer is still there for me in VS 2019:

enter image description here

enter image description here

Documentation also suggests that it should be available https://learn.microsoft.com/en-us/visualstudio/debugger/string-visualizer-dialog-box?view=vs-2019

Upvotes: 1

Related Questions