[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?

André Pönitz andre.poenitz at nokia.com
Fri Jul 2 17:00:57 CEST 2010


On Friday 02 July 2010 16:19:36 ext tech user wrote:
> 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.

Then the easiest way would be to get a python enabled gdb and
"fix" share/qtcreator/gdbmacros/dumper.py near the location where
it mentions gdb.TYPE_CODE_ARRAY.

Andre'



More information about the Qt-creator-old mailing list