[Qt-creator] Debugging Python Extensions in QtCreator
Campbell Barton
ideasman42 at gmail.com
Tue May 20 02:56:44 CEST 2014
Recently I was writing a CPython module, in QtCreator and wasn't able
to debug it.
Note that I would imagine this applies to any C-Extension, where you
don't directly execute the resulting library.
The issue I ran into, is QtCreator wont allow the debugger to start
because it can tell there are no debug symbols in `/usr/bin/python`.
However when using gdb I was able to run python and add breakpoints
into my C extension without any troubles.
Is this a known issue or is there some way to tell QtCreator to ignore
if the binary has no debug syms?
Note:
(building a debug Python is also an option) but I ended up just using
gdb directly.
Tested this with Linux.
--
- Campbell
More information about the Qt-creator
mailing list