DateTime properties

Toby Herring 7 years ago updated by Omer Raviv (CTO) 7 years ago 1

When viewing DateTime (or DateTimeOffset) structures in the Quick Watch window, you can only see the debug display view (date/time) and the ulong dateData value.  In my current scenario, I need to also see the Kind property, which is not indicated in the debug display view.

In general, I think drilling down into a struct, even one of the System structs, should always show all properties once you start drilling down.

Thanks a lot for reporting this issue! Unfortunately, I could not reproduce this issue - it seems I can always see the "Kind" property. Could you please send me a screenshot of how it looks on your machine?

Also,  could you please check whether you still can't see it even if you go into Tools->Options->Debugging->General and temporarily enable "Show raw structure of objects in variable windows"?

In general, to avoid confusion, OzCode sticks with displaying the same hierarchy as you would see in Visual Studio's native Watch window. You can customize it a bit under Tools->Options->Debugging->General. For example, if you don't like how "Non-Public Members" are tucked under a different node and want to see all properties together, you can disable "Just My Code".