470,849 Members | 1,020 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,849 developers. It's quick & easy.

viewing whole collection while debugging

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
Jul 22 '06 #1
3 953
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.
"Madhur" <as********@nospam.nospamwrote in message
news:ul**************@TK2MSFTNGP03.phx.gbl...
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


Jul 23 '06 #2
Kevin Spencer wrote:
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?
--
Madhur Ahuja

http://madhurahuja.blogspot.com
Jul 23 '06 #3
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.
"Madhur" <as********@nospam.nospamwrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
Kevin Spencer wrote:
>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?
--
Madhur Ahuja

http://madhurahuja.blogspot.com


Jul 23 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

55 posts views Thread by jacob navia | last post: by
reply views Thread by Mike Blake-Knox | last post: by
1 post views Thread by Jonathan Taylor | last post: by
2 posts views Thread by Zen | last post: by
reply views Thread by David P. Donahue | last post: by
9 posts views Thread by dotnetismylife | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.