Print debugging info for assert for bug #1025