Upon bailout track the stack and store a code indicating why we bailed out.
Optionally trace the call stack as well.