Setting up debugging and development environment

Miljenko Jakovljevic micky686 at
Sun Mar 18 15:47:39 UTC 2018


In order to be able to run kdevelop in gdb I have added this line to the
CMakeLists.txt file in the kdevelop root directory:

set(CMAKE_BUILD_TYPE, "debug")

Then I use:

cmake CMakeLists.txt
make clean (without this the build often fails with the "main not found"
make -j8
gdb kdevelop (gives: no debugging symbols found)

What am I doing wrong that the debug symbols are not set?

Is there a guide about the development environment for kdevelop or
something more general?

Best regards!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the KDevelop-devel mailing list