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

Virtual breakpoint script debugging method

A debugging method and scripting technology, applied in software testing/debugging, etc., can solve problems such as wasting time and inability to work together, and achieve the effects of reducing energy, saving time, and saving costs

Active Publication Date: 2013-03-20
FUJIAN TQ DIGITAL
View PDF3 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The technical problem to be solved by the present invention is to provide a virtual breakpoint debugging method, which solves the problem of inability to work together and breakpoints that require personnel to track one by one on the spot, wasting a lot of time

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0014] A virtual breakpoint script debugging method comprises the following steps:

[0015] Step 1, open a port for monitoring client requests and remote debugging scripts on the server, and automatically load a dynamic link library DLL when the server starts, and the dynamic link library DLL monitors the network request of the client through the port; The script to be debugged is uploaded to the server;

[0016] Step 2. Add a plug-in on the script editor of the client, and set properties through the plug-in. The properties include added breakpoints, canceled breakpoints, whether to perform single-step execution, and whether to set the script immediately after each breakpoint Suspend, then the property that is set is delivered to described dynamic link storehouse DLL; Described script editor is Notepad++ text script editor;

[0017] Step 3. The client to perform script debugging sends a script debugging request;

[0018] Step 4, the dynamic link library DLL on the server sid...

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 provides a virtual breakpoint script debugging method. The method comprises the following steps of: opening a port on a server, and automatically loading a dynamic link library (DLL); installing a plugin on a script editor of a client end, setting a property through the plugin, and transmitting the set property to the DLL; and when the script debugging client end sends a script debugging request, calling a debugger with embedded LUA according to the request by using the DLL, implementing the request, judging whether to pause immediately or not according to the set property when implementation reaches a breakpoint, if so, pausing implementation of a script by using a server end, otherwise, implementing a virtual breakpoint debugging mode. According to the method, the plugin and the DLL are installed on the script editor and the server respectively, so that a developer does not need to stare at data fed back in a script debugging process, the breakpoint is not required to be recovered again and again in an implementing process, and time is saved; and meanwhile, synergic work can be realized, so that cost is saved, and the method is a rapid and effective script debugging method.

Description

【Technical field】 [0001] The invention relates to a script debugging method, in particular to a virtual breakpoint script debugging method. 【Background technique】 [0002] In game servers, LUA scripts are widely used to support more level task designs and improve game playability. When debugging LUA scripts, it is necessary to set multiple breakpoints. Developers must track the breakpoints one by one. If a loop enters 100 times, to view the value of these 100 times, it is necessary to restore the breakpoint 100 times at the breakpoint, otherwise The debugging process has been suspended, which is a waste of time. On the other hand, there is also the problem of difficulty in collaborative work, that is, the same program can only be debugged by a single person at the same time. When multiple people use the same server at the same time, everyone edits the script. After uploading to the server, it must be debugged. If someone sets a breakpoint during debugging, other people mus...

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
IPC IPC(8): G06F11/36
Inventor 徐碧泉刘德建陈宏展陈文旺
Owner FUJIAN TQ DIGITAL
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