How to tell what's in a Collection when doing a watch in debug mode

P

pantichd

Hello,

When I debug a VB.net program and stop at a breakpoint I'd like to be able
to see what the collection actually contains. In the watch I keep
expanding the "SyncRoot" which just keeps showing me more and more levels
of the same thing.

What do I have to do in order to actually see what's in the collection?
I'm sure it's something simple but I am stuck.

Thanks in advance for ANY help.

David
 
S

Sriram Krishnan

Hmm..in VS 2005, your life would be a lot easier. In earlier versions, try
using the immediate window
 

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