Hi was having a problem, that i already solved but i don´t understand te solution.

To trace a variable that is in the main class i have to use this:


While i would expect it to be this:


When do i have to use the dot syntax and when the parentheses?