Yibbler

My colleague and I have recently upgraded our projects from .NET Framework 1.0 and VS2002 to .NET Framework 2.0 and VS2005. We also applied the latest VS2005 service pack.

Our problem: normally when debugging we use the QuickWatch window to drill down into and view collections of objects belonging to the parent object we are "watching". THIS NO LONGER WORKS...instead, we get a message in the value line against the object collection saying:

"In order to evaluate an indexed property, the property must be qualified and the arguments must be explicitly supplied by the user."

This is incredibly frustrating, particularly when we have large nested collections of objects.

We are pretty sure this feature was working fine after we upgraded, but we are not so sure that it was working after we applied the VS2005 service pack.

Can anyone suggest any ideas that might help to solve this issue, as it is a massive hinderance to our productivity and our office swear box has been raking it in!!!

Cheers



Re: Visual Basic IDE Debugging nightma cannot drill down into object collections in QuickWatch window

Jared Parsons MSFT

Can you give me an example code snippet that I can use to test out on some of my machines




Re: Visual Basic IDE Debugging nightma cannot drill down into object collections in QuickWatch window

Matthew Gertz MS

Hi, Yibbler,

That does sound frustrating, and I'm truly sorry that we're the proximal cause of your swear box evolving into the moral equivalent of a 401k plan. Nothing immediate comes to mind as to what might be causing this. I know you've got your hands full with working around this problem, but if you could spare a few minutes to file a bug at http://lab.msdn.microsoft.com/productfeedback/, then we can get the resulting report quickly to a developer to investigate what's going on (and you'll be able to track our progress on the issue) -- doing it that way is faster than working through the forum in cases like these. If, in that report, you could include a code snippet which has a object which fails to expose debug information as expected, that would be very helpful.

--Matt--*






Re: Visual Basic IDE Debugging nightma cannot drill down into object collections in QuickWatch window

Matthew Gertz MS

(Sorry, Jared's and my posts crossed. By all means, please post a snippet, but also know that the "file a bug" option is available here.)

--Matt--*