Can I start a script from a failed line (after fix)? --- not with SikuliX IDE

Asked by Gary Paschke on 2017-12-20

Script in SikuliX fails at say line 100. I fix line 100, now I want to start at line 100 (not at line 1). How?

Question information

Language:
English Edit question
Status:
Solved
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
2017-12-20
Last query:
2017-12-20
Last reply:
2017-12-20
Best RaiMan (raimund-hocke) said : #1

Sorry, not possible with Sikuli IDE (... and will never be).

To get something like a debugging feature you have to use mature IDE's like PyCharm, IntelliJ IDEA or Eclipse PyDev.

If that is an acceptable workaround:
insert a line before line 1
"""
and the same line before the line you want to start with

... this will block-comment the script part between the """

... and rerun the script.

Gary Paschke (garypaschke) said : #2

OK