How do I know the values of the variables in an application at runtime?
I want to know what the value of some variables is to know if the program is doing the right thing.
How do I know the values of the variables in an application at runtime?
I want to know what the value of some variables is to know if the program is doing the right thing.
V and then A (only the variables that are being manipulated at this time) or VT / kbd>, and then L (shows all variables in scope), as per the documentation . It only works when you are running debug .
You can navigate through the variables, open their content in cases of non-scalar, as this image shows:
You can follow the value changes (turns red) at each step.