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.