Version: 3.4.1 (using KDE KDE 3.5.7) Installed from: Ubuntu Packages OS: Linux My project is managed by "qmake". By default, it is compiled in "Release" mode. If I try to debug it, KDevelop will start GDB, etc. - but will silently skip breakpoints. This is extremely confusing. If KDevelop cannot debug the program in "Release" mode, it should say so.
Thats not kdevelops fault, debugging an application that doesn't have debug symbols compiled and is compiled without any optimizations is impossible even in plain gdb. The debugger doesn't know about the build type of the project, there's no way to know that. And AFAIK its quite common knowledge that you need to build an application in debug mode to actually debug it.
But... it's a little hard to find the "Debug mode" option - I need to go to the "QMake Manager" tab, then "Subproject settings", and "Configuration". It's not even in "normal" project settings. But it takes only one click to start the debugger. AFAIK, in other IDEs - Visual Studio, Eclipse, etc. - debug mode is the default.
The Project Options dialog contains settings that KDevelop stores, however wether you're doing a debug or release build in QMake projects depends solely on the configuration of the Buildsystem. This is not different from Eclipse or Visual Studio, except that those invented their own buildsystem, which KDevelop doesn't do. Wether a new application is built in debug or release mode depends partly on your Qt, if that was built using the -debug configure switch applications will by default also use the debug mode. Last but not least: Yes our templates probably could have a debug-mode-enabled by default, please feel free to provide a patch for that (the C++ templates are in languages/cpp/app_templates).