Page 2 of 2

Re: Emulator with debugger

Posted: Sun Jun 29, 2025 6:33 pm
by ecdhe
Got it, thanks. It works now.

My next question is: how to enter the debugger?

Re: Emulator with debugger

Posted: Sun Jun 29, 2025 7:03 pm
by XorA
ecdhe wrote: Sun Jun 29, 2025 6:33 pm Got it, thanks. It works now.

My next question is: how to enter the debugger?
There is no debugger, if you hit f12 it will dump every instruction run.

I was saying I could easily add a memory dump! I don't have the UI skills for a internal debugger!

Re: Emulator with debugger

Posted: Sun Jun 29, 2025 7:10 pm
by ecdhe
Fair enough. I'd say don't add the feature just for me. In my case, I combine some debugging operations (break in some functions, go step by step) with a memory dump.

As far as debugger UI, you don't necessarily need something with bells and whistles. If you look at MAME you'll see that the commands are all text-based. There are disassembly and memory dump windows, but nothing that couldn't be output on the console.

But maybe there's not much demand for a debugger on the QL.

Re: Emulator with debugger

Posted: Mon Jun 30, 2025 1:34 am
by ecdhe
By the way, here's one application I have with a memory dump of the process. I am adapting my own mem viewer tool to the QL. By taking snapshots at regular intervals, I can take a look at the evolution of in-memory bitmaps (here, the intermediary bitmap when a piece if moved)