A more modern take on my memory debugging tool...
https://stash.reaper.fm/v/19828/watch.zip
You can create multiple watch panels to see the contents of different chunks of global/local memory. I've set up overrides of most functions so you can specify as many/few parameters as you need.
The functions all use a namespace passing system, using the name of the object as first argument. You might find it a bit awkward at first but I find it makes the code easier to manage and doesn't require any more typing.
Simple example:
Code:
import watch.jsfx-inc
@init
watch.Create(w1); // watch at offset 0
watch.Create(w2, 128); // watch at offset 128
watch.SetPos(w2, 0, 100); // move w2 so it doesn't draw over w1
// Fill memory with test values
i = 0;
loop
(
1024,
i[] = i;
i += 1;
);
@gfx
watch.Draw(w1);
watch.Draw(w2);
There's no documentation yet but the code is well commented so you shouldn't have any trouble working it out. Feel free to ask questions if you need to.
I haven't implemented any kind of show/hide functionality. I probably will at some point but if anyone wants to save me the trouble, feel free to post improvements here or message me.
Comments and suggestions welcome as always.