Replies: 1 comment 2 replies
-
@lassevk That's a great suggestion! I think starting with the basics is wise and adding additional debugging metadata as long as it doesn't negatively affect debugging performance. Is this something you would be interested in helping with? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It would help tremendously when writing code dealing with metadata to see the tag names.
A simple method would be to adorn all the metadata value container types with a DebuggerDisplayAttribute, to show the tags.
Example:
This would, during debugging, show up as
instead of just
granted, this might be obvious for this particular tag, but in my opinion, this:
is more helpful than this:
Rider does show the underlying type name, but since this is just
ExifShort
, that doesn't help much.The above format with
Tag = Value (Type)
is just an example, a good discussion about the exact view would be necessary.As an example of how this would look, here are the current items being displayed when debugging
ExifValues.IEquatable
:whereas with the proposed change, this would be the result:
Even more advanced debugger visualization could also be added using type proxies (only used during debugging), to interpret rational numbers and show them as fractions and so on, if necessary.
Note that Exif tag 59932 is apparently referred to as "padding", whitespace bytes to make room for in-place changes to Exif data without having to rewrite the entire file. Whether such interpretations should be part of such a system is debatable.
Beta Was this translation helpful? Give feedback.
All reactions