Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Shortcut for expanding IEnumerable Results View in Visual Studio debugging

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?

huge distance

Update

@Alex Essilfie has created a suggestion on Uservoice. Follow this link to vote it up before the VS2013 release!

like image 760
Dirk Boer Avatar asked Dec 02 '12 00:12

Dirk Boer


People also ask

How do I view debugger in Visual Studio?

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 .

How do I debug line by line in Visual Studio?

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 ...


2 Answers

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.

like image 83
Omer Raviv Avatar answered Sep 19 '22 21:09

Omer Raviv


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...

like image 26
Monty Wild Avatar answered Sep 17 '22 21:09

Monty Wild