viewing whole collection while debugging

  • Thread starter Thread starter Madhur
  • Start date Start date
M

Madhur

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?
 
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.
 
Kevin said:
Yes, click the little plus sign in the watch window next to the name
of the Collection.
I did, but it only shows the count. How to view the each individual item?
 
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.
 
Back
Top