Skip to content

Conversation

@nuive
Copy link
Contributor

@nuive nuive commented Sep 29, 2025

Single step functions would run an instruction even if CPU was halted or blocked. This disrupted the order of events as well as synchronization between the different components. SIO even caused emulator crashes randomly.

@endrift
Copy link
Member

endrift commented Oct 30, 2025

Unfortunately, making single stepping always do something was an intentional semantic design choice. It is assumed that something will happen if you call step. I assume there are some callsites that still try to call step when the core is halted due to external concerns. I would try to root out where and why, and how to prevent that.

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