Providing a watchdog timer to enable collection of crash data
First Claim
Patent Images
1. A computer-implemented method comprising:
- after a native application begins a particular operation, initiating a request to receive an indication in response to the particular operation being completed;
periodically sampling application state data unless or until the indication is received;
determining an amount of time that the operation system is to allow for the particular operation to be performed by the native application before the operating system designates the native application has having crashed based on stored sampled application state data in crash data; and
after the determined amount of time that an operating system is to allow for the particular operation to be performed by the native application before the operating system designates the native application as having crashed has elapsed, storing at least a portion of the sampled application state data as the crash data, then terminating the native application.
3 Assignments
0 Petitions
Accused Products
Abstract
A system and method for providing a watchdog timer to enable collection of crash data is provided. Upon execution of certain operations, a source thread of an application initiates a watchdog thread that periodically sample state of data relating to the application. Should the operation not complete within a watchdog timeout period, the watchdog thread invokes a crash function to collect additional state data. At least a portion of the state data is stored for later analysis and debugging.
-
Citations
17 Claims
-
1. A computer-implemented method comprising:
-
after a native application begins a particular operation, initiating a request to receive an indication in response to the particular operation being completed; periodically sampling application state data unless or until the indication is received; determining an amount of time that the operation system is to allow for the particular operation to be performed by the native application before the operating system designates the native application has having crashed based on stored sampled application state data in crash data; and after the determined amount of time that an operating system is to allow for the particular operation to be performed by the native application before the operating system designates the native application as having crashed has elapsed, storing at least a portion of the sampled application state data as the crash data, then terminating the native application. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A system comprising:
-
one or more computers and one or more storage devices storing instructions that are operable, when executed by the one or more computers, to cause the one or more computers to perform operations comprising; after a native application begins a particular operation, initiating a request to receive an indication in response to the particular operation being completed; periodically sampling application state data unless or until the indication is received; determining an amount of time that the operation system is to allow for the particular operation to be performed by the native application before the operating system designates the native application has having crashed based on stored sampled application state data in crash data; and after the determined amount of time that an operating system is to allow for the particular operation to be performed by the native application before the operating system designates the native application as having crashed has elapsed, storing at least a portion of the sampled application state data as the crash data, then terminating the native application. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A non-transitory computer-readable medium storing software comprising instructions executable by one or more computers which, upon such execution, cause the one or more computers to perform operations comprising:
-
after a native application begins a particular operation, initiating a request to receive an indication in response to the particular operation being completed; periodically sampling application state data unless or until the indication is received; determining an amount of time that the operation system is to allow for the particular operation to be performed by the native application before the operating system designates the native application has having crashed based on stored sampled application state data in crash data; and after the determined amount of time that an operating system is to allow for the particular operation to be performed by the native application before the operating system designates the native application as having crashed has elapsed, storing at least a portion of the sampled application state data as the crash data, then terminating the native application. - View Dependent Claims (14, 15, 16, 17)
-
Specification