Hi Detlef,
while trying to single step through eric3 itself, i got this message:
The file
/usr/src/packages/BUILD/eric-3.0.0a2/eric/eric/Project.py
could not be opened
triggered from Editor.py.
This path contains one 'eric/' to much, and depends on the path,
eric3 is started from. In this case:
/usr/src/packages/BUILD/eric-3.0.0a2/eric
-> open project eric.pro
If started from:
/usr/src/packages/BUILD/eric-3.0.0a2
-> open project eric/eric.pro
it can be single stepped just fine, apart from the splash covering
the screen. To circumvent this, I suggest applying something like
the attached diff ;-)
BTW: what about remembering the debugger command lines in project file?
Hans-Peter
--- /usr/lib/python/site-packages/eric3/eric3.py 2002-11-24 19:47:11.000000000 +0100
+++ eric/eric3.py 2002-11-30 16:31:50.000000000 +0100
@@ -53,12 +53,16 @@
ericDir = os.path.dirname(sys.argv[0])
if ericDir == '':
ericDir = '.'
app = QApplication(sys.argv)
- # generate and show a splash window
- splash = showSplash()
+ # generate and show a splash window, if not suppressed
+ if "--nosplash" in sys.argv:
+ del sys.argv[sys.argv.index("--nosplash")]
+ splash = None
+ else:
+ splash = showSplash()
# We can only import these after creating the QApplication because they
# make Qt calls that need the QApplication to exist.
from UserInterface import UserInterface
@@ -102,9 +106,10 @@
mw = UserInterface()
app.setMainWidget(mw)
mw.show()
- del splash
+ if splash:
+ del splash
app.exec_loop()