Unlock instant, AI-driven research and patent intelligence for your innovation.

A software debugging method

A software debugging and software technology, applied in software testing/debugging, instrumentation, error detection/correction, etc., can solve problems such as destroying the software and hardware environment, re-downloading the code, etc., to achieve the effect of good debugging effect

Active Publication Date: 2022-03-08
SHENZHEN NETCOM ELECTRONICS CO LTD
View PDF12 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The technical problem to be solved by the embodiment of the present invention is that the software testing method in the prior art needs to re-download the code and may damage the software and hardware environment.

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
  • A software debugging method
  • A software debugging method
  • A software debugging method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0031] The software debugging method of the embodiment of the present invention is based on the Joint Test Action Group (JTAG), and can be used for debugging various software, such as system software (including operating system and support software, etc.), application software, firmware, etc. The embodiment of the present invention will be described in detail below by taking solid state disk firmware (SSD FW) as an example.

[0032] Such as figure 1 shown, please also refer to figure 2 , the software debugging method of the embodiment of the present invention comprises the following steps:

[0...

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 relates to the technical field of software testing and provides a software debugging method. The method includes: after the software runs, setting an abnormal flag bit and storing the abnormal flag bit; after the software runs again, judging whether the abnormal flag bit is valid; if the abnormal flag bit is valid, accessing the debugger will The abnormal flag bit is cleared, and the software is debugged. The embodiment of the present invention will not damage the software and hardware environment, and has a better debugging effect on bugs that require a certain intensity of debugging to reproduce.

Description

technical field [0001] The invention relates to the technical field of software testing, in particular to a software debugging method. Background technique [0002] During the test of software products such as Solid State Drives FirmWare (SSD FW), it is easy for FW to run away or artificially interrupt (Assert) the program. Running away or even destroying the data in the Nand flash memory (Nand Flash) will affect the test. [0003] The FW testing method in the prior art is: download the FW code first, and set several breakpoints in the FW code. During the test, run the FW code segmented according to the breakpoint. If the running result of this segment can realize the expected function, it is considered that there is no BUG in this segment of code. If the running result of this segment of code cannot realize the expected function, it proves that this segment of code has a BUG. , needs to be corrected. Then execute a single-step operation on the code segment with the BUG, ...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/36
CPCG06F11/3644
Inventor 林创龙梁小庆李志雄邓恩华
Owner SHENZHEN NETCOM ELECTRONICS CO LTD