Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Halt simulation on assertion failure? #8

Open
dgryski opened this issue Jun 12, 2016 · 5 comments
Open

Halt simulation on assertion failure? #8

dgryski opened this issue Jun 12, 2016 · 5 comments

Comments

@dgryski
Copy link

dgryski commented Jun 12, 2016

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.

@ongardie-sfdc
Copy link
Collaborator

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

@dgryski
Copy link
Author

dgryski commented Jun 13, 2016

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

@ongardie-sfdc
Copy link
Collaborator

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

@dgryski
Copy link
Author

dgryski commented Jun 13, 2016

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.

@ongardie-sfdc
Copy link
Collaborator

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants