watch-window

Watch windows not updating correctly when debugging C++/CLI 2D arrays

I'm debugging a C++/CLI assembly. In the assembly, I have a 2D managed array declared like this: array<char, 2> ^classifications; I have four variables I'm using to access positions in the array: int x, y, dx, dy; In the Watch window, this expression works: classifications[y, x] However, this expression does not update when the...

Is there a way to use Visual Studio's Watch Window in my own App?

I have a basic messaging application that takes requests from clients and returns them response objects. When I encounter a malformed request object I serialize it to a database log for failed requests in a binary field. I'd like to be able to deserialize these malformed request objects and inspect them after the fact. Is there a way...

What does it mean when square brackets appear around a class name in the VS 2008 IDE?

In my watch window in VS2008, I'm looking at an IEnumerable<classX>. Expanding the IEnumerable, some elements are shown with a Value of {classX}. Others appear with a Value of {[classX]}. What's the difference? Why are there square brackets on some of them? ...

Watch window stopped accepting some usings

I am using the debugger to step through my code. The code file I’m in has usings at the top, including for example using System.Linq; In Visual Studio 2008 this used to apply to the Watch window while debugging, so I could use extension methods such as .First() and .ToArray() in the watch window. For some reason, this has stopped wor...