Improved debug info for crashing agent