VS2010 Debugging: displaying datatip without mouse (use keyboard)?

I am in VS2010, at a breakpoint. How can I make the data type appear for a given variable / expression without using the mouse to hover it?

+3
source share
5 answers

This cannot be done exactly, but you can get the same result by selecting the variable you want to view (using ReSharper Ctrl+ Alt+ / you can speed it up) and pressing Shift+ F9, which will lead to the appearance of the QuickWatch modal window with the data type contained inside .

, Options- > Keyboard Debug.AddWatch Shift + F9, , ( )

, (Ctrl + Alt + A) Debug.AddWatch variable_name.

+4

VS, , .

visual studio plugin Oz Code, , , .

:

enter image description here

+1

? , .

, , !

0

"pin", , , .

, .

0

The Locals and Autos windows can be useful as they show all local variables (they even show the return value of the called functions!).

Please note, however, that they directly display only variables in the scope, therefore, if you need the detail property that is not yet specified in the code, you can expand it using the / keys , however, if it was already mentioned in the code in the current scope, then you should see it directly in the Autos window.

0
source

Source: https://habr.com/ru/post/1776735/


All Articles