Skip to content

Conversation

@tehsmeely
Copy link
Contributor

Not enabled in release

Attempt, on panic, to write the PanicInfo to a local file called panic.txt
Panics previously would presumably be written to the simulator console but lost forever

Part of adding this i discovered the real final panic was due to abort_with_addr complaining about using a non 0x04 aligned address.
Further to this i'm not really sure what abort_with_addr is meant to do, but it doesn't hurt ...

…ith an 0x04 address on windows - deadbeef seems to make things sad
@jder
Copy link

jder commented Feb 10, 2025

FYI I recently realized in my fork that using System::error instead of System::log_to_console nicely causes the simulator stop and show the error rather than close.

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