I don't know why I didn't think of this before, I can't read some values onscreen during debugging because the system resets too fast. so I just record a video of the boot with my phone and then skip through it frame by frame to catch the error message one frame before it crashes and resets