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

Software debugging method and device and computer storage medium

A software debugging and computer technology, applied in the embedded field, can solve the problems of low software development efficiency and achieve the effect of improving development efficiency and protecting the erasing life

Inactive Publication Date: 2020-04-07
GREE ELECTRIC APPLIANCES INC
View PDF8 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The invention provides a software debugging method, device and computer storage medium to solve the technical problem of low software development efficiency existing in the prior art

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 device and computer storage medium
  • Software debugging method and device and computer storage medium
  • Software debugging method and device and computer storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] Embodiments of the present invention provide a software debugging method, device and computer storage medium to solve the technical problem of low software development efficiency in the prior art.

[0045] The technical solution in the embodiment of the present application is to solve the above-mentioned technical problems, and the general idea is as follows:

[0046] A software debugging method is provided, comprising: when the central processing unit CPU is in a debugging mode and runs to a breakpoint position, judging whether the breakpoint corresponding to the breakpoint position has been canceled or is in an invalid state in the IDE; if the breakpoint is in the IDE If it has been canceled or is invalid, then according to the corresponding relationship between the breakpoint and the original instruction, replace the breakpoint instruction corresponding to the breakpoint position with the original instruction corresponding to the breakpoint instruction, and restore th...

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, a software debugging device and a computer storage medium, which are applied to a software integrated development environment (IDE) and are used for solving the technical problem of low software development efficiency in the prior art. The method comprises the following steps: when a CPU (Central Processing Unit) is in a debugging mode and runsto a breakpoint position, judging whether a breakpoint corresponding to the breakpoint position is canceled in the IDE or is in an invalid state or not; If the breakpoint is canceled or is in an invalid state in the IDE, replacing a breakpoint instruction corresponding to the breakpoint position with an original instruction corresponding to the breakpoint instruction according to a corresponding relationship between the breakpoint and the original instruction, so that the CPU returns to a normal mode from the debugging mode.

Description

technical field [0001] The invention relates to the embedded field, in particular to a software debugging method, device and computer storage medium. Background technique [0002] When developing MCU embedded software, it is usually necessary to use an emulator and the corresponding software integrated development environment (Integrated Development Environment, IDE) to debug and code trace the software being developed or developed to solve possible bugs in the software (loophole). [0003] In the process of debugging, breakpoints are usually set in the written code, and the current running status of the central processing unit (Central Processing Unit, CPU) can be viewed through the set breakpoints when the code runs to the breakpoint position, thereby helping programmers Find potential bugs in written software code. [0004] However, in the development and debugging stage of MCU software, the software code of MCU usually runs in its own Flash. Although mainstream debuggi...

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 Applications(China)
IPC IPC(8): G06F11/36
CPCG06F11/3624
Inventor 王谦智
Owner GREE ELECTRIC APPLIANCES INC