You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reason for this is almost always just me being dumb - but it happens (more often that I'd like to admit) that I forget to include a base-case in my recursive functions, and end up executing code equivalent to this:
(defn rec () (rec))
(rec)
This hangs ronin, and I have to force-shut it, losing whatever progress I made since last save.
This is also an issue when I run a function that takes much longer to execute than I expect (too big limits, poor algorithms, etc).
Maybe this could be fixed by implementing some kind of "halt execution" keyboard shortcut?
Of course this has an obvious workaround (save often, kill and restart Ronin whenever this happens), so it's not an issue that's critical to me - but it would be much nicer to just stop execution.
The text was updated successfully, but these errors were encountered:
The reason for this is almost always just me being dumb - but it happens (more often that I'd like to admit) that I forget to include a base-case in my recursive functions, and end up executing code equivalent to this:
This hangs ronin, and I have to force-shut it, losing whatever progress I made since last save.
This is also an issue when I run a function that takes much longer to execute than I expect (too big limits, poor algorithms, etc).
Maybe this could be fixed by implementing some kind of "halt execution" keyboard shortcut?
Of course this has an obvious workaround (save often, kill and restart Ronin whenever this happens), so it's not an issue that's critical to me - but it would be much nicer to just stop execution.
The text was updated successfully, but these errors were encountered: