Closed
Description
The DebuggerDisplay attribute is not working in the WASM debugger.
To Reproduce
Create a simple class with a debugger display attribute:
[DebuggerDisplay("Counter {" + nameof(Count) + "}")] public class CounterModel { public int Count {get; set; } }
In the default template in the Counter example use this class instead of the int param. It should show "Counter 0" on startup, but displays the class name instead:
Further technical details
- ASP.NET Core version 5.01
- VS2019 16.8.3