Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to enable the 'Locals' tab in Visual Studio?

I've tried running the debugger in VS. I see the error list, but I could not find the local tab to tell me what is going on inside the code. Would someone please tell me how to enable the tab?

like image 966
Marco Avatar asked Apr 02 '12 15:04

Marco


People also ask

What is Locals window?

The Locals window is a useful window where you can see the values of all declared variables. This window automatically updates as you debug line by line or from breakpoint to breakpoint. The window has three main columns. Under the Expression column, it shows the name of the variable.

How do I see variable values in Visual Studio debugging?

Hover over a variable to see its value. When stopped in the debugger hover the mouse cursor over the variable you want to look at. The DataTip will appear showing you the value of that variable. If the variable is an object, you can expand the object by clicking on the arrow to see the elements of that object.


1 Answers

You can use the hotkey chord: Ctrl+Alt+V then L

Or, while running your program, select on the toolbar: Debug > Windows > Locals

like image 200
Mike Corcoran Avatar answered Sep 20 '22 14:09

Mike Corcoran