Version: 3.9.96 (using KDevPlatform 0.9.96) (using 4.3.3 (KDE 4.3.3), Chakra KDE) Compiler: gcc OS: Linux (i686) release 2.6.31-ARCH A simple messagebox if breakpoints are set and user tries to debug without "CMAKE_BUILD_TYPE" "Debug" would have bin helpfull to get my breakpoints to work. perhaps even disable the debug option if breakpoints wont work. ... Please set Project -> Open Configuration -> CMAKE "CMAKE_BUILD_TYPE" to include "Debug" so breakpoints will work..
I don't think this makes much sense. Apart from the fact that we should use Debug by default, which exact flags are passed to gcc and wether or not thats enough for gdb to debug the executable is not under our control. If the cmake-writer thinks that -g is not useful for Debug mode, then the message-box won't help as it wouldn't show up. Not closing for now, I'd like some more opinions on this one.
Well, the message box can have a checkbox "Don't ask for this build type" which disables the message for current build type on the current project (and is being saved as a project option in .kdev/*.kdev4). Also it will be good to be able to disable it globally. With such enhancements there will be no problems with those who doesn't want it, and it will be quite useful for other users. Personally I'd like to see this feature in KDevelop4.
I don't think that should come from CMake support but from gdb support. Is there any way to tell whether a binary was compiled with debug information? How does KCrash do? Also it shouldn't be a MessageBox, obviously.
*** This bug has been marked as a duplicate of bug 327760 ***