Problem with GDB.
-
Hi,
I have a little problem with debugging on Archlinux 64bit. Some info:
- I have installed Qt SDK
- Qt Creator 2.3.x
- GDB 7.3.x
- GCC 64Bit tool chain
My problem is that I don't see some object values for example QFile or QDir. Here are screen shot with simple code and my problem: "Screenshot":http://wstaw.org/m/2011/11/16/2011-11-16-185607_1680x1050_scrot.png - look at "file" value.
How I can fix that problem? It's really annoying :/
Best regards,
Kermit. -
gdb 7.3 was not even released when Qt Creator 2.3 was... so it is obviously not supported. It might work, I don't know. Try the Qt Creator 2.4 rc, maybe that will work better?
Update: Qt Creator 2.3 was tested with a pre-release of gdb 7.3 and is supposed to work with it.
-
I have downgraded it to GDB 7.2 and problem still exists. Do you use Qt Creator on Linux with GDB? All is working for you? Maybe it's distro problem?
Kermit.
-
It works for me here (Ubuntu 10.10, 32 bit).
Are you sure your gdb is compiled with Python scripting enabled?
I think the best way to handle this is on bugreports.qt.nokia.com. Make sure to attach the Debugger Log (contents of right pane of Windows->Views->Debugger Log).
-
Yes, it uses Python 2.7.2.
@[kermit@kermit ~]$ gdb
GNU gdb (GDB) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/.
(gdb) python print "Test"
Test
(gdb) @"Debugger log":https://gist.github.com/1373481
Kermit.