[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 109921] New: Debugger should show unicode strings
From:       kdevelop-bugs-admin () barney ! cs ! uni-potsdam ! de
Date:       2005-07-31 7:18:40
Message-ID: 20050731091839.109921.h.eichmann () gmx ! de
[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=109921         
           Summary: Debugger should show unicode strings
           Product: kdevelop
           Version: unspecified
          Platform: FreeBSD Ports
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-bugs kdevelop org
        ReportedBy: h.eichmann gmx de


Version:           3.2.0 (using KDE KDE 3.4.1)
Installed from:    FreeBSD Ports

The KDevelop debugger does not show the contents of unicode strings. Write in a code \
snippet

char* s1 = "test2";
wchar_t* s2 = L"test1";

and set a breakpoint below. Start the program. If it stops, the variable watch shows:

s1     0x12345678 "test1"    char *
s2     116                   wchar_t *

switching to hex does only show the start address of the string. As the debugger has \
correctly identified the string type (wchar_t *) it shoulkd be easy to show its \
contents as in the char * case. 

Heiner


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic