When I'm debugging in Visual Studio (up to 2012) and hovering over a variable to explore all the properties, I explicitly need to press the Expanding the Results View will enumerate the IEnumerable button on IEnumerables.
As I am inherintly lazy a superefficient coder I was hoping there was some kind of shortcut, like double clicking or a hotkey. Is there any?
Update
@Alex Essilfie has created a suggestion on Uservoice. Follow this link to vote it up before the VS2013 release!
You can access the project-specific properties by right-clicking the project in Solution Explorer and selecting Properties. Debugging properties typically appear in the Build or Debug tab, depending on the particular project type. Starting in Visual Studio 2022, the Debug tab for .
Click the Debug | Step Into menu item or press the F11 key to step into any property or method for debugging. You can then continue the line by line execution by pressing F10 or continue ...
You could install a commercial extension I created for Visual Studio called OzCode, which enhances the VS debugging experience and replaces Visual Studio's UI for the on-hover DataTip, and since I'm also a super-lazy coder, I decided not to require the user to click a separate button before he/she can expand the "Results View" node.
Another solution, which is not really more efficient but does not require using the mouse, is to hit Shift+F9 (to pop up the QuickWatch window) and then type in "cats,results" and then hit enter.
There may not be a default keyboard shortcut for this in VS, but if you go to Tools/Options then Environment/Keyboard, you can add a shortcut of your own for any command - if you can figure out which one you need...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With