Customization > Extensibility Through Profiles, Stereotypes, Tag Definitions and Scripts > Advanced extensibility through stereotype scripts and script items > Troubleshooting > Modeler hangs when I run my script
  
Modeler hangs when I run my script
If Modeler hangs when you run your script, the script probably contains an endless loop.
Review your code for endless loops and resolve as necessary.
For more information, see How Do I Debug My Scripts?.