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

Software debugging method and system

A technology for software debugging and debugging information, applied in software testing/debugging, etc., can solve problems such as poor visibility and complicated operation of lighting debugging methods, achieve platform-independent, strong operability, and reduce workload

Inactive Publication Date: 2013-05-01
ZTE CORP
View PDF3 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the main purpose of the present invention is to provide a method and system for software debugging, to solve the problems of poor visibility and complicated operation of the lighting debugging mode with the software debugging method and system

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
  • Software debugging method and system
  • Software debugging method and system
  • Software debugging method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The technical solutions of the present invention will be further elaborated below in conjunction with the accompanying drawings and specific embodiments.

[0025] A method for debugging software provided by an embodiment of the present invention, such as figure 1 As shown, it mainly includes:

[0026] Step 101, using the embedded system description language to set key debugging information.

[0027] The key debugging information includes: the selected breakpoint method, the physical memory address where the breakpoint is generated, the register to be checked when the breakpoint arrives, and the memory address where the exception information is recorded, etc.

[0028] The main functions of the debugger include breakpoint debugging, stack analysis, etc. For breakpoint debugging, the breakpoint debugging methods provided by mainstream debugging tools are mainly software breakpoints and hardware breakpoints. Software breakpoints stop the CPU when it executes code at a sp...

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 discloses a software debugging method and a software debugging system. The method comprises the following steps of: setting key debugging information by using an embedded system descriptive language; storing the key debugging information as a description file in the format of embedded system software debugging information; parsing the description file and modifying an executable file generated by debugging codes according to the parsed description file; and running the debugging codes according to the modified executable file and recording a debugging result. Through the method and the system provided by the invention, the workload of system porting can be reduced during debugging, and the characteristics of light weight, high scalability, strong operability, platform independence and the like are obtained.

Description

technical field [0001] The invention relates to the debugging technology of embedded software, in particular to a method and system for software debugging. Background technique [0002] As an important means of software debugging, the debugger plays a very important role in software development. For example, when tracking and debugging software defects, the debugger provides a lot of functions, including: run, pause, step Enter a process; set breakpoints; manipulate registers and memory; catch internal exceptions, etc. Debuggers mainly include hardware debuggers and software debuggers. Hardware debuggers are powerful, but expensive, with high cost of use and learning; software debuggers usually debug code running on the operating system layer. This kind of debugging is not portable, especially the debugging support for the underlying driver codes of software systems such as linux, ucos, and ecos is limited. [0003] The working principle of software debugging in the relate...

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 ZTE CORP
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