Why:"You cannot compile a program unit while [...] test windows are still executing"?

Claus Pedersen

Member³
What is the background for showing the above message when trying to compile when another window (for instance a test window) is active?

I am aware of the fact that the compilation can be locked if the test window is using the package, but this must after all be the responsibility of the user. When the test script is using one set of packages and the user wants to compile other packages he can not. I often have to open a new instance of PLD just to perform a compilation, and this should (in my opinion) not be necessary.
 
I believe Tools->Preferences->Window Types->Program Window->Allow compilation while running is what you are looking for?

Morten
 
Thank you, Morten, for your answer, but the problem is that is causes PLD to hang if you for instance interrupt a test program after having compiled or similar, this is maybe why this checkbox is present.
 
Back
Top