runway-browser icon indicating copy to clipboard operation
runway-browser copied to clipboard

Halt simulation on assertion failure?

Open dgryski opened this issue 9 years ago • 5 comments

When running a model it's annoying to have to stop the simulation by hand and try to drag the state back to where the failure occurred. A button that would halt the simulation immediately and allow exploring the current state would be easier. This also matches the behavior of the command line simulator.

dgryski avatar Jun 12 '16 00:06 dgryski

Should we just halt all simulations upon an error? Then if the user clicks Simulate again, push forward?

ongardie-sfdc avatar Jun 13 '16 20:06 ongardie-sfdc

Perhaps buttons with "Run" and "Run until Error"? Or a checkbox that says "Halt on error" (default to on? off?)

dgryski avatar Jun 13 '16 20:06 dgryski

What's the use case for wanting to run past the error?

ongardie-sfdc avatar Jun 13 '16 20:06 ongardie-sfdc

No idea, was just trying to preserve somehow the current behaviour :) If the current behaviour is unwanted, then yeah we don't need any of that.

dgryski avatar Jun 13 '16 20:06 dgryski

Yeah, I don't think there's a reason for the current behavior. That's true for much of the UI :)

ongardie-sfdc avatar Jun 13 '16 22:06 ongardie-sfdc