← Back to team overview

gnusim8085-devel team mailing list archive

[Bug 579357] Re: smart data/variable viewing

 

I just commented on something related to this, and I second this
suggestion

-- 
smart data/variable viewing
https://bugs.launchpad.net/bugs/579357
You received this bug notification because you are a member of
GNUSim8085 developers, which is subscribed to gnusim8085.

Status in gnusim8085: New

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.