Jump to content
IGNORED

New Handy debugger UI


obschan

Recommended Posts

Over the last few months I grew frustrated by the original handybug and decided to improve the existing debugging tools, at least to something that would fit my needs, I originally wanted to debug my comlynx code.
I've published it there : https://github.com/LLeny/VkHandybug
I had it to run on Linux compiled with gcc 12.1 and Windows with Visual studio 2022, anyone with some Mac hardware/knowledge to give it a try ?
I took my inspiration from a bit of everything around, the original handybug, Felix.
This is not a Handy frontend, this is not made to run, render games with accurate timing, the threading model is very naive at this point. My original plan was to be able to run multiple debugging "synchronized" sessions concurrently to be able to debug comlynx.

It's still very rough around the edges but it could be useful to someone else than me.

  • Like 4
Link to comment
Share on other sites

Nice.

Some quick check findings:

- LRU list of sessions is always empty.

- No "default" session layout/possibility to change download file.

- Sprite engine is buggy (check nostalgia) (interestingly it shows the same bugs Igor reported)

 

Link to comment
Share on other sites

2 hours ago, 42bs said:

- LRU list of sessions is always empty.

Hmm, the recently used list ? You're on windows, linux ? It's only that list or none of the settings are saved (like theme, lynxboot file, session settings, ... )? Nothing "out of the ordinary" in your path ?

 

2 hours ago, 42bs said:

- No "default" session layout/possibility to change download file.

Right, I'll add that to todo.
 

2 hours ago, 42bs said:

- Sprite engine is buggy (check nostalgia) (interestingly it shows the same bugs Igor reported)

I haven't looked at the engine much yet, but I actually took it from your github repo. Any patches that I could add ?
 

Thank you for your feedback.

 

Link to comment
Share on other sites

6 minutes ago, obschan said:

Hmm, the recently used list ? You're on windows, linux ? It's only that list or none of the settings are saved (like theme, lynxboot file, session settings, ... )? Nothing "out of the ordinary" in your path ?

I tried it on Windows. The Sessions menu is just empty. But the last .lnx files are listed. But it creates a new session when re-opening.

Link to comment
Share on other sites

Ah, I was interpreting Session as a work space session which saves window positions and base addresses. But it is lives as long as handy is open.

 

It seems GUI info is not stored between runs. Hence, the same 'problem' as with the debugUI for Felix.

Link to comment
Share on other sites

Hmm, I have to say, the deeper sense of the "Sessions" is not clear to me. I was expecting, that I could hide/show all windows of a session.

But it seems it is "just" as if I would start another handy instance. I see the background is ComLYNX debugging, which is surely easier within _one_ emulator.

Link to comment
Share on other sites

41 minutes ago, 42bs said:

Hmm, I have to say, the deeper sense of the "Sessions" is not clear to me. I was expecting, that I could hide/show all windows of a session.

But it seems it is "just" as if I would start another handy instance. I see the background is ComLYNX debugging, which is surely easier within _one_ emulator.

for comlynx you need proper timing between instances, otherwise time-out and collisions occur.

  • Like 1
Link to comment
Share on other sites

Yes that was my original motivation.
Most of the emulators frontends achieve accuracy by synchronizing on display, audio frames. I don't think multiple comlynx running instance can be stable in that case, except with robust flow control. I was hoping to get at least opcode (not tick) timing synchronization.

 

Redeye is still flaky, but I think handy timer issues need to be fixed first.

Edited by obschan
Link to comment
Share on other sites

17 hours ago, obschan said:

I had it to run on Linux compiled with gcc 12.1 and Windows with Visual studio 2022, anyone with some Mac hardware/knowledge to give it a try ?

I tried naivly "cmake ../" (on MacOS) but it does not work.

 

What are the needed libraries?

Link to comment
Share on other sites

Success: Things I needed to do for MacOS:

- remove includeing "endian.h" in md5.cpp

- remove patches in tools/cmake.dependencies

 

There are currently a lot of warnings regarding sprintf() and other deprecated functions.

 

But: It run!

Link to comment
Share on other sites

  • 5 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...