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

List:       kde-devel
Subject:    Re: a real basic q: is "string" examine possible?
From:       "Jacob R Rideout" <kde () jacobrideout ! net>
Date:       2007-01-02 23:30:12
Message-ID: d37f1a780701021530p7b300460ge2dc6363a9a79ed6 () mail ! gmail ! com
[Download RAW message or body]

QDevelop allow you to view the contents of a QString when you debug.
Perhaps, Kdevelop could use the same method?

http://qdevelop.org/

Jacob

On 1/2/07, David Johnson <david@usermode.org> wrote:
> On Tuesday 02 January 2007 14:55, craig harris wrote:
> > HI All.,
> >
> > Is it possible to examine the contents of strings in Kdevelop?
> > For instance if I have a QString and want to examine it's data while
> > at a break point, is there a way to do it? Thanks
> > -Craig
>
> Yes there is. But you're going to run into two problems. The first
> is because of implicit sharing (copy on write). The other is because the
> data is in unicode (qt4), not the standard ascii char* people are used
> to.
>
> There is a tip floating about on the web on how to examine a QStrings
> contents in gdb. I can't find it right now, but I remember seeing it.
> It's complicated enough that I usually make do with qDebug().
>
> --
> David Johnson <david@usermode.org>
>
> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
>
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

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