In C++, when the debugger displays a class it also displays the fields in all the parents of that class, including virtual parents, if that information is available. Static fields associated with a class are also displayed.
In Pascal and Ada, the debugger examines variant tags and only displays the fields of a record that are part of the current variant. If that information is not available, all the fields are displayed.