I have an object with a property (string, in the form of XML) that is used a few times and leading to unexpected results later on, so I need to find where/how it is changing to do so.
I've tried hovering on the property and pinning it, but I only get the small box that shows ~2 lines of the string. But it is a fairly large string so I'd like to see all or most of it. Kind of like the text/xml visualizer, except I can't take any debugging action in the VS window with that box open.
Is there a way to do this in Visual Studio 2013?
Asked
Active
Viewed 793 times
0

Broots Waymb
- 4,713
- 3
- 28
- 51
-
1http://stackoverflow.com/questions/6333380/how-do-i-run-until-this-variable-changes-when-debugging – CodeCaster Jun 15 '15 at 13:53
-
I normally use the OzCode Trace function (http://o.oz-code.com/features#trace) to do this kind of stuff. – NKnusperer Jun 15 '15 at 14:02
2 Answers
4
After hovering the variable, use the magnifier icon left to the value. It will open a window with the variable contents.
Alternatively, add the variable to your Locals/Watch window.

LInsoDeTeh
- 1,028
- 5
- 11
-
1The Watch window is ideal for this, it'll highlight the variable when it changes. – CodeCaster Jun 15 '15 at 13:52
-
The window from the magnifier leads me to the Text/XML visualizers. I have to close that window between taking steps in the debugger since keeping that window open doesn't let me interact in the main VS window. – Broots Waymb Jun 15 '15 at 13:54
-
The watch window is close, but still only shows me a couple lines. However, I will have to look at the highlighted variable feature, @CodeCaster – Broots Waymb Jun 15 '15 at 13:55
0
Shift + Alt + Q after selecting an expression in code or Locals window for viewing variables related to the last and current line.

Andrei Tanasescu
- 26
- 2