1. A system comprising: a memory storing an application and a crash data structure; a computer processor executing the application having a source thread and a watchdog thread, wherein the source thread initiates a predefined operation having an operating system timeout period, and wherein the watchdog thread enables the computer processor to: determine, prior to completion of the predefined operation and prior to expiration of the operating system timeout period, that a predefined watchdog timeout period is expired, wherein the watchdog timeout period is less than the operation system timeout period; invoke a crash function to collect state information relating to the application in response to determining that the predefined watchdog timeout period is expired; and store the state information in a crash data structure.