smart data/variable viewing

Bug #579357 reported by Onkar Shinde
6
This bug affects 1 person
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.

Revision history for this message
Bug Importer (bug-importer) wrote :

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.

Revision history for this message
Bug Importer (bug-importer) wrote :

And the "size view" would then ideally be equipped with an additional "size" column to show the size (in bytes) of each variable, too.

Revision history for this message
The Escapist (wisd00m) wrote :

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

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.