see contents of C# collections in debugger

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By GuySmileyPotato

Hi, I am using C# on Windows. I can get the debugger to work (both Visual Studio 2019 and VS Code), but neither debugger lets me see the contents of any collections (List, Dictionary, HashSet, etc). Does anyone know if this is possible?

Thanks!
John

Hey,

can you exactly show what you mean? Maybe an example from a normal .Net Project?

juppi | 2020-06-24 17:20

using Mono debugger

using .Net debugger

Ok I think I got these images to work…the top one (Mono debugger used on my Godot project) can’t see inside the workforces dictionary, and can’t see the contents of “this” (see watch window at bottom).

In my standard .Net project (all Godot code removed), the debugger works like normal.

GuySmileyPotato | 2020-06-27 21:04