Unlock instant, AI-driven research and patent intelligence for your innovation.

Debugging method and device of application program, computer equipment and storage medium

A technology of application programs and debugging methods, applied in computing, software testing/debugging, instruments, etc., can solve problems such as poor timeliness of debugging UI, and achieve the effects of strong timeliness, less data, and faster speed

Pending Publication Date: 2021-06-25
GUANGZHOU HUYA TECH CO LTD
View PDF3 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present invention proposes an application program debugging method, device, computer equipment and storage medium to solve the problem of poor timeliness when debugging UI

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
  • Debugging method and device of application program, computer equipment and storage medium
  • Debugging method and device of application program, computer equipment and storage medium
  • Debugging method and device of application program, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0063] figure 1 It is a flow chart of an application program debugging method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation where a transparent mask is used to locate the element being debugged by the user, so that the attributes of the element are displayed on the mask. The method can be executed by a device for debugging an application program, which can be implemented by software and / or hardware, and can be configured in a computer device, which is usually a device that supports touch operations, for example, a mobile terminal ( Such as mobile phones, tablet computers, personal digital assistants, etc.), smart wearable devices (such as smart watches, etc.), interactive tablets (such as interactive tablets for education, conference tablets for office use), etc., specifically include the following steps:

[0064] Step 101, the debugging tool generates a transparent mask on the user interface of the application program.

[0...

Embodiment 2

[0119] Figure 5 It is a flow chart of an application program debugging method provided by Embodiment 2 of the present invention. This embodiment is based on the foregoing embodiments, and further adds operations of compiling an application program and a debugging tool, and starting a debugging tool. The method specifically includes the following steps :

[0120] Step 501, pack the debugging tool into a program package.

[0121] In this embodiment, when developing the framework of the debugging tool, the developer defines the interface of the debugging element, and packages the framework of the debugging tool into a program package (Java Archive, Jar) through the packaging tool, wherein the program package includes the debugging element Interfaces that enable other debuggers debugging elements of the application to directly use the classes, properties, and methods in the package, especially the interfaces in the package.

[0122] Step 502, for the elements in the application...

Embodiment 3

[0148] Figure 8 A structural block diagram of an application program debugging device provided in Embodiment 3 of the present invention, the device includes a debugging tool 800, and the debugging tool 800 may specifically include the following modules:

[0149] Mask generating module 801, configured to generate a transparent mask on the user interface of the application program;

[0150] A touch event distribution module 802, configured to distribute the touch event to elements in the user interface when the mask intercepts a touch event triggered by an element in the user interface, so as to trigger a corresponding touch event to the touch event touch operation;

[0151] An attribute information query module 803, configured to call the interface set for the application program and query the attribute information of the element;

[0152] An attribute information display module 804, configured to display the attribute information in the mask.

[0153] In one embodiment of ...

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 provides a debugging method and device of an application program, computer equipment and a storage medium, and the method comprises the steps that a debugging tool generates a transparent mask on a user interface of the application program, and when the mask intercepts a touch event triggered by an element in the user interface, the debugging tool distributes the touch event to an element in the user interface to trigger a touch operation corresponding to the touch event, the debugging tool calls an interface set for the application program and inquires attribute information of the element, the debugging tool displays the attribute information in the mask, and the debugging tool and the application program jointly run in the same computer equipment, the elements debugged by the debugging personnel can be positioned in the distribution process, so that the attribute information of the elements is queried, the analyzed elements are the elements debugged by the debugging personnel, the data volume is small, the attribute information query speed is high, the elements can be displayed on the mask in real time, and the debugging timeliness is high.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of application development, and in particular to an application program debugging method, device, computer equipment, and storage medium. Background technique [0002] With the maturity and promotion of touch technology, the user groups of various touch devices have increased significantly. In touch devices, UI (User Interface, User Interface) is one of the most direct ways for users to interact with applications. , the application presents content and value through the UI, and the user controls the application through UI input gestures or a virtual keyboard. [0003] For application developers, debugging UI is an important development work. [0004] At present, application developers often use debugging tools provided by some manufacturers to debug the UI. The debugging timeliness of these debugging tools is poor. For example, a debugging tool is connected to a personal computer t...

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/362
Inventor 张宇
Owner GUANGZHOU HUYA TECH CO LTD