Debug exception handling process