Method and system for positioning fault of application program in Mac OS system
An application and fault location technology, applied in the fields of instruments, electrical digital data processing, computing, etc., can solve the problem that application faults cannot be accurately located, and achieve the effect of improving user experience, comprehensive functionality, and improving effect.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0055] Such as figure 1 As shown, it is a schematic flowchart of the method for locating application program faults in the Mac OS system described in this embodiment. In this embodiment, the location log information of an application error is intercepted in the Mac OS system, and sent to the application developer so as to locate the error and analyze solutions to the application error. The steps of the method for application fault location in the Mac OS system described in this embodiment are as follows:
[0056] Step 101, setting that when the application program in the Mac OS system detects the fault log information, use message redirection to intercept the fault log information, and save the fault log information into the MacOS system according to a predetermined saving path The application is in a local sandbox.
[0057] The method of message redirection (Method swizzling) refers to changing the implementation process corresponding to an existing data selector. Accordin...
Embodiment 2
[0072] Such as figure 2 As shown, it is a schematic flowchart of the method for locating application program faults in the Mac OS system described in this embodiment. On the basis of Embodiment 1, this embodiment describes the location of adding logs in the application program on the Mac OS system and the specific content of updating the date. The method for application fault location in the Mac OS system described in this embodiment includes the following steps:
[0073] Step 201, install an application program on the Mac OS system, add a log to a predetermined location of the application program, record the running status of the application program through the log, and save the log to a local sandbox. The running state includes: the running state of the application program running normally, the application program crashing, the application program freezing, the application program playing abnormally, and the running time and running position corresponding to these running ...
Embodiment 3
[0084] Such as image 3 As shown, it is a schematic flow chart of a specific embodiment of the method for locating application program faults in the Mac OS system of the present invention. The method described in this embodiment includes the following steps:
[0085] Step 301, install the application on the Mac OS system, add a log to a predetermined location of the application, record the running status of the application through the log, and save the log to a local sandbox.
[0086] Step 302, on the Mac OS system, set the size of the log to be no more than 2M, sort the logs stored locally according to time, and obtain 5 logs from the back to the front according to the sorting order and save them locally. And delete more than one log; when there are no more than five logs, save the current log locally.
[0087] Step 303, detecting the running state of the application program, and judging whether the application program fails. The faults include: application program crashes,...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com