Why is the dictionary debug visualizer less useful in Visual Studio 2010 for Silverlight debugging?

后端 未结 2 781
醉话见心
醉话见心 2020-12-19 01:52

I was debugging in Visual Studio 2010, which we just installed and trying to look at a dictionary in the quick watch window. I see Keys and Values, but drilling into those s

2条回答
  •  醉酒成梦
    2020-12-19 02:34

    The debugger visualizer for Dictionary is the exact same class with the exact same behavior. It is still the private Mscorlib_DictionaryDebugView class. Unexpanded it shows Count, expanded it shows an array of the elements.

    Your code snippet suggests that you are using a completely different Dictionary class, one that is not generic.

提交回复
热议问题