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

Script debugging method and device and computer storage medium

A debugging method and script technology, applied in the computer field, can solve problems such as reducing efficiency, increasing design difficulty and labor cost, and prolonging research and development time.

Active Publication Date: 2019-05-21
HUAWEI TECH CO LTD
View PDF11 Cites 28 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In this way, there will be multiple monitoring interfaces in the script engine, which will increase the design difficulty and labor cost
In addition, many script engines do not provide debugging functions at present. Log analysis is usually used to determine whether there is a problem, which cannot directly locate the location of the problem; or follow-up R&D personnel delete some scripts and execute them again to find location of the problem, but this approach will prolong development time and reduce efficiency
[0004] Correspondingly, if the debugging engine has a debugging function, the code of the debugging engine needs to be modified. Since the script engine is usually designed with open source code, it is difficult to increase the debugging function and it is easy to cause the debugging engine to run incorrectly.

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
  • Script debugging method and device and computer storage medium
  • Script debugging method and device and computer storage medium
  • Script debugging method and device and computer storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] The technical solutions in the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings of the present invention.

[0051] The inventor of the present application found in the process of filing the present application that scripts generally have a corresponding script engine for interpretation and execution, that is, script files are compiled and executed through the script engine. There are many script languages, and there are also many corresponding script engines, and different scripts (files) require different script engines to compile. That is, one script (file / language) corresponds to one script engine.

[0052] The script engine is an interpreter of a computer programming language. Its function is to interpret and execute the user's program file, and compile it into machine code that the computer can recognize and execute to complete the corresponding function. Currently, commonly used scripting engines...

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 embodiment of the invention discloses a script debugging method and device and a computer storage medium, and the method comprises the steps that the device obtaining a debugging instruction, thedebugging instruction carrying a to-be-debugged target row breakpoint, and the target row breakpoint at least comprising row information used for indicating a row code where a script file interrupt point position is requested to be debugged; when it is determined that breakpoint debugging conditions are met, displaying a debugging result, wherein the debugging result comprises information obtainedwhen the equipment executes breakpoint processing on row codes corresponding to the target row breakpoints, and the breakpoint debugging conditions at least comprise that identification information corresponding to the target interface breakpoints is consistent with identification information corresponding to target local variables. By adopting the embodiment of the invention, the functions of script debugging, quick positioning of problem positions and the like can be realized under the condition of not modifying the debugging function of the script engine.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a script debugging method, equipment and computer storage medium. Background technique [0002] A script is an executable file written in a certain format using a specific descriptive language, also known as a macro or a batch file. The description language is also called script language (Script languages), which is a computer programming language created to shorten the traditional process of writing, compiling, linking, and running. Among them, the script can be understood as a program stored in plain text, which can be composed of a series of operation commands that can be executed by a computer. In the process of script execution, it needs to be completed with the help of script engine; different types of scripts require different script engines, and only when the script and script engine match, the script can be compiled correctly. [0003] The script debugging solution p...

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/36G06F11/3664G06F11/362G06F11/3636G06F11/3624G06F11/3648
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