Method, apparatus and computer readable medium for automatic debugging and error prevention
Abstract
A method, an apparatus and a computer readable medium for debugging and error prevention are provided. In the method, a plurality of debug messages produced by the electronic apparatus in executing debugging is obtained. The debug messages are analyzed to find a plurality of operation procedures associated with each other and having a number of repeated occurrences reaching a threshold according to data of each debug message when at least one error message appears in the debug messages and accordingly conclude at least one error procedure rule. Then, each debug message obtained afterwards is compared with the operation procedures in each error procedure rule sequentially, so as to determine whether a completion percentage of the operation procedures in each error procedure rule reaches a preset percentage. When the completion percentage reaches the preset percentage, a preventive operation of the operation procedure corresponding to the current debug message is executed.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for automatic debugging and error prevention, adapted to an electronic apparatus, comprising: obtaining a plurality of debug messages produced by the electronic apparatus in executing debugging; analyzing the debug messages to find a plurality of operation procedures associated with each other and having a number of repeated occurrences reaching a first threshold according to data of each debug message when at least one error message appears in the debug messages, and accordingly concluding at least one error procedure rule; sequentially comparing each debug message obtained afterward
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 10,585,780 B2 | Enhancing software development using bug data | 2020 | 18 |
| US 10,754,640 B2 | Engineering system robustness using bug data | 2020 | 4 |
References Cited — Backward Prior Art (5)
Non-Patent Literature (3)
- "Office Action of Taiwan Counterpart Application" , issued on Jul. 21, 2015, p. 1-p. 9.
- Reis et al., Software-Controlled Fault Tolerance, ACM Transactions on Architecture and Code Optimization (TACO), vol. 2, Issue 4, Dec. 2005, pp. 366-396.
- Xu et al., Fault Tolerance in Concurrent object-oriented software through coordinated error recovery, Published in Twenty-Fifth Internation Symposium on Fault-Tolerant Computing, Jun. 27-30, 1995, pp. 499-508.