Formatting the debug string