When several script windows are open you must ensure
that the 'main' one is active before attempting to run
(F9) the project. If this is not the case then it is
possible to 'run' the wrong script.
Execute a multi-script program and stop at a breakpoint.
There will be several script windows and one (wherever
the break point is) will be active.
Cancel the execution by pressing Strg+Alt+F12. The
last script that was 'active' (wherever the breakpoint
was) will be left 'active'
Sometimes the IDE will report that perl5db.pl has
changed and must be reloaded. This causes that script
to be re-loaded and made active.
Press 'F9' to run again. This attempts to run the 'active'
script and usually fails (sometimes locking up the IDE if
it was perl5db.pl).
Add the name of the 'main' script (containing the start
point) to the project definition.
Adjust the IDE so that if no script is running or you are
not debugging it always starts the 'main' script if F9 is
Log in to post a comment.