METHOD and APPARATUS FOR AUTOMATIC DEBUGGING AND ERROR PREVENTION

2013 
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.
    • Correction
    • Source
    • Cite
    • Save
    • Machine Reading By IdeaReader
    0
    References
    0
    Citations
    NaN
    KQI
    []