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

Fixed build issue in tester, added set_step_callback to Python bindings. #4

Closed
wants to merge 1 commit into from

Conversation

andrastantos
Copy link

Hello!

Thanks for this great project!

I intend to use your simulator as a reference implementation to compare it to my work, but in order to do so, I needed to add a new Python callback option to hook on_step.

Would you mind merging the change into your own repo?

Thanks,
Andras

@kosarev
Copy link
Owner

kosarev commented Oct 31, 2020

@andrastantos Hi Andras. Thanks for using this. Do I take it right that your aim is merely to stop on every executed instruction and examine the state? If so, we might prefer to do this via events so run() could just return control on every step.

@kosarev
Copy link
Owner

kosarev commented Nov 11, 2020

@andrastantos Hi Andras, please let me know if just marking all addresses as breakpoints would work for you. I'm trying to grasp the real use case after this patch. There may be a better approach.

@andrastantos
Copy link
Author

andrastantos commented Nov 12, 2020 via email

@kosarev
Copy link
Owner

kosarev commented Nov 14, 2020

@andrastantos Hi Andras, 2cd8d75 makes it possible to limit the number of ticks to run. It also provides some simple single-stepping example. Would love to know if it works for your case. Thanks.

@kosarev
Copy link
Owner

kosarev commented Jan 30, 2021

All the requests related to this are now addressed elsewhere. Closing this. Thanks.

@kosarev kosarev closed this Jan 30, 2021
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

Successfully merging this pull request may close these issues.

2 participants