Version: 3.5.0 (using KDE 3.5.9) Installed from: Gentoo Packages Compiler: g++ (GCC) 4.2.3 (Gentoo 4.2.3 p1.0) USE="cvs debug java perl php python ruby sql subversion -ada -arts -clearcase -fortran -haskell -pascal -perforce -xinerama" OS: Linux How to Reproduce: 1. compile this source with -ggdb 2. start debug 3. set breakpoint to test1() at line "std::cout << s << std::endl;" 4. start debug (F9) 5. add watch "s" (variable s) 6. expand tree: [Watch]-[s]-[_M_dataplus] 7. step over (F10) - result debugger abnormal exit I compile kdevelop source and trace: function slotDbgProcessExited execute debuggerAbnormalExit gdb abnormal exit after command lool like this: "kdevelop (debugger): SEND: -var-delete "KDEV8.private._M_dataplus"" Expected Behaviour: debugger don't abnormal exit :) #include <stdio.h> #include <iostream> void test1() { for (int i = 0; i != 2; ++i) { char c[16]; sprintf(c, "test - %d", i); std::string s = c; std::cout << s << std::endl; } } int main(int argc, char *argv[]) { test1(); std::cout << "finish" << std::endl; return 0; }
Created attachment 23733 [details] test project I use x86_64 linux desktop
fixed in kdev4