@Grauw: Could you perhaps tell me how I can download (and possibly compile) that newer version in Ubuntu? Because I don't think I can use the APT package manager for this. Or could I?
Building should be easy on Linux, clone with:
git clone https://github.com/openMSX/debugger.git
And then, according to the README:
Build with:
make
Building should be easy on Linux, ....
You would think so. But apparently it's not that simple. I've tried a lot but keep getting the same errors:
$ make Generating ui_BitMapViewer.h... make: /usr/lib/qt5/bin/uic: No such file or directory make: *** [build/main.mk:310: derived/src/ui_BitMapViewer.h] Error 127
QT5 is installed but apparently something is wrong. My knowledge in this area is unfortunately "NULL". So I guess I'll just try to get by with manually adjusting the .sym case each time.
I was trying Dezog by Sourceror but that brings a lot of new confusing problems
You also need the development package of qt5, often call libqt5-dev or similar.
YES!
sudo apt-get install qtbase5-dev
Now it builds! But now it's not yet "installed". At least I can't find it as an Ubuntu application.
I can start it when I go to the newly filled "derived/bin/openmsx-debugger
"
It now loads the .sym file correctly so that's very nice! Thanx!
So we're almost there!
Is there a way to "install" this application so I can see & start it from the Ubuntu Applications menu?
You will probably need to create a desktop file (you can call it openmsx-debugger.desktop
) similar to this one:
[Desktop Entry] Type=Application Encoding=UTF-8 Name=OpenMSX-Debugger Comment=MSX Debugger that connects to a running OpenMSX instance Icon=$HOME/debugger/resources/icons/openMSX-debugger-logo-64.png Exec=$HOME/debugger/derived/bin/openmsx-debugger Terminal=false Categories=Development;Debugger
This sample assumes that the code is on $HOME/debugger
. Update it accordingly. You need to put it on ~/.local/share/applications/
I have it compiled also for MacOS Apple Silicon version for brew version of qt5.
I have it compiled also for MacOS Apple Silicon version for brew version of qt5.
Thanks everyone for your help!
I can now happily continue with coding and debugging.