-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Inconsistent debug views of dictionaries #91506
Comments
Tagging subscribers to this area: @dotnet/area-system-collections Issue DetailsCurrently standard dictionary classes have two different ways of showing their content in a debugger. The non-generic dictionary classes (i.e. On the other hand, generic dictionaries show their content as a list indexed by numbers with keys and values together: I assume, that this difference is not intended, so presenting all of them more consistently would be an improvement. In my opinion, the first view looks better, closer to the idea of a dictionary. The later view is better for lists (or anything indexed by numbers). But choosing any of them should help. What do you think about it?
|
Duplicate of #88736 |
I like the first option as well. It would be a nice improvement. |
Currently standard dictionary classes have two different ways of showing their content in a debugger. The non-generic dictionary classes (i.e.
Hashtable
andSortedList
) presents keys and values in separate columns:On the other hand, generic dictionaries show their content as a list indexed by numbers with keys and values together:
I assume, that this difference is not intended, so presenting all of them more consistently would be an improvement. In my opinion, the first view looks better, closer to the idea of a dictionary. The later view is better for lists (or anything indexed by numbers). But choosing any of them should help.
What do you think about it?
The text was updated successfully, but these errors were encountered: