neo-debugger icon indicating copy to clipboard operation
neo-debugger copied to clipboard

Data members of a class object are shown as their raw types and not their C# types

Open roschler opened this issue 4 years ago • 2 comments

If you add a class object to the debugger, the data members of the class are shown as their raw type instead of their C# data type. Since they are data members you can not cast them to something else like you can with simple variables.

For example a string field is displayed as a ByteString array of hex characters, not as a string and you can't use a (string) cast to show it that wya. It would be very helpful if the debugger could display class objects with their data members values re-interpreted as their C# primitive types, not as the ones underlying the smart contracts implementation code.

roschler avatar Jul 07 '21 01:07 roschler

C# info for types is not in the debug info, so this would require significant upgrade to debug info and compilers. A good idea worth pursuing, but not one that can be worked on at this time

devhawk avatar Feb 21 '22 17:02 devhawk

This will be addressed as part of the overall Storage Schema Preview work

devhawk avatar Apr 04 '22 19:04 devhawk