audetto / AppleWin

Apple II emulator for Linux
GNU General Public License v2.0
49 stars 12 forks source link

Debugging Improvements Feature Requests #156

Closed markjfisher closed 6 months ago

markjfisher commented 7 months ago

I was wondering if it will be possible to control the debugger like the windows version with its keyboard shortcuts, or to add them as buttons to the Debugger window itself?

The Debugger window is infinitely better in the Linux version with SDL than windows, but it just lacks the ability to control it quickly, and is very mouse driven. When I'm stepping into / out of code, it would be much nicer with keyboard control to step / step into / step over / step return / view return etc, all of which can be done with various modifiers with the space bar, or other keys in the windows version; though I'd prefer a more F7/F8 etc approach to this in line with most modern IDE debugging.

Some of the features I miss from windows version:

Many thanks again for building this linux version and keeping it in sync with the upstream version, it's an absolute joy to use.

audetto commented 7 months ago
  1. I have learnt how to handle key events in ImGui, so I have implemented "space", "ctrl-space" and "shift-space".

  2. history in the input text seems easy too, so I will do it.

  3. TAB switching, I am not sure.

  4. memory view, I need to see where to display it.

  5. disassembly and cursor: need to see if I can retrieve it.

markjfisher commented 7 months ago

Thank you for these!

audetto commented 7 months ago

Done history, and some more ctrl-arrows for the debugger.

Any suggestion on how to display memory? Something similar to the existing memory window or exactly what AppleWin shows?

markjfisher commented 7 months ago

Thankyou again, I'll pick this up in a couple of days as I'm away at the moment.

For the memory windows though, I would definitely extend the idea of the existing memory window, maybe just have the ability to have multiple of them would be good enough.

I often just want to look at 3 or 4 locations at once when doing Atari debugging in Altirra, with the ability to stack them in (e.g) 2x2 formation in same window, but most importantly that they can be seen at the same time without having to click tabs for them, so if split view isn't easy, just the ability to have several open (Altirra does up to 4 views of memory at the same time) would be sufficient.

audetto commented 7 months ago

I've added TAB cycling as well. A little bit more complicated that I wished, due to a focus-grabbing issue.

audetto commented 7 months ago

Something like this?

image

markjfisher commented 7 months ago

yes, perfect, if those lines between sections are movable in standard ImGUI manner so you can see more of that particular section that would be great.

markjfisher commented 7 months ago

I just flew back from US where we were promoting the FujiNet device, and the virtual version of that, which we have added extensions to a port of AppleWin to communicate with, and people will be downloading a VM version of that we're maintaining, so we're bringing in an audience of new AppleWin Linux users, so thankyou for this.

audetto commented 7 months ago

if those lines between sections are movable in standard ImGUI manner

you will have to provide me an example of this.

Or, I could make them into tables with a certain range accessible with a scrollbar, but then I am re-writing the memory viewer...

audetto commented 6 months ago

I think I found what you meant

image

they are resizable and show up to 32 lines.

markjfisher commented 6 months ago

Yes, that's it. Sorry I didn't get chance to reply previously. They look really good!

markjfisher commented 6 months ago

Many many thanks for this.