[SDK] Reset InDbgPrint state when an exception occurs