Author Topic: Stopping a script  (Read 180 times)

PeteEA

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Stopping a script
« on: May 20, 2020, 08:31:35 pm »
How can a running script be stopped?
I've got a bug that caused a never ending loop but could not find a way to stop the script - I just closed EA but thought there must be a better way (I wasn't running in the debugger).

Uffe

  • EA Practitioner
  • ***
  • Posts: 1815
  • Karma: +122/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: Stopping a script
« Reply #1 on: May 20, 2020, 08:41:21 pm »
Hi Pete,


You can stop the script by highlighting it in the Scripting window (or opening it in the editor) and hitting the Stop button.
It's not just for debug runs, but it's disabled if the script isn't running.

You can sometimes end up with scripts running that can't be stopped -- EA's job control isn't really up to scratch -- but scripts located in your project or the installation should usually be stoppable.


/Uffe
My theories are always correct, just apply them to the right reality.