1. A system comprising: a computer processor; a source thread of an application configured to initiate a predefined operation, wherein the predefined operation is associated with an operating system timeout period; a watchdog thread associated with the application and configured to execute on the computer processor to enable the computer processor to: periodically sample state information relating to the application; 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 predefined watchdog timeout period is less than the operation system timeout period; invoke a crash function in response to determining that the predefined watchdog timeout period is expired; and store at least a portion of the sampled state information.