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

Breakpoint setting method based on program running process, electronic equipment and storage medium

A program running and breakpoint technology, applied to electronic devices and storage media, based on the field of program running process breakpoint setting, can solve the problems of breakpoint setting that cannot cover the full path of the program, high time cost, etc., to improve fault location Efficiency, saving time and cost, and improving operational efficiency

Pending Publication Date: 2022-07-22
BEIJING ESWIN COMPUTING TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Traditional breakpoint setting methods and disadvantages: 1. Starting from the initial breakpoint, manually analyze according to experience, and gradually set the subsequent breakpoint position
The disadvantage is that the time cost is extremely high, it can only be used in the debugging of local program fragments, and the breakpoint setting of the full path coverage of the program cannot be realized

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
  • Breakpoint setting method based on program running process, electronic equipment and storage medium
  • Breakpoint setting method based on program running process, electronic equipment and storage medium
  • Breakpoint setting method based on program running process, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] In order to facilitate understanding of the present disclosure, the present disclosure will be described more fully hereinafter with reference to the related drawings. Preferred embodiments of the present disclosure are shown in the accompanying drawings. However, the present disclosure may be embodied in different forms and is not limited to the embodiments described herein. Rather, these embodiments are provided so that a thorough and complete understanding of the present disclosure is provided.

[0051] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure belongs. The terms used in the specification of the present disclosure are for the purpose of describing specific embodiments only, and are not intended to limit the present disclosure.

[0052] Hereinafter, the present disclosure will be described in detail with reference to the accompanyi...

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 breakpoint setting method based on a program running process, electronic equipment and a storage medium, and the breakpoint setting method comprises the following steps: scanning a disassembling file of a to-be-run program, identifying all branch node types, setting related branch node instruction information according to an instruction set system architecture, and setting the disassembling file of the to-be-run program according to the related branch node instruction information. Obtaining an initial jump table recording all branch node information; analyzing the initial jump table, and executing a preset instruction to set a breakpoint table; and when the program is scheduled to a running state, sequentially setting breakpoint addresses for preset instructions according to the breakpoint table and the fixed breakpoint interval granularity, and / or modifying the breakpoint interval granularity through the instructions, adjusting the breakpoint address of the branch node and updating the breakpoint table when a certain branch node is detected to have no fault. In this way, full-automatic analysis in the software verification process can be achieved, only one-time configuration needs to be carried out on the instruction set architecture, and the operation efficiency of the program can be effectively improved.

Description

technical field [0001] The present disclosure relates to the technical field of program debugging, and in particular, to a method for setting a breakpoint based on a program running process, an electronic device and a storage medium. Background technique [0002] The debugger can stop program execution at will, mainly in software breakpoints and hardware breakpoints. A software breakpoint is embodied as a breakpoint instruction added to the program, and the program execution stops when the breakpoint instruction is reached (ie, a software interrupt). [0003] In the software verification process of the chip, especially when large-scale software is used as a benchmark and automatic testing technology is used, it is usually necessary to quickly locate the fault point in the program flow for analysis and verification. To locate faults, you need to export on-site information. When the processor hardware does not have a Trace module, you need to suspend and set breakpoints when ...

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/3644G06F11/366
Inventor 陈硕徐旭明
Owner BEIJING ESWIN COMPUTING 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