On Oct 17, 5:24 am, "Edward K. Ream" <[EMAIL PROTECTED]> wrote:
> 3. At present, calling g.pdb() when Qt is running results in an
> unending cascade of errors saying the main loop already running.
Googling turned up the answer: g.pdb must call
QtCore.pyqtRemoveInputHook().
The following now appears in the module-level init function in
qtGui.py::
# Override g.pdb
def qtPdb():
import pdb
QtCore.pyqtRemoveInputHook()
pdb.set_trace()
g.pdb = qtPdb
This is at rev 1305.
Edward
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---