On Mon, Jul 13, 2009 at 5:03 PM, TheLonelyStar<[email protected]> wrote:

> I am trying to debug a pyQt application from ipython using pdb.
> I get lots of
>
> QCoreApplication::exec: The event loop is already running

If you are on Linux, you may want to explore PuDB (
http://pypi.python.org/pypi/pudb ). It has the huge advantage of not
using readline.

Another thing to google for is pyqtRemoveInputHook.

One thing to try is *not* doing QCoreApplication::exec (just remove
exec_ from your program). readline spins the mainloop in itself
(PyOS_InputHook), so your events get handled.

-- 
Ville M. Vainio
http://tinyurl.com/vainio
_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to