Graphical debugger for the rubyx register machine
Go to file
2015-07-27 12:09:35 +03:00
app integrating the sources to views 2015-07-27 12:09:35 +03:00
lib finishes the yellow world instructions 2015-07-26 18:27:12 +03:00
static some read me info 2015-07-26 14:38:07 +03:00
test finishes the yellow world instructions 2015-07-26 18:27:12 +03:00
.gitignore get vm source on screen 2015-07-18 11:22:42 +03:00
config.ru debug off is faster 2015-07-24 10:15:27 +03:00
Gemfile first mini test, remove spec 2015-07-24 18:38:37 +03:00
Gemfile.lock first mini test, remove spec 2015-07-24 18:38:37 +03:00
index.html.erb showing active instruction with bg 2015-07-25 15:28:59 +03:00
README.md some read me info 2015-07-26 14:38:07 +03:00

Debugger

After some tryouts it ended up being an Opal application. That is ruby as javascript in the browser.

Debugger

  • On the left are the claases of the system. Next idea is to have hover info about them.
  • Middle is in three sections of source, only last really working
  • last section, current block with current instruction highlighted
  • step (next) button for single stepping
  • bottom row are the registers. If the register hold an object the variables are shown. (also should have hoer info)

So lots to do, but a good start.

I don't want to use gdb anymore, and it would be easier without using the qemu setup, so:

  • single step debugging of the register machine level (as close to arm as need be)
  • visual transitions for steps
  • visualisation of data in registers (some kind of link to the object)
  • show the current instruction and a few around
  • show vm object (message etc)
  • show effect of register transitions on vm objects
  • visualize vm object content (again some links)

Space

  • Visualise the object space in some way
  • Visualise single object, bit like atoms
  • values immediate
  • objects as link