Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and system for automatically reproducing and positioning software error

A software error and automatic technology, applied in software testing/debugging and other directions, can solve the problems of increasing the difficulty of analyzing and locating the cause of the fault, low analysis efficiency, and inability to perform automatic simulation, saving space, facilitating analysis, and reducing difficulty Effect

Inactive Publication Date: 2011-09-14
GUANGDONG VTRON TECH CO LTD
View PDF3 Cites 37 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Although this method is simple and easy, and can locate the cause of the fault and the defect of the program design, it has the following two disadvantages: First, a large amount of log information is often generated during the operation of the control software, which greatly increases the analysis and analysis time. It is difficult to locate the cause of the fault, and the analysis efficiency is often very low; second, if the designer cannot locate the cause of the fault and the defect of the program design according to the log information, it is often necessary to manually simulate the actual operation process according to the operation process recorded in the log. The operation process, and sometimes it is necessary to repeat the simulation many times, and the automatic simulation cannot be done

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for automatically reproducing and positioning software error
  • Method and system for automatically reproducing and positioning software error
  • Method and system for automatically reproducing and positioning software error

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] The present invention will be further described below in conjunction with the accompanying drawings.

[0043] Such as figure 1 Shown, the present invention a kind of method for automatically reproducing and locating software error;

[0044] A method for automatically reproducing and locating software errors, comprising the following steps:

[0045] 1. Define the XML node format describing mouse and keyboard operations and their operation objects;

[0046] 2. The control software writes the mouse and keyboard operations performed by the user and the objects operated by the user into the log file in real time according to the defined XML node format during the running process, forming an XML log file;

[0047] 3. According to the defined XML node format, restore the XML log file generated by the control software to the user's entire mouse and keyboard operation process and operation objects;

[0048] 4. Run the control software in debug mode;

[0049] 5. By simulating...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a method and system for automatically reproducing and positioning a software error. The method comprises the steps of: recording an input operation of a user and an operated object, defining and generating a log document; when software has an error, analyzing the log document, and reducing the input operation of the user and the operated object; and simulating the input operation of the user according to the reduced input operation of the user and the reduced operated object, reproducing the error and automatically reproducing and positioning the error and rapidly finding a design defect of the software.

Description

technical field [0001] The invention relates to the technical field of design software design and testing, in particular to a method and system for automatically reproducing and locating software errors. Background technique [0002] During the use or testing of control software, due to design defects or poor consideration, various faults often occur, and some faults are very difficult to reproduce or locate. Therefore, how to reproduce and locate the fault in a fast and simple way is very important for designers. [0003] At present, the most commonly used method is to use the method of analyzing log files. The principle is to add log output information to each operation point and possible failure point in the control software program, and record each step of the user's operation and corresponding data. When the control software fails, the designer analyzes the program step by step according to the log files recorded during the operation of the control software, and then f...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F11/36
Inventor 罗敬清康晓林
Owner GUANGDONG VTRON TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products