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

Interpreter language debugging method and device

An interpreted language and context technology, applied in the field of interpreted language debugging methods and devices, can solve problems such as high cost and complex software engineering

Inactive Publication Date: 2007-08-22
HUAWEI TECH CO LTD
View PDF0 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] However, the "stubbing" technology of the existing debugging technology is based on the grammatical analysis of the interpreted language program, and implementing a grammatical analyzer for an interpreted language is a complicated software project with high cost

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
  • Interpreter language debugging method and device
  • Interpreter language debugging method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] In the embodiment of the present invention, by saving the context information of the breakpoint of the interpreted language program to the context file, it realizes the rapid jumping to the specified position in the interpreted language program during the debugging of the interpreted language, so as to improve the debugging of the interpreted language under the condition of low cost. the purpose of program efficiency.

[0027] The embodiments of the present invention are applicable to all interpreted languages ​​for interpretation and execution. For convenience of description, Tcl (tool command language) and itcl (object-oriented tool command language) languages ​​commonly used in the testing industry are used as examples for description.

[0028] The method described in the embodiment of the present invention will be described in detail below with reference to the accompanying drawings and FIG. 2 .

[0029] Step 11. Save the context file of multiple breakpoints;

[00...

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 relates to a method and device for debugging interpretations. The method includes: It saves a number of breakpoints in the context of files. It chooses breakpoint for jump and calls the context of relate to the breakpoint in the document to restore the interpretation program to the location of breakpoint and operates the program continually. The described device includes: a preservation module is used for preserving the context related to the breakpoints during the process of interpretation, and a recovery module is used for calling the context of relate to the breakpoint to restore interpretation program to the location of breakpoint.

Description

technical field [0001] The invention relates to the technical field of automated testing, in particular to an interpreted language debugging method and device. Background technique [0002] Interpreted language is generally used in the process of automated testing, that is, the test process is recorded by writing an interpreted language, which is widely used in software regression testing and version pre-testing. [0003] When writing and debugging an interpreted language program with the existing debugging technology, due to logic or syntax errors, if there is an error somewhere in the latter part of the interpreted language, after correcting the error, it is necessary to run the former one again to reach the last error. position, it has been verified that the interpretation language is correct after modification, so that it takes a long time to complete the debugging. [0004] Although the existing debugging technology can perform statement-level debugging, it cannot rest...

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 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