Debugging for crashing

Adding some debugging for crashing for Fox.