See the values of variables at runtime?

Asked

Viewed 312 times

4

How can I know the values of the variables of an application at runtime?

I want to know the value of some variables to know if the program is acting correctly.

1 answer

4


It’s normal to show up when you are thrashing, if it is not appearing in your Visual Studio can use CTRL + ALT + V and then To (only the variables being manipulated at this time) or CTRL + ALT + V and then L (shows all variables in scope), according to the documentation. It only works when running from debug.

You can browse the variables, open your content in cases of non-scale, as shown in this image:

Local variables debug

You can follow the changes of values (turns red) at each step.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.