scream and die

v.

Syn. cough and die, but connotes that an error message was printed or displayed before the program crashed.