When a program is paused, debugger windows such as Autos can show more than simple values.
They can also show fields that refer to other objects.
Suppose the runtime relationship is:
Expanding player1 can reveal the nested team reference.
Expanding that Team object can reveal its fields.
This makes the object graph visible one relationship at a time.
Suppose the source contains:
Player player1 = new Player();
Team team1 = new Team();
player1.team = team1;
team1.name = "Wildcats";Set a breakpoint after the relationship and value assignments when you want to inspect the completed state.
When execution pauses, locate player1 in the debugger.
You may see something conceptually like:
This process prepares you to reason about more detailed object memory and reference behavior in the next batch without guessing from the source alone.