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

Breakpoint debugging method and debugger

A debugger and breakpoint technology, applied in the field of breakpoint debugging methods and debuggers, can solve cumbersome problems and achieve the effect of improving execution efficiency

Inactive Publication Date: 2012-04-11
INST OF ACOUSTICS CHINESE ACAD OF SCI
View PDF3 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] The purpose of the present invention is to provide a breakpoint debugging method and a debugger with flexible processing modes to solve the cumbersome expression calculation problem in conditional breakpoints, thereby greatly improving the execution efficiency of the debugger

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 debugging method and debugger
  • Breakpoint debugging method and debugger
  • Breakpoint debugging method and debugger

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The technical solutions of the present invention will be described in further detail below with reference to the accompanying drawings and embodiments.

[0025] image 3 It is a flowchart of a breakpoint debugging method according to an embodiment of the present invention.

[0026] In step 301, a conditional breakpoint in debugging is received.

[0027] The debugger receives conditional breakpoints set by the user during debugging, including global conditional breakpoints set by the user.

[0028] In step 302, the conditional breakpoint is analyzed to obtain the breakpoint information therein.

[0029] The debugger parses the conditional breakpoints received during the debugging process, and obtains the breakpoint information in the conditional breakpoints, including: operators, process addresses corresponding to variables, and immediate values.

[0030] In step 303, the breakpoint information is organized and a decision graph is generated.

[0031] In one embodimen...

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 a breakpoint debugging method and a debugger. The debugging method comprises the following steps of: receiving a conditional breakpoint in debugging; resolving the conditional breakpoint to acquire breakpoint information; organizing the breakpoint information into a decision diagram; analyzing the decision diagram to selectively generate an ordered binary decision diagram or developing the decision diagram into a semantic binary tree; developing nodes of the ordered binary decision diagram into the semantic binary tree; mapping the node information of the semantic binary tree onto corresponding optimized code fragments; and injecting the code fragments into a process space for breakpoint information judgment. The debugger comprises functional units such as a receiving unit, a resolution unit, a generation unit, a development unit, a mapping unit and an injection unit. According to the debugging method and the debugger, the execution efficiency of the debugger can be greatly improved.

Description

technical field [0001] The invention relates to computer software design, in particular to a breakpoint debugging method and a debugger. Background technique [0002] Debuggers are an integral part of processor architecture design and hardware-software co-verification. On the one hand, it models the architecture of the target processor at the software level to simulate its execution behavior; on the other hand, by providing a debugging interface, it receives various control information input by the user to realize the data during program execution. Flow, control flow monitoring and modification. [0003] One of the most basic and core functions of the debugger is the breakpoint function, which allows the program to break where needed, thereby facilitating its analysis. Breakpoints can be divided into line breakpoints and conditional breakpoints. Line breakpoints are a special kind of conditional breakpoints, and conditional breakpoints are usually presented in the form of ...

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
Inventor 彭楚王东辉朱浩洪缨侯朝焕
Owner INST OF ACOUSTICS CHINESE ACAD OF SCI