If you are trying to debug an application within Qt Creator under Linux (specifically under Ubuntu) it is very likely you have GDB installed without support for Python scripting. i.e. package gdb-minimal).
From Synaptic Package Manager just select package gdb which in turn will automatically uninstall gdb-minimal and will add packages libpython3.4 and libc6-dbg. Once installation is complete, debug sessions in Qt Creator will work like a charm. Happy debugging!
Friday, June 13, 2014
The selected build of GDB does not support Python scripting.It cannot be used in Qt Creator.
Labels:
GDB,
Python,
Qt,
Qt Creator,
scripting
Subscribe to:
Post Comments (Atom)
Isn't "libc6-dgb" instead of "libc6-dgb"?
ReplyDeleteGood catch. Although you typed the same as me! Anyway, fixed. Thank you.
ReplyDeleteHahaha yeah, only now I noticed! xD
ReplyDeleteAnyway, you're welcome! :)