2.3.7 How to Debug Items in a List

To debug a list, set a breakpoint where you'd like to see the state of the List at a given time. The Autos window will you the Count of the List at that time.

To see what objects are in the List, expand the List object.

Then expand the objects in the List.

Let's say I have a List of all the Employees in the Zoo. A good way to check if they have the things they are supposed to have is to debug the list and expand the Employee object.


In the example below we can see that Sam has a list of Food objects with 1 item in it, a Food object, and fields assigned. Nou, on the other hand, doesn't have a list of Foods, any Food item or many of her fields assigned.