This is known as a stack diagram, which shows the state of a programβs functions and variables. For each function there is a box, called a frame or stack frame, that contains the functionβs parameters and variables.
The stack starts in the box for main. I can see that at the point we were at in main, x and y have been set, but z has not been initialized yet. We have not initialized z yet, because the doubleValue function was called, and now it is executing. There is a stack frame for doubleValue right below main. It is highlighted in blue to indicate that it is where execution currently is.
As with other memory diagrams, stack diagrams show variables and functions at a particular point in time. If you go back and run the program again in Codelens, you will see the stack diagram change as the program runs.