Debugging windows

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Debugging windows

bitmonger
Is it possible to do interactive debugging of the windows 10 version?

I've installed the stable 6.3 on windows, extracted the sources for 6.3
(also on windows), launched vscode and created a debug/launch config, but
nothing works. I've tried using the gdb.exe that is installed with digikam,
and a mingw-64 version. Not working.

Any advice, please?



--
Sent from: http://digikam.1695700.n4.nabble.com/digikam-devel-f1695701.html
Reply | Threaded
Open this post in threaded view
|

Re: Debugging windows

Gilles Caulier-4
hi,

Yes the GDB version on CLi included in digiKam installer is just here to test, but it's not suitable as excepted.

To debug under Windows, you can install QtCreator :


...and use use the option :

Debug/Start Debugging/Start and Debug external application

Select the digikam.exe file and it will run in QtCreator/GDB session.

Best

Gilles Caulier

Le sam. 2 nov. 2019 à 08:08, bitmonger <[hidden email]> a écrit :
Is it possible to do interactive debugging of the windows 10 version?

I've installed the stable 6.3 on windows, extracted the sources for 6.3
(also on windows), launched vscode and created a debug/launch config, but
nothing works. I've tried using the gdb.exe that is installed with digikam,
and a mingw-64 version. Not working.

Any advice, please?



--
Sent from: http://digikam.1695700.n4.nabble.com/digikam-devel-f1695701.html
Reply | Threaded
Open this post in threaded view
|

Re: Debugging windows

bitmonger

Hi Gilles,
Thanks! I'm still stumbling and will continue to learn. But
before I go down more dead ends, qtcreator complains that
digikam.exe does not seem to be a debug build. And breakpoints
don't work. Do the release binaries contain debugging info? Do I
need a special qtcreator "kit"?

Best,
Mike



--
Sent from: http://digikam.1695700.n4.nabble.com/digikam-devel-f1695701.html
Reply | Threaded
Open this post in threaded view
|

Re: Debugging windows

Gilles Caulier-4
digiKam for windows is cross-compiled with Mingw and include debug symbols, i'm sure...

Gilles Caulier

Le mar. 5 nov. 2019 à 09:05, bitmonger <[hidden email]> a écrit :

Hi Gilles,
Thanks! I'm still stumbling and will continue to learn. But
before I go down more dead ends, qtcreator complains that
digikam.exe does not seem to be a debug build. And breakpoints
don't work. Do the release binaries contain debugging info? Do I
need a special qtcreator "kit"?

Best,
Mike



--
Sent from: http://digikam.1695700.n4.nabble.com/digikam-devel-f1695701.html
Reply | Threaded
Open this post in threaded view
|

another Image Object Detection algorithm (ready to use)

PackElend
In reply to this post by Gilles Caulier-4

Hi there,

have a look here https://mirage-tech.github.io/#documentation, unfortunately it is only available in Python although there are option to make it run in C++ project according to Integrate Python And C++. As there have been changes in the plug-in architecture, could it be realized as a plug-in as pre-trained code is available and maintained externally, so focusing on the access to the database could be enough?

Stefan