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

Reverse Debugger and Reverse Debugging Methods

A technology that reverses and debugs information. It is used in software testing/debugging, instrumentation, and error detection/correction. It can solve problems such as large storage space and long time.

Inactive Publication Date: 2017-02-22
INT BUSINESS MASCH CORP
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Existing methods for implementing the reverse debugging function either require too much storage space, or take too long to run to the reverse target breakpoint

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
  • Reverse Debugger and Reverse Debugging Methods
  • Reverse Debugger and Reverse Debugging Methods
  • Reverse Debugger and Reverse Debugging Methods

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] Preferred embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although preferred embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.

[0029] figure 1 A block diagram of an exemplary computing system 100 suitable for implementing embodiments of the invention is shown. Such as figure 1 As shown, the computer system 100 may include: CPU (Central Processing Unit) 101, RAM (Random Access Memory) 102, ROM (Read Only Memory) 103, system bus 104, hard disk controller 105, keyboard controller 106, serial interface controller 107 , parallel interface controller 108 , display cont...

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 present invention relates to a method for reverse debugging a program and a reverse debugger, wherein the method includes: obtaining debugging information of the program output by a compiler, the debugging information including information related to the extended basic block of the program; responding When the program enters reverse debugging, a reverse debugging checkpoint is set at the entry address of at least one extended basic block; in response to the program running to the set reverse debugging checkpoint, the debugging corresponding to the reverse debugging checkpoint is stored. Information that needs to be stored; in response to receiving a set reverse debugging target breakpoint, rolling back the program to the reverse debugging checkpoint that is closest to the reverse debugging target breakpoint before the reverse debugging target breakpoint, And obtain the information that needs to be stored for debugging stored in the reverse debugging checkpoint, and continue to execute the program until it reaches the reverse debugging target breakpoint. The invention can reduce the information to be stored for reverse debugging and improve the debugging efficiency.

Description

technical field [0001] The present invention relates to a program debugger, more specifically, to a reverse debugger and a reverse debugging method. Background technique [0002] The basic functions of a common debugger (debugger) include: interrupting a running program by causing the target program to trigger an exception, and making it execute according to the user's wishes; viewing the running information of the software, which includes but is not limited to the status of the current thread Register information and memory information, etc.; and modifying the software execution process, including: modifying memory information, register information, etc. [0003] The working principle of the debugger is based on the exception mechanism of the central processing unit, and the exception distribution (or event distribution) subsystem of the operating system is responsible for encapsulating and processing it, and then interacts with the debugger in a friendly manner in real tim...

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/3644G06F11/362
Inventor 王帆李琦杜久常陈晓玲梅丽刚
Owner INT BUSINESS MASCH 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