Monday, December 29, 2014

Designing the EZTable class

    I had a request for displaying changes in the data highlighted while debugging in ebe.  The idea is that in the data window, the assembly data window, the register window, the floating point register window and the stack frame window each changed item would be displayed in a highlighted color (I chose red).  The first attempt to solve this problem with to derive EbeTable from QTableWidget and derive EbeTableItem from QTableWidgetItem.  This was mostly successful, but had some issues.

Sunday, December 28, 2014

Ebe changes

   I have recently added changes to the display of the data in the assembly data window, the register window, the floating point register window and the the stack frame window.  The first change is that whenever a value changes it is displayed in red making it a little easier to see the changes as you step through your code.
   The second change is that it is now possible to use the "Edit settings" dialog to change the width of the display in the register window and the assembly data window.  You can choose to display the registers in 2 columns rather than 4 which makes it more convenient if the register window is docked on the left.  For the assembly data window the choice is from 8, 16 or 32 columns.  The number of columns is the number of chars displayed on one row.  Other types will be adjusted to match.  If you drag to assembly data window to the bottom of the window, 32 columns makes pretty good sense.
   I am currently working to replace the data window for high level languages with a similar capability.  When it is done the data will be displayed in a regular pattern and the updates will be in red.  Ultimately I would like to provide a scrolling feature for displaying arrays.  At the start the arrays need to be fairly small to be convenient.  I really don't like the method of selecting indexes for the data window display.