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 <[email protected]>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
> [email protected]
> http://lists.trolltech.com/mailman/listinfo/qt-creator
>
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to