smart data/variable viewing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnusim8085 |
New
|
Wishlist
|
Unassigned |
Bug Description
the data/variable tab is very useful to inspect variables at runtime, however it seems that this view automatically shows ALL variables byte by byte.
In some cases this may not be necessary, assuming for example those cases where the programmer has explicitly defined a variable to have a certain size, of say "4 bytes" using assembler directives. In such a situation, it might be more intuitive to simply display all 4 bytes as one single value, rather than 4 different unrelated bytes.
Just imagine I have configured a dword (4 bytes) to hold a variable named "mynum":
mynum: ds 4
It would be very helpful if the user could select to automatically adjust byte size for variables according to the size used in the source code.
Ideally, this would be a configurable option.
For example, by providing a checkbox at the top of the tab saying "automatic variable size guessing" or something like that.
So, users would end up with a view that would optionally honor their memory arrangements as specified in the source code.
There could also just be a dropdown menu offering two choices "Byte View" and "Size View", where the latter would be based on variable sizes as specified in the source code by use of assembler directives.