Groups | Blog | Home
all groups > visual studio .net debugging > july 2006 >

visual studio .net debugging : viewing whole collection while debugging


Madhur
7/23/2006 3:41:12 AM
Hello

This question is related to debugging.
Suppose I add a Collection to my watch Window.
Although that collection shows the count of item in it, there is no way I
can see the some common property of all the collection(mostly *value* or
*name*).

I have to add watch for each and every index like [0] and [1] to view each
item.

Is there any wat to achieve this more easily?

--
Madhur Ahuja

http://madhurahuja.blogspot.com

Kevin Spencer
7/23/2006 8:11:54 AM
Yes, click the little plus sign in the watch window next to the name of the
Collection.

--
HTH,

Kevin Spencer
Microsoft MVP
Professional Chicken Salad Alchemist

What You Seek Is What You Get.


[quoted text, click to view]

Kevin Spencer
7/23/2006 6:36:40 PM
I don't know what you must be looking at. In VS.Net, you can view the entire
hierarchy of the object properties, fields, base classes, etc.

--
HTH,

Kevin Spencer
Microsoft MVP
Professional Chicken Salad Alchemist

What You Seek Is What You Get.


[quoted text, click to view]

Madhur
7/23/2006 9:46:36 PM
[quoted text, click to view]
I did, but it only shows the count. How to view the each individual item?


--
Madhur Ahuja

http://madhurahuja.blogspot.com

AddThis Social Bookmark Button