Any way to easily "find" the debuggable viewer-window again?

Page 1/2
| 2

By Bengalack

Paladin (721)

Bengalack's picture

07-11-2020, 09:00

Probably something I'm missing, so I'm asking here.

I'm developing on Windows 10, always having a lot of windows open at the same time. The debugger is constantly open as it is used "all the time Smile". I'm using the Debuggable Hex Viewer a lot. Each time I choose this menu, a new window pops up (which is nice when you need more of them). But the previous one(s) are lying behind the other windows somewhere. They are of some kind of light-weight windows which I cannot locate via a menu or the like, it seems.

Is there a good way to find these windows? Or is this like a new feature request? Smile

Login or register to post comments

By Manuel

Ascended (19320)

Manuel's picture

07-11-2020, 21:36

Well, you can dock these viewers into the main window... drag them by the part just under the normal window title bar over the main window and you can see where to dock them. It's a bit fiddly though...

By FiXato

Scribe (1742)

FiXato's picture

07-11-2020, 23:03

I'm making some progress with adding a menu item to focus the floating widgets though:

By FiXato

Scribe (1742)

FiXato's picture

08-11-2020, 03:42

Okay, I think I've put together a solution that might work for you to get your Hex Viewers back to the front: https://openmsx.fixato.net/builds/windows/x64/debugger/openM... :)
Please give it a try and report back if it works for you. :)

(I hope you are on a 64-bits Windows 10, because I don't think I can make a w32 build myself)

Related pull-request to the project itself: https://github.com/openMSX/debugger/pull/75/commits/a5b271d8...

By Bengalack

Paladin (721)

Bengalack's picture

08-11-2020, 13:21

Wow awesome @FiXato!!

That looks to be exactly the feature that will make things so much easier and efficient! Thanks a lot for looking into this!

By replacing the current exe, things don't seem to work out of the box, though. Seems like the exe is using an entry-point which is not in the dlls bundled with the debugger (snapshot). Unless there is something I do wrong of course Smile

@Manuel: Tried to dock it. Well, couldn't succeed :-( Super skills needed there I think :)

By Manuel

Ascended (19320)

Manuel's picture

08-11-2020, 13:52

It's possible. It's just a bit tricky. Make sure you drag the window with the part that says "Debuggable hex view:" with the tiny cross at the end. The window will get a different color when dragging it. And then find a spot in the main window.

By sd_snatcher

Prophet (3646)

sd_snatcher's picture

08-11-2020, 14:45

Quote:

But the previous one(s) are lying behind the other windows somewhere.

Interesting. On macOS, whenever I select the main window, all of these mini-windows pop up instantly.

@FiXato

It would be nice to also have a "window" menu like many applications, with a list of all detached windows.

Since you're at it, could you pleeeeeease fix some another annoyances?

  • The macOS version seems to have been stopped at 0.1.0-dev263 (2017) on the daily builds, while the win64 version is 20201008. On the official download site, the debugger about-box reports a bizarre "0.10.0-unknown" version, so I don't even know which version I should be using.
  • The VDP registers view window is illegible on macOS
  • The VDP R#17 auto-increment bit description is inverted
  • The VDP R#25 waitstate bit description is inverted
  • The VDP R#0 DG bit description only says "DG explained" instead of "Colorbus set for output" and "Colorbus set for input"
  • The mouse/light-pen bits have no description at all
  • A force-refresh button is really needed.

By FiXato

Scribe (1742)

FiXato's picture

08-11-2020, 16:10

Bengalack wrote:

Wow awesome @FiXato!!
By replacing the current exe, things don't seem to work out of the box, though. Seems like the exe is using an entry-point which is not in the dlls bundled with the debugger (snapshot). Unless there is something I do wrong of course Smile

Hmm... might be a difference between Qt5 versions between what I have installed (5.15.1) and what you might have installed? Perhaps using the latest Qt5 online installer could make a difference (and if you don't have a qt.io account, nor want to create one, BugMeNot probably comes in handy ;)). Alternatively I can try build it with a previous release.

Bengalack wrote:

@Manuel: Tried to dock it. Well, couldn't succeed :-( Super skills needed there I think :)

Try grabbing the inside of the widget and drag that around, rather than the widget frame.
You can sort of see how in this video: https://www.youtube.com/watch?v=bU0lxRyThWQ

(Also, BiFi made me realise I should probably put this in a "windows" menu of its own, rather than part of View.)

By FiXato

Scribe (1742)

FiXato's picture

08-11-2020, 16:18

sd_snatcher wrote:

It would be nice to also have a "window" menu like many applications, with a list of all detached windows.

That is exactly what this update adds. Smile Though as I mentioned in my previous comment, (and to BiFi on #openMSX), I should move this item to a Window menu instead.

sd_snatcher wrote:

Since you're at it, could you pleeeeeease fix some another annoyances?

This is my first foray into C++, and I picked this up because it seemed fairly simple to start with.
Some of your feature requests sound far more complicated to me, or mention things I am personally completely unfamiliar with as I am not well-versed at all in MSX's hardware. Smile
Not to mention that the macOS-specific things are hard for me to test...

Description text changes should probably be fairly to change and submit pull-requests for yourself, I think?

To be clear, and perhaps blunt, I implemented this one feature because it seemed simple enough, and because I wanted to see if I could do it, as a challenge.
Please don't expect me to be a new maintainer, as my time is limited, and I don't use the Debugger at all myself, so there's little motivation for me to work on it, especially when I have plenty of other pet projects I want to spend time on. Smile

By FiXato

Scribe (1742)

FiXato's picture

08-11-2020, 16:51

Bengalack, please try this archive instead, which has (hopefully all the required) DLL files packaged along with it: https://openmsx.fixato.net/builds/windows/x64/debugger/openm....
Just extract the entire archive into its own directory (or the openMSX dir I guess, that would prob work too), and run the exe from there. That should sufice.

(Offtopic: Forresten Bengalack, hvis du er i Drammens området, så er du kanskje interessert i den Hitbit HB75-P på FINN som jeg netopp så. ;))

By Bengalack

Paladin (721)

Bengalack's picture

08-11-2020, 19:13

Great FiXato. This version works perfectly, thanks a lot! *Currently in use* :-)

BTW: Qt files coming with the snapshot is 5.7 from 2016.

And for that HitBit - Dang! I was in Drammen 2 hours ago! Hmm. It's tempting. Looks decent, but I'm unsure whether I'll start collecting... I'm more fan of the MSX2... That said, the HitBit HB75-P was my first MSX! -I'll have to think about that one :-)

Page 1/2
| 2