Skip to content

Tell user which block was executing when a crash occurs #375

@lizlooney

Description

@lizlooney

In FTC SDK, if you run a Blocks OpMode and it crashes, we report which block was executing (or which block had just finished executing) when the crash occurred. We need to do this for Systemcore Blocks.

Notes:
Probably the way to do this is to generate some python code at the beginning and end of each block that saves and clears some information. Then when the crash is handled, the handler will read that information.
If possible, we should only generate the extra code when we are deploying, not when saving the modules and definitely not for the python code that is shown next to the blocks editor.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions