[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-bugs
Subject: [Bug 158522] New: debuggerAbnormalExit debugger abnormal exit with
From: Vlad Brovko <brovushkin () gmail ! com>
Date: 2008-02-27 22:33:41
Message-ID: 20080227233340.158522.brovushkin () gmail ! com
[Download RAW message or body]
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=158522
Summary: debuggerAbnormalExit debugger abnormal exit with watch
expression std::string
Product: kdevelop
Version: 3.5.0
Platform: Gentoo Packages
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: kdevelop-bugs kdevelop org
ReportedBy: brovushkin gmail com
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;
}
_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic