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

Application debugging method and device, electronic equipment and storage medium

A debugging method and various application technologies, applied in the information field, can solve problems such as low efficiency and error-prone

Pending Publication Date: 2020-06-26
BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In related technologies, many operations of connection and debugging between the running side and the compiling side require manual operations by operators, which is inefficient and error-prone

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
  • Application debugging method and device, electronic equipment and storage medium
  • Application debugging method and device, electronic equipment and storage medium
  • Application debugging method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

example 1

[0223] At present, there are many development platforms and operating systems on PC and mobile terminals. In order to improve the development experience of developers, it is hoped that a new unified platform can be established to allow developers to write a set of codes and run them across multiple terminals; to improve developers' development of codes. Reduce costs, reduce maintenance workload, and improve user experience;

[0224] For example, if you want to establish a direct debugging service to complete the above goals, complete support for multiple terminals such as Android, IOS, and Webview (for example, browser Browser), developers can write HyperText Markup Language (HyperText Markup Language, HTML ) similar language to write direct service applications. The direct service application here can provide a debugging interface running on the compiling device at the compiling side, and at the same time run a running application for code debugging on the running device at t...

example 2

[0235] Such as Figure 7 As shown, this example provides an application debugging method based on Example 1, which may include:

[0236] Step 1: Enable the debugging interface on the compilation side and establish a debugging connection with the debugging process on the running side, and the debugging interface requests the element information of the application elements of the current page;

[0237] Step 2: The running side debugging process requests the running side platform to obtain element information, the running side platform generates a unique id for each element and returns the element information to the debugging process, and the debugging process converts the element information into text format and sends it to the debugging interface

[0238] Step 3: Select a page element according to the developer's input; specifically, the developer selects a page element and checks the style; the page element is one of the aforementioned application elements;

[0239] Step 4: T...

example 3

[0247] As shown in the figure, this example provides an application debugging method, which may include:

[0248] Establish a websocket debugging connection between the front-end debugging interface on the compilation side and the debugging process on the running side;

[0249] The running-side debugging process acquires current page element information, which may include element information of all page elements of the current page;

[0250] The running platform on the running side obtains element information from the debugging process on the running side;

[0251] The platform on the running side will generate a unique id for each element, and return the element information to the debugging process on the running side; the id here is the aforementioned debugging ID;

[0252] Return the unique id generated by each element to the front-end debugging interface on the compilation side, and send the node style text, such as "color: red", the color in the style described here;

...

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 an application debugging method and device, electronic equipment and a storage medium. The application debugging method applied to the compiling side comprises the following steps: sending an application element to a running side through debugging connection with the running side; receiving a debugging identifier allocated to the application element by the running side through the debugging connection; sending a debugging request to the operation side according to the debugging identifier; and receiving an operation result returned by the operation side according to the debugging request, thereby simplifying application debugging, realizing online debugging and improving debugging efficiency.

Description

technical field [0001] The present disclosure relates to the field of information technology but is not limited to the field of information technology, and in particular relates to an application debugging method and device, electronic equipment, and a storage medium. Background technique [0002] In related technologies, during the application debugging process, the developer finds that the style does not match the expectation, and needs to be adjusted and modified in the code editor. After the modification, it is compiled on the compiling side and sent to the running side. Run on the running side to see the modified effect. If there is a problem, it is inconvenient and inefficient to debug and repeat the above process repeatedly. For example, you can refer to figure 1 As shown, the user manually connects the compilation side and the running side, and packages the application with debugging into an RPK file. The generated RPK file is a system file with a suffix of .rpk, w...

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
CPCG06F11/3644
Inventor 董永清潘温孙良木
Owner BEIJING XIAOMI MOBILE SOFTWARE 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