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

Method for locating program abnormity

A technology of program exceptions and exceptions, which is applied in the field of data processing, can solve problems such as occupying memory resources, and achieve the effects of improving efficiency, reducing development costs, and reducing costs

Inactive Publication Date: 2007-08-01
HUAWEI TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, during the running of the tracked program, the Userdump tool always occupies memory resources

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 locating program abnormity
  • Method for locating program abnormity
  • Method for locating program abnormity

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0059] The method for locating program exceptions provided by the present invention can automatically capture program exceptions and locate program exceptions when an exception occurs in the program, and automatically generate the above-mentioned abnormal code location file; when the program does not have an exception, it will not affect the normal execution of the program , and will not occupy additional memory resources.

[0060] Referring to Fig. 1, the method for locating program exception provided by the present invention mainly includes the following steps:

[0061] Step 210, the compiling unit compiles the source program to generate a code information file and an original executable file (EXE file) (hereinafter referred to as the first executable file).

[0062] Step 220, embed the code information file into the first executable file to generate a new executable file (hereinafter referred to as the second executable file). The second executable file includes a pluralit...

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

This invention discloses a method for positioning program exception including the following steps: 1, generating a first executive file and a code information file, 2, loading said code information file in the first executive file to generate a second executive file containing a code information file block, 3, starting the second executive file to load an exception capture and positioning dynamic library, 4, when the second executive file is abnormal, the system core data are generated including a memory address called by the function, 5, fetching the code information file from said second executive file to compare said system core data and the code information file to determine the position of the exception of the program.

Description

technical field [0001] The invention relates to the field of data processing, in particular to a method for accurately locating the abnormality of the program when the abnormality occurs in the program. Background technique [0002] With the increasing popularity and rapid development of computers, people not only rely more and more on various programs in their work and life, but also put forward higher and higher requirements for the functions of the programs. Along with the improvement and strengthening of functions, the complexity of the program also increases, which leads to the decline of the stability and reliability of the program, and various abnormal conditions will appear in the running process of the program. In order to track and find the exact location where the program exception occurs, people have developed a variety of methods for catching and locating program exceptions. [0003] At present, the more popular methods for locating program exceptions mostly ad...

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
Inventor 陈远翔
Owner HUAWEI 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