viewing whole collection while debugging

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?
 
K

Kevin Spencer

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.
 
M

Madhur

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?
 
K

Kevin Spencer

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top