Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
roschler opened this issue Jul 7, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@roschler
Copy link

roschler commented Jul 7, 2021

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.

@devhawk
Copy link
Contributor

devhawk commented Feb 21, 2022

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 devhawk added the enhancement New feature or request label Feb 21, 2022
@devhawk
Copy link
Contributor

devhawk commented Apr 4, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants