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

Method and device for checking program running errors

A technology for running errors and checking programs. It is applied in the field of computer information and can solve problems such as reduced program code readability and increased program storage space requirements.

Inactive Publication Date: 2011-11-30
PEKING UNIV FOUNDER GRP CO LTD +1
View PDF3 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Embodiments of the present invention provide a method and device for checking program running errors, which are used to solve the problem of inserting static reading source code into the program to check program running errors in the prior art, which will increase the storage space demand of the program, and Problems that will reduce the readability of the program code

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 and device for checking program running errors
  • Method and device for checking program running errors
  • Method and device for checking program running errors

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] In order to solve the problem that the solution provided in the prior art to insert static reading source code into the program to check the program operation error will increase the storage space demand of the program itself, the embodiment of the present invention provides a solution for checking the program operation error, It is used to check whether an error occurs during the running of the program without increasing the storage space requirement of the program itself.

[0028] The main realization principles, specific implementation modes and corresponding beneficial effects that can be achieved of the technical solutions of the embodiments of the present invention will be described in detail below in conjunction with each accompanying drawing.

[0029] Embodiments of the present invention firstly provide a method for checking program operation errors. The specific flowchart of the method is as follows: figure 1 shown, including the following steps:

[0030] Step...

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 method and a device for checking a program operation error, which are used for solving the problems that the scheme provided by the prior art for inserting a static reading source code into a program to check the program operation error increases the quantity demand of the programs on storage space and causes reduction of the readability of the program code. The method comprises the following steps of: acquiring a diagnosis script, which is preset in advance to check whether an error occurs in a program operation process, from the storage space outside the storage space where the program is during the operation of the program, and determining the row number of the programs indicated by the checking points which are set in the diagnosis script; acquiring the text information when the program is operated to the row number, by operating the code of the text information preset in the diagnosis script; and judging whether an error occurs in the program operation process according to the acquired text information and preset standard text information.

Description

technical field [0001] The invention belongs to the technical field of computer information, in particular to a method and device for checking program running errors. Background technique [0002] In the programming process of programmers, in order to check whether the program has errors, the program of inserting static reading source code into the program can be used to achieve this purpose. The extra code is used to output relevant information when the program is running so that the programmer can confirm whether an error occurs during the running of the program based on the relevant information. Although the above scheme can effectively detect program running errors, the scheme has also been proved to have the following defects in practical application: [0003] This solution needs to bring a large number of codes without real function into the program, which will affect the operating efficiency of the program and reduce the readability of the program code. Contents 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 PEKING UNIV FOUNDER GRP CO LTD