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

List:       kdevelop-bugs
Subject:    [Bug 253011] New: Watch doesn't use pretty print functions for
From:       William Frank <kibork () gmail ! com>
Date:       2010-10-02 10:47:19
Message-ID: bug-253011-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=253011

           Summary: Watch doesn't use pretty print functions for
                    std::wstring
           Product: kdevelop
           Version: 4.0.80
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: CPP Debugger
        AssignedTo: kdevelop-bugs@kdevelop.org
        ReportedBy: kibork@gmail.com


Version:           4.0.80 (using KDE 4.5.1) 
OS:                Linux

Hi team,
After updating from 4.0.2 to 4.0.82, in debug mode the pretty printing of
std::wstring stopped to work, my custom enums are printed correctly, booleans
and integers to.
Also I've updated from Kubuntu 10.04 to 10.10.


Reproducible: Always

Steps to Reproduce:
Stop in debug and try to watch a variable of type std::wstring.


Actual Results:  
{_M_dataplus = {<std::allocator<wchar_t>> =
{<__gnu_cxx::new_allocator<wchar_t>> = {<No data fields>}, <No data fields>},
_M_p = 0x80da314 L"id"}}

Expected Results:  
strings are displayed as text

I use a custom declaration:
typedef std::wstring string;
and declare all variables using this typedef.
It worked on 4.0.2

KDevelop stdout:

Connecting to deprecated signal
QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kdevelop(3455)/kdecore (KLibrary) findLibraryInternal: plugins should not have
a 'lib' prefix: "libkonsolepart.so"
QSqlDatabasePrivate::removeDatabase: connection 'GetNamespaceName-143736896-17'
is still in use, all queries will cease to work.
QSqlDatabasePrivate::removeDatabase: connection 'GetNamespaceName-143736896-19'
is still in use, all queries will cease to work.
QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such
file or directory
QFileSystemWatcher: failed to add paths: /home/kibork/.config/ibus/bus
Bus::open: Can not get ibus-daemon's address. 
IBusInputContext::createInputContext: no connection to ibus-daemon 
kdevelop(3455)/kdecore (services) KMimeTypeFactory::parseMagic: Now parsing 
"/usr/local/share/mime/magic"
kdevelop(3455)/kdecore (services) KMimeTypeFactory::parseMagic: Now parsing 
"/usr/share/mime/magic"
kdevelop(3455)/kdecore (services) KMimeTypeFactory::parseMagic: Now parsing 
"/home/kibork/.local/share/mime/magic"
execute composite (GDBDebugger::DebugJob(0x9eae978, name = "New Native
Application Configuration") )  
Object::disconnect: Unexpected null parameter



GDB version is default:

ackage: gdb
Priority: optional
Section: devel
Installed-Size: 4076
Maintainer: Ubuntu Core developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Daniel Jacobowitz <dan@debian.org>
Architecture: i386
Version: 7.2-1ubuntu2
Depends: libc6 (>= 2.11), libexpat1 (>= 1.95.8), libncurses5 (>= 5.7+20100313),
libpython2.6 (>= 2.6), libreadline6 (>= 6.0), zlib1g (>= 1:1.1.4)
Suggests: gdb-doc, gdbserver
Filename: pool/main/g/gdb/gdb_7.2-1ubuntu2_i386.deb
Size: 1922368
MD5sum: e5e8ffeb711554f92467ff20a4f9beeb
SHA1: 33529f463053214bfd1d7b6b08936996029c828a
SHA256: 283efb2f6357b5be354621cad16ac141428150055dee0fe13f6b4b34344526ef

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

_______________________________________________
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