The Visual Studio debugger does not have a function for this, unfortunately.
Please note that in general it cannot. The collection may be an iterator block with complex calculations; you don’t need the debugger to evaluate it more often than the program.
But of course, there is an obvious workaround for storing a collection in a variable:
var items = someObject.GetItems( someParameter ); foreach ( var item in items ) { ... }
Now you can see the items in the debugger. Of course, the same restrictions apply - if it is a complex enumeration, the debugger will not display a convenient list of elements. But in normal cases (e.g. lists, arrays, etc.) it does.
Timwi source share