[Qt-creator] Locals & Watches doesn't show function arguments.
André Pönitz
andre.poenitz at nokia.com
Tue Jan 5 11:50:22 CET 2010
On Tuesday 05 January 2010 11:22:17 ext paulo wrote:
> yáp,
>
> you sure know what you're talking about.
> That really fixed it.
> Now locals show again, and I can even set watchers.
Good.
> Now, how did you know it was that?
I did not know, I had to guess as you did not attach the log. If you had
attached it I would have known... ;-}
[Guessing is always a bit inefficient as it usually involves extra
communication, both if the guess is wrong and if it is right.]
> The problem is not new?
Indeed. Both gdb 7.0 and 7.0.1 are not supported. That's not new. Supported are
stock 6.8 builds and binaries downloaded from ftp://ftp.qt.nokia.com/misc/gdb/
7.0 has a nasty bug making it crash, but that was fixed in 7.0.1
(http://sourceware.org/bugzilla/show_bug.cgi?id=10884).
However, both 7.0 and 7.0.1 do not implement gdb.parse_and_eval which we
use heavily in Creator. This can be worked around for some cases by using
gdb.execute, but only if that gdb.execute does not fail. It does so, however,
for out-of-scope watchers without giving us the opportunity to recover
(http://sourceware.org/bugzilla/show_bug.cgi?id=11135).
Regards,
Andre'
More information about the Qt-creator-old
mailing list