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

Concurrent program reappearance debugging method based on snapshot sequence running

A technology for running snapshots and debugging methods, applied in software testing/debugging, etc., can solve problems such as reproducible debugging of software or hardware systems that do not appear, and achieve reproducible results

Inactive Publication Date: 2015-03-25
凯习(北京)信息科技有限公司
View PDF4 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, at this stage, the existing research results for reproducible debugging have serious defects.
A fact that can be pointed out is that there are no commercial software or hardware systems that can support reproducible debugging

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
  • Concurrent program reappearance debugging method based on snapshot sequence running
  • Concurrent program reappearance debugging method based on snapshot sequence running
  • Concurrent program reappearance debugging method based on snapshot sequence running

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] The specific implementation manners of the present invention will be further described below in conjunction with the accompanying drawings.

[0032] figure 1 and figure 2 The technical scheme of capturing and reproducing proposed by the present invention is given. In a specific embodiment, the technical solution of the present invention can be divided into a snapshot saving trigger module 4, a snapshot capture execution module 1, a snapshot information maintenance module 2, an additional process scheduling strategy module 3, an auxiliary dump thread module 5, and a snapshot data recovery module. Module 6 now.

[0033] The specific implementation manners of the above modules will be further described in detail below.

[0034] Snapshot saving trigger module 4

[0035] The machine instructions corresponding to the snapshot saving trigger module 4 will be mixed and compiled into the program written by the user. Various logics are provided for users to trigger the savi...

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 concurrent program reappearance debugging method based on snapshot sequence running. Before concurrent program running, a user executes key points capable of playing an assistance role in debugging during program running; in the concurrent program executing process, snapshots are saved for all the key points assigned by the user, and a snapshot sequence is formed by the snapshots. After concurrent program executing, the replay stage is begun, the snapshot information is displayed to the user, and therefore the running scene of the program in the set key point is recovered. According to the snapshot sequence running method, the debugging execution of the concurrent program is converted into the logic concept execution from the physical actual execution, and the conversion is the maximum difference between the method and a traditional technique scheme. The snapshot sequence running method has the advantages of being easy to achieve, flexible in usage and small in additional cost.

Description

technical field [0001] The invention relates to a method for debugging software in a multi-core architecture. More specifically, the present invention designs a technical method for reproducible debugging of a shared-memory multi-thread program in a multi-core architecture. Reproducible debugging is a technique that enables a parallel program to produce the same results both during execution and during debugging. Background technique [0002] In recent years, there has been a trend to manufacture processors containing multiple cores in order to maximize silicon efficiency (ie, "application achievable" MIP / mm2 or MIP / mW). This multi-core architecture is ideally suited for running thread-based applications because a thread defines an autonomous work package containing execution state, instruction flow, and data groups, which by definition can execute in parallel with other threads. However, this parallel execution introduces additional problems to the software debugging proc...

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 凯习(北京)信息科技有限公司