Application crash detection method and device, storage medium and mobile terminal
A technology of application program and detection method, applied in the direction of response error generation, error detection/correction, software testing/debugging, etc., can solve the problem that the type of application crash cannot be determined.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0082] figure 1 It is a flow chart of the application program crash detection method provided in Embodiment 1 of the present invention. This embodiment is applicable to the case of mobile terminal application program crashes, and the method can be executed by the application program crash detection device provided in the embodiment of the present invention. , the device can be implemented by software and / or hardware, and can be integrated into the mobile terminal.
[0083] Such as figure 1 As shown, the detection method of the crash of the application includes:
[0084] S110, when it is detected that a crash occurs in the running of the application program, acquire the attribute parameter of the crash.
[0085] Among them, the crash of the application program may be caused by various reasons. For example, during the startup process of the application program or during the running process, some functions of the application program enter an infinite loop due to some errors in ...
Embodiment 2
[0094] figure 2 It is a flow chart of the application program crash detection method provided by Embodiment 2 of the present invention. This embodiment is further optimized on the basis of the foregoing embodiments.
[0095] Such as figure 2 As shown, the detection method of the crash of the application includes:
[0096] S210. Acquire attribute parameters of the crash when it is detected that the application program crashes.
[0097] S220. Identify and determine according to the attribute parameter that the crash type of this crash is startup crash or running crash; and execute S230 or execute S240.
[0098] S230. When it is determined that a startup crash occurs, record the number of occurrences of the startup crash.
[0099] Specifically, it is possible to read a local log or file that records the number of startup crashes, add 1 to the existing number of startup crashes, use it as a new number of startup crashes, and store it. The advantage of this setting is that i...
Embodiment 3
[0106] image 3 It is a flow chart of the method for detecting application program crash provided by Embodiment 3 of the present invention. This embodiment is further optimized on the basis of the foregoing embodiments.
[0107] Such as image 3 As shown, the detection method of the crash of the application includes:
[0108] S310. Acquire attribute parameters of the crash when it is detected that the running of the application program crashes.
[0109] S320. According to the attribute parameter identification, determine that the crash type of this crash is startup crash or running crash; and execute S330 or execute S340.
[0110] S330. When it is determined that a startup crash occurs, record the number of occurrences of the startup crash; and execute S350.
[0111] S340. When it is determined that a running crash occurs, clear the record of the number of startup crashes.
[0112] S350. Determine a repair level for automatically repairing the application program accordin...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


