Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Setting up a debugging environment for KDE applications in Debian

Programming languages, Coding, Executables, Package Creation, and Scripting.
Post Reply
Message
Author
Aki
Global Moderator
Global Moderator
Posts: 2816
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 68 times
Been thanked: 382 times

Setting up a debugging environment for KDE applications in Debian

#1 Post by Aki »

Hello,

I would like to set-up a debugging environment for KDE applications and components. I'm currently running Debian Stable 11.7 .

I would like to use qtcreator [1] as integrated development environment (IDE) with its integrated debugger. It installs flawlessly from Debian repositories:

Code: Select all

apt install qtcreator
I can easily download source codes for KDE packages from Debian repositories, for example:

Code: Select all

apt source powerdevil
I can download debugging symbols; for example, adding to /etc/apt/sources.list:

Code: Select all

deb http://deb.debian.org/debian-debug/ stable-debug main contrib
I can use the command:

Code: Select all

apt install powerdevil-dbgsym/stable-debug
I can choose which packages (development libraries from QT and KDE) to install from Debian repositories for a specific KDE application (for example, powerdevil) using the following command:

Code: Select all

apt-get build-dep powerdevil
I can start qtcreator and import the KDE program (powerdevil is a KDE component, in this case) creating a new qtcreator project.

How can I configure the new project created in qtcreator (IDE) to make it find missing symbol declarations of development dependencies (C++ header files, libraries) in the source code of the debugged project ?

Thanks.

---
[1] https://packages.debian.org/bullseye/qtcreator
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

Post Reply