Friday, June 13, 2014

The selected build of GDB does not support Python scripting.It cannot be used in Qt Creator.

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!

3 comments:

  1. Isn't "libc6-dgb" instead of "libc6-dgb"?

    ReplyDelete
  2. Good catch. Although you typed the same as me! Anyway, fixed. Thank you.

    ReplyDelete
  3. Hahaha yeah, only now I noticed! xD

    Anyway, you're welcome! :)

    ReplyDelete