Method for debugging computer program

A computer and program technology, applied in the field of debugging computer programs, can solve problems such as long transmission time, large core dump files, and large bandwidth

Active Publication Date: 2016-10-12
HUAWEI TECH CO LTD
View PDF5 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, a program's core dump file can be large, for example, over 100 megabytes (MB) or even over 1 gigabyte (GB)
Transferring a core dump file from a remote computer to the host computer consumes a lot of bandwidth and takes a long time to transfer

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
  • Method for debugging computer program
  • Method for debugging computer program
  • Method for debugging computer program

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] In order to make the above purpose, technical solution and advantages of the present application easier to understand, a detailed description is provided below. The detailed description presents various embodiments of devices and / or processes by using block diagrams, flowcharts, and / or examples. Since these block diagrams, flowcharts, and / or examples contain one or more functions and / or operations, those skilled in the art will understand that these block diagrams, Each function and / or operation within the flowchart or example.

[0030] figure 1 is a simplified block diagram of computing device 100 . Computing device 100 includes a processor 101 coupled with one or more data storage devices. The data storage device may include a storage medium 106 and a memory unit 104 . The storage medium 106 may be read-only, such as read-only memory (ROM), or readable / writable, such as hard disk or flash memory. Memory unit 104 may be random access memory (RAM). The memory unit...

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 proposes a debugging method. A computer running a program that generates a master core dump file and one or more slave core dump files in response to a triggering event such as an internal failure. Another computer analyzes the core dump file to debug the program. The master core dump file includes an index list, each entry of the index list corresponds to a slave core dump file of the one or more slave core dump files. The master core dump file may first be transferred to the other computer. Based on the information in the index list, the other computer selectively requests one or more of the generated slave core files for debugging.

Description

technical field [0001] The present invention relates generally to computer technology, and more particularly to a method of debugging a computer program. Background technique [0002] Debugging is an important process in developing computer programs. A so-called "bug" is an error, defect, failure or malfunction in a computer program (hereinafter referred to as a "program") or system. Vulnerabilities could cause errors or unexpected results, or cause programs or systems to behave unexpectedly. Vulnerabilities in programs can be detected and corrected through the debugging process. One way to perform debugging is to detect the area in the computer memory where information corresponding to the program is stored while the program is running in the computer. The information stored in the memory area can be retrieved as a file or a so-called "dump". Such a file is called a core dump file, and may also be called a crash dump file, checkpoint file, or snapshot file. A core dump...

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/366G06F11/3664
Inventor 伊凡·阿尔·瑞赫曼普拉森纳·文卡特斯·拉玛穆尔蒂奈尔·撒尼尔·库马尔·迪瓦卡然阿曼·沙黒
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products