Answered
How to avoid causing InDesign to freeze when running scripts?
Hello everyone.
When I was testing the script, if, while, or for would cause an infinite loop, and InDesign would freeze.
I had to forcefully close InDesign and reopen it.
It seems that try{}catch cannot solve this problem either.
Thanks.


