473,406 Members | 2,356 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

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 1055
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: pantichd | last post by:
<I also posted this on microsoft.public.vsnet.debugging 'cuz I didn't know which was more appropriate or would get quickest response> Hello, Can someone tell me how I can view the contents...
55
by: jacob navia | last post by:
Tired of chasing free(tm) bugs? Get serious about C and use lcc-win32. The garbage collector designed by Boehm is the best of its class. Very simple: #define malloc GC_malloc #define free(a)...
0
by: Mike Blake-Knox | last post by:
When I try to use the VS debugger to view the current contents of a collection, I can expand the collection by expanding the tree in a Quickwatch. This has nested structures (e.g., buckets, keys,...
1
by: Jonathan Taylor | last post by:
I have a large XML file that contains many complex objects. The objects contain a fairly sizeable amount of information and I'm only interested in displaying the name of each item. I don't want...
2
by: Zen | last post by:
Hi, Would someone please point out where I can go to view the event log for the following code? I thought it was the Event Viewer | Application in the Computer Management but I didn't see it....
0
by: David P. Donahue | last post by:
This is the first time I've had any problems viewing a report in any of my applications, so I'm not sure where to begin. But when I try to render my report in a report viewer, the application...
9
by: dotnetismylife | last post by:
Hi all, I have a question, in the following code: using System; using System.Diagnostics; namespace ConsoleApplication1 { class TestClass {
12
bartonc
by: bartonc | last post by:
Here's something cool that I just discovered (on IE7, I wonder about the others): I was viewing a long code block with some really long lines in it. Since the horizontal scroll bar was WAY of my...
0
by: Mike | last post by:
Hi, I have a collection object bound to a data grid, after I remove an item from the collection, the minute I click on the datagrid I get an error saying the specified argument was out of the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.