Thanks for the idea Louis :icon_clap:. I've had a fun few days implementing this as a Recorder object in my Debug suite. At the moment, like the Runner which can break and step applications on both device and desktop, it will only work with optimised compiled applications that have been recompiled by my DebugRecompiler. Also, like the Runner, it should work in both device and desktop IDEs provided that Erel implements the hooks I have discussed with him in the next version of Basic4ppc.
I am not going to post the updated Debug suite in the libraries thread until I have tested it with the next version of Basic4ppc but if anyone wants a play they can have a beta version.