farre / midas

A GDB/MI Visual Studio Code Debug Adapter
MIT License
29 stars 1 forks source link

Be able to show raw values of enums #163

Open theIDinside opened 1 year ago

theIDinside commented 1 year ago

In C projects, particularly old ones, there's an unfortunate use of enums with variable values. In GDB particularly, there's CORE_ADDR which is an enum containing an unrelocated (or is it relocated? Doesn't matter) address. This will not be displayed properly right now, unfortunately.

To do: Make variables of enum type, display both the variant and it's backing storage value (i.e. a byte, short, int, etc).