Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Halt/Breakpoint handling #60

Closed
perlindgren opened this issue Jul 31, 2023 · 1 comment
Closed

Halt/Breakpoint handling #60

perlindgren opened this issue Jul 31, 2023 · 1 comment
Assignees

Comments

@perlindgren
Copy link
Owner

perlindgren commented Jul 31, 2023

Problem

We would want simulation to run in different modes, stepping (back and forth) and free-running until some Halt/Break condition is encountered. Now the basic support for clock return is implemented, so we can now think about how free-run until halt should be implemented.

Solution

Add a state to the simulator (indicating the status running : bool).

When a component returns with a Halt or Error then the state should be set to false. This state variable can be altered by the gui. We could either have a new run function in the Simulator, that calls clock or have clock itself be repetitive, either should work.

@perlindgren perlindgren self-assigned this Jul 31, 2023
@onsdagens
Copy link
Collaborator

Addressed in #78

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

No branches or pull requests

2 participants