format debug info