A script dynamic debugging method, device and terminal
A dynamic debugging and scripting technology, applied in software testing/debugging, instrumentation, error detection/correction, etc., can solve problems such as high cost, cumbersome application switching operations, and long time-consuming regenerating applications, etc., to save time , Bug fixes, and debugging are convenient and trouble-free
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0052] This embodiment provides a script dynamic debugging method. Specifically, the script described in this embodiment is a lua script, and the debugging method is specifically applied to an iOS simulator. Of course, in other implementation manners, other scripts may also be debugged based on the iOS operating system, or other scripts may be debugged based on other operating systems.
[0053] As a small and flexible scripting language, lua is used in many iOS applications. The iOS application app (application) is usually written in C++ language and object-c language, and needs to be generated by the xcode compiler. In the prior art, lua scripts can be applied to iOS-based apps through the wax framework. In the prior art, it is usually necessary to pack the lua script into the resource folder in the application, or download the lua script sent from the background through the network, but this solution will bring a lot of cost when debugging the program. It is difficult to r...
Embodiment 2
[0074] This embodiment provides a script dynamic debugging method. Specifically, the script described in this embodiment is a lua script, and the debugging method is applied to a real machine running an iOS operating system. Of course, in other implementation manners, other scripts may also be debugged based on the iOS operating system, or other scripts may be debugged based on other operating systems.
[0075] The methods include:
[0076] S201. Synchronize the directory where the script in the project file is located to the application package corresponding to the application calling the script.
[0077] In the real machine running the iOS operating system in this embodiment, the directory where the lua script in the project file is located may not be synchronized to the app package through a link, but other methods may be used to complete the synchronization.
[0078] This embodiment monitors whether the local lua script changes by setting a listening port in the applicat...
Embodiment 3
[0087] This embodiment provides a script dynamic debugging device, such as image 3 shown, including:
[0088] A script dynamic debugging device, comprising:
[0089] The synchronization module 301 is configured to synchronize the directory where the script in the project file is located to the application package corresponding to the application calling the script.
[0090] The monitoring module 302 is configured to monitor the running status of the application program.
[0091] Among them, the synchronization module 301 synchronizes the directory where the script in the project file is located to the application package corresponding to the application calling the script, so that if the script changes, the script referenced by the application can also change synchronously. Effect. The monitoring module 302 is used to monitor the running state of the application program. After the running state of the application program is monitored, the application program will generate ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com



