[PyQt] Re: QTimer.singleShot
Nate Reid
nreid at imagemoversdigital.com
Thu Oct 15 22:52:24 BST 2009
Jason H <scorp1us <at> yahoo.com> writes:
>
> def start(self):
> pdb.set_trace()
You need to call pyqtRemoveInputHook() before using pdb to get rid of
that message.
e.g.
def start(self):
QtCore.pyqtRemoveInputHook(); pdb.set_trace()
When you're done debugging, use QtCore.pyqtRestoreInputHook()
>
> if __name__ == "__main__":
>
> app = QtGui.QApplication(sys.argv)
> mw = MainWindow()
> mw.show()
> sys.exit(app.exec_())
>
> And with that, how are we supposed to use the debugger?
>
More information about the PyQt
mailing list