ΑΝΤΩΝΗΣ ΜΠΟΥΝΤΟΥΒΑΣ wrote:
Hi,
i have this code, (using Eric4, latest snapshot):

import sys
from PyQt4 import QtGui, QtCore

#app = QtGui.QApplication(sys.argv)

workspace = QtGui.QWorkspace()
workspace.setWindowTitle("example")

for i in range(5):
    textEdit = QtGui.QTextEdit()
    textEdit.setPlainText("PyQt4 " * 100)
    textEdit.setWindowTitle("Document %i" % i)
    workspace.addWindow(textEdit)

workspace.cascade()
workspace.show()

sys.exit(app.exec_())
-----------------------------------------

I have intensionally comment  the line "app = QtGui.QApplication(sys.argv)" so 
to trigger an error.
I hit F5 (debug project), I have open the Log viewer and the shell but the 
error does not displayed anywhere.
I run the same snippet in Eclipse and i get "QWidget: Must construct a QApplication 
before a QPaintDevice"

So, how i can see in Eric4 errors like the mentioned one ??

Thanks!

At least I get a message box saying:
"The programm being debugged has terminated unexpectedly"

Debug Client Type = Standard

Jürgen





_______________________________________________
Eric mailing list
[email protected]
http://www.riverbankcomputing.com/mailman/listinfo/eric
  • [Eric] Error log. ΑΝΤΩΝΗΣ ΜΠΟΥΝΤΟΥΒΑΣ
    • Re: [Eric] Error log. Juergen Urner

Reply via email to