Ellabit icon indicating copy to clipboard operation
Ellabit copied to clipboard

User creates code that produces an infinite loop

Open kevmoens opened this issue 3 years ago • 6 comments

When a user creates code that produces an infinite loop the app crashes or hangs forever.
Find a way to handle this gracefully. Could use SyntaxTree to put counters in loops and we could check for the count to see if we can throw an error.

kevmoens avatar Oct 20 '22 02:10 kevmoens

You could execute the user code with a time limit, I think it will be simpler

wolf-361 avatar Oct 22 '22 17:10 wolf-361

Give it a shot.

kevmoens avatar Oct 22 '22 17:10 kevmoens

is this issue still up for grabs?

DerrickSims avatar Dec 13 '22 02:12 DerrickSims

YesSent from my iPhoneOn Dec 12, 2022, at 8:54 PM, DerrickSims @.***> wrote: is this issue still up for grabs?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

kevmoens avatar Dec 13 '22 03:12 kevmoens

alright then, I'll be working on it this week to try and come up with a solution

DerrickSims avatar Dec 13 '22 03:12 DerrickSims

Awesome I’m excited to see your solution.Sent from my iPhoneOn Dec 12, 2022, at 9:15 PM, DerrickSims @.***> wrote: alright then, I'll be working on it this week to try and come up with a solution

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

kevmoens avatar Dec 13 '22 03:12 kevmoens