[Qt-creator] QtCreator 2.0.0. Is there's a way to force display of char arrays as (const char*) in the IDE watch widget?
tech user
techsgin at gmail.com
Fri Jul 2 16:19:36 CEST 2010
Many thanks andre, but what we are looking for is a default behavior like
using gdbhelper or gdbmacros.
We are using c++ classes to represent a tables in the database where we can
have 300 fields of type char[], so manual behavior is not really an option.
Regards
TechSign
On Fri, Jul 2, 2010 at 2:28 PM, André Pönitz <andre.poenitz at nokia.com>wrote:
> On Thursday 01 July 2010 12:17:44 ext tech user wrote:
> > Hi all
> >
> > and thanks in advance.
> >
> > Is there's a way to force display of char arrays as (const char*) in the
> IDE watch widget?
>
> > Environment
> > Qt Creator Version: 2.0.0
> > OS: Red Hat (RHEL5)
> > GDB: gdb 7.0.1 (no python scripts enabled)
> >
> > background:
> > We are working heavily with char arrays.
> > i.e
> > char a[100];
>
> You could create a new "Watcher" item (context menu of Locals&Watchers)
> and add (char*)a there.
>
> Andre'
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20100702/aa8ad7b5/attachment.html
More information about the Qt-creator-old
mailing list