Debugger can't display variables

I regularly get this issue when debugging:

image

I suspect the cause is to do with the fact that the class exposes some properties that are ref return properties but these are legal C# concepts and should not really cause a problem.

can you do simple project? What is inside of Peripheral class?

It’s quite involved, I’ll try to create a simple example that does this.