#53 No primary script definition

v1.0 (example)
open
nobody
5
2003-08-26
2003-08-26
Anonymous
No

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.

Problem Description
-------------------
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).

Solution
---------
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
pressed.

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks