#DebuggerDisplay on Native Containers breaking (rider's) debugger

1 messages · Page 1 of 1 (latest)

frosty gate
#

The debugger display, for example on native list, is stopping rider from being able to inspect any native container
[DebuggerDisplay("Length = {m_ListData == null ? default : m_ListData->Length}, Capacity = {m_ListData == null ? default : m_ListData->Capacity}")]
Tested on Rider 2023.1.1 and Rider 2023.2 EAP1. Untested on Visual Studios.
Changing it to
[DebuggerDisplay("Length = {Length}, Capacity = {Capacity}")]
(Though loses conditional check obviously)

#

Swapping to DebuggerDisplay without conditions and it starts working again

#

IN-41292