Terminating an infinite loop in Debug mode?
Cayman Studios
Posts: 1,135
Is there a way to terminate a script which is in an infinite loop in Debug mode? "Interrupt" just pauses it, and "Step Out" seems to let it continue. The rather messy solution, currently, is to end the process using Task Manager.
Comments
From what I can tell, I'm seeing the same thing as you, which is rather unfortunate.
I noticed that if you interrupt the script and close the IDE pane you can operate DAZ Studio to do any clean-up before restarting. I'm not seeing any way to actually stop script execution though. =/
I'm not seeing a way out of debug mode, but typing .finish in the prompt box does appear to stop the script - possibly a bit more than pause though it's hard to tell. Perhaps worth a support tcket in case it's a bug.
Well, a "bug" to me suggests that something is not working as it should. This might be more like an omitted feature, perhaps by design - to discourage people from writing sloppy code!