This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Created attachment 109119 [details] screenshot #include <QtCore/QCoreApplication> int main(int argc, char *argv[]) { int i; QString s("Test"); s = QString::fromLocal8Bit("Привет"); i = 5; i = i + 3; s = QString::fromLocal8Bit("Привет"); } gdb script define print_qstring printf "(QString)0x%x (length=%i): \"",&$arg0,$arg0.d->size set $i=0 while $i < $arg0.d->size set $c=$arg0.d->data[$i++] printf "%c", (char)$c end printf "\"\n" end Output to debuger console: No command for record ^done
As you typed the command for printing s in the console GDB answered to the command. Having received the answer IDE was unable to detect an outgoing command. This is expected behaviour.