CN109828915B - Method, device, equipment and storage medium for debugging application program - Google Patents

Method, device, equipment and storage medium for debugging application program Download PDF

Info

Publication number
CN109828915B
CN109828915B CN201811638872.5A CN201811638872A CN109828915B CN 109828915 B CN109828915 B CN 109828915B CN 201811638872 A CN201811638872 A CN 201811638872A CN 109828915 B CN109828915 B CN 109828915B
Authority
CN
China
Prior art keywords
connection information
debugging
record table
running
compiling
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811638872.5A
Other languages
Chinese (zh)
Other versions
CN109828915A (en
Inventor
董永清
潘温
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201811638872.5A priority Critical patent/CN109828915B/en
Publication of CN109828915A publication Critical patent/CN109828915A/en
Application granted granted Critical
Publication of CN109828915B publication Critical patent/CN109828915B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)
  • Stored Programmes (AREA)

Abstract

The disclosure relates to a method, a device, equipment and a storage medium for debugging an application program, and belongs to the technical field of computers. The present disclosure provides a method of debugging an application, the method comprising: when detecting that the first running device is accessed to the compiling device, establishing debugging connection with the first running device, running a first compiling file on the first running device based on the debugging connection to obtain a first running result, and adding first connection information of the first running device into a debugging record table. Because the connection information of the operating equipment with the established debugging connection is stored in the debugging record table, when a plurality of operating equipment need to be debugged, the modified second compiling file can be sent to the plurality of operating equipment based on the connection information stored in the debugging record table, so that a plurality of second operating results are obtained, the debugging process is simple, a large amount of time is saved, and the debugging efficiency is improved.

Description

Method, device, equipment and storage medium for debugging application program
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a storage medium for debugging an application.
Background
In the Application Development process, a developer develops code using an Integrated Development Environment (IDE) tool, and a device that develops code and includes the IDE is called a compiling device. After the function of the App is developed, developers need to debug the developed application program to ensure that the function of the App can run normally.
After the application program is developed, the compiling device compiles the application program in the IDE to obtain the JS code, and generates the JS code into a first RPK file (a system file with a suffix name of. RPK). When the application program is debugged on the first running device, the first running device accesses the compiling device and runs the JS codes in the first RPK file to obtain a running result. And the compiling equipment modifies the JS codes in the first RPK file according to the operation result to obtain a second RPK file. And the first running device runs the second RPK file to debug the application program. When the application program is debugged on the second running device, the compiling device disconnects the connection with the first running device, and the application program is debugged on the second running device according to the method.
Disclosure of Invention
The present disclosure provides a method and an apparatus for debugging an application program, which can overcome the problems that when debugging needs to be performed on a plurality of operating devices, the operating devices can only be connected with a compiling device one by one to perform debugging, the process is complicated, the debugging time is long, and the efficiency is low, and the technical scheme is as follows:
in a first aspect, a method for debugging an application is provided, the method including:
when detecting that a first running device is accessed to a compiling device, establishing debugging connection with the first running device, running a first compiling file on the first running device based on the debugging connection to obtain a first running result, and adding first connection information of the first running device into a debugging record table, wherein the debugging record table is used for storing the connection information of the running device with the established debugging connection; the first compiling file comprises codes obtained by compiling the application program by the compiling equipment;
when the first compiled file is modified based on the first operation result to obtain a second compiled file, determining a plurality of target operation devices according to a plurality of connection information recorded in the debugging record table;
and running the second compiled file on the target running devices to obtain a plurality of second running results.
In a possible implementation manner, the adding the first connection information of the first running device to a debug record table includes:
determining whether the first connection information is stored in the debugging record table, wherein the connection information of the running equipment stored in the debugging record table is sequenced according to the access time of the running equipment;
when the first connection information is not stored in the debugging record table, adding the first connection information into the debugging record table;
when the first connection information is stored in the debugging record table, moving the position of the first connection information in the debugging record table.
In another possible implementation manner, the storing the first connection information in the debug record table includes:
adding the first connection information to the foremost end of the debugging record table;
the moving the position of the first connection information in the debugging record table comprises:
and moving down the connection information at the front end of the first connection information in the debugging record table, and moving the first connection information to the foremost end of the debugging record table.
In another possible implementation manner, the determining a plurality of target operating devices according to a plurality of connection information recorded in the debug record table includes:
selecting connection information of a plurality of target operation devices with the access time closest to the current time from the debugging record table according to the number of the connection information recorded in the debugging record table and the access time of the operation devices which establish debugging connection with the compiling device;
determining the plurality of target operating devices based on the connection information of the plurality of target operating devices.
In another possible implementation manner, the selecting, according to the number of pieces of connection information recorded in the debug record table and the access time of the operating device that has established the debug connection with the compiling device, connection information of a plurality of target operating devices whose access time is closest to the current time from the debug record table includes:
when the number of the connection information recorded in the debugging record table does not exceed the preset number, selecting a plurality of connection information stored in the debugging record table;
and when the number of the connection information recorded in the debugging record exceeds the preset number, selecting a plurality of pieces of connection information with the access time closest to the current time from the debugging record table according to the access time of the operating equipment which establishes the debugging connection with the compiling equipment.
In another possible implementation manner, the method further includes:
determining whether the number of the currently recorded connection information in the debugging record table exceeds a preset number;
and when the number of the connection information currently recorded in the debugging record table exceeds the preset number, deleting the connection information which is inserted into the debugging record table at the earliest time so as to enable the number of the connection information currently recorded in the debugging record table not to exceed the preset number.
In another possible implementation manner, the running the second compiled file on the multiple target running devices to obtain multiple second running results includes:
and sending the second compiled file to the target running devices based on a plurality of connection information of the target connection devices, so that the target running devices respectively run the second compiled file to obtain a plurality of second running results.
In a second aspect, an apparatus for debugging an application is provided, the apparatus comprising:
the establishing module is configured to establish debugging connection with a first running device when the first running device is detected to be accessed to a compiling device;
the running module is configured to run a first compiling file on the first running device based on the debugging connection to obtain a first running result;
the adding module is configured to add the first connection information of the first running device into a debugging record table, and the debugging record table is used for storing the connection information of the running device with the established debugging connection; the first compiling file comprises codes obtained by compiling the application program by the compiling equipment;
a first determining module configured to determine a plurality of target operating devices according to a plurality of connection information recorded in the debug record table when a second compiled file is obtained by modifying the first compiled file based on the first operating result;
the running module is further configured to run the second compiled file on the plurality of target running devices to obtain a plurality of second running results.
In a possible implementation manner, the adding module is further configured to determine whether the first connection information is stored in the debug record table, where the connection information of the running devices stored in the debug record table is sorted by the access time of the running devices;
when the first connection information is not stored in the debugging record table, adding the first connection information into the debugging record table;
when the first connection information is stored in the debugging record table, moving the position of the first connection information in the debugging record table.
In another possible implementation manner, the adding module is further configured to add the first connection information to a foremost end of the debug record table;
the establishing module is further configured to move down the connection information located at the front end of the first connection information in the debugging record table, and move the first connection information to the foremost end of the debugging record table.
In another possible implementation manner, the first determining module is further configured to select, according to the number of pieces of connection information recorded in the debugging record table and the access time of the operating device that has established a debugging connection with the compiling device, connection information of a plurality of target operating devices whose access time is closest to the current time from the debugging record table;
determining the plurality of target operating devices based on the connection information of the plurality of target operating devices.
In another possible implementation manner, the first determining module is further configured to select a plurality of connection information stored in the debug record table when the number of pieces of connection information recorded in the debug record table does not exceed a preset number;
and when the number of the connection information recorded in the debugging record exceeds the preset number, selecting a plurality of pieces of connection information with the access time closest to the current time from the debugging record table according to the access time of the operating equipment which establishes the debugging connection with the compiling equipment.
In another possible implementation manner, the apparatus further includes:
a second determining module configured to determine whether the number of pieces of connection information currently recorded in the debug record table exceeds a preset number;
and the deleting module is configured to delete the connection information which is earliest inserted into the debugging record table when the number of the connection information currently recorded in the debugging record table exceeds the preset number, so that the number of the connection information currently recorded in the debugging record table does not exceed the preset number.
In another possible implementation manner, the running module is further configured to send the second compiled file to the target running devices based on a plurality of connection information of the target running devices, so that the target running devices respectively run the second compiled file to obtain a plurality of second running results.
In a third aspect, a compiling device is provided, which includes a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
when detecting that a first running device is accessed to a compiling device, establishing debugging connection with the first running device, running a first compiling file on the first running device based on the debugging connection to obtain a first running result, and adding first connection information of the first running device into a debugging record table, wherein the debugging record table is used for storing the connection information of the running device with the established debugging connection; the first compiling file comprises codes obtained by compiling the application program by the compiling equipment;
when the first compiled file is modified based on the first operation result to obtain a second compiled file, determining a plurality of target operation devices according to a plurality of connection information recorded in the debugging record table;
and running the second compiled file on the target running devices to obtain a plurality of second running results.
In a fourth aspect, a storage medium is provided, the storage medium having stored thereon instructions that are executed by a processor to perform the method for debugging an application program according to any one of the possible implementations of the first aspect.
The beneficial effects brought by the technical scheme provided by the embodiment of the disclosure include:
when detecting that the first running device is accessed to the compiling device, establishing debugging connection with the first running device, running a first compiling file on the first running device based on the debugging connection to obtain a first running result, and adding first connection information of the first running device into a debugging record table. When the first compiled file is modified based on the first operation result to obtain a second compiled file, determining a plurality of target operation devices according to a plurality of connection information recorded in the debugging record table; and running the second compiled file on the target running devices to obtain a plurality of second running results. Because the connection information of the operating equipment with the established debugging connection is stored in the debugging record table, when the plurality of operating equipment need to be debugged, the modified second compiling file can be sent to the plurality of operating equipment based on the connection information stored in the debugging record table, so that a plurality of second operating results are obtained, the debugging process is simple, a large amount of time is saved, and the debugging efficiency is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a diagram illustrating an application scenario for debugging an application in accordance with an illustrative embodiment;
FIG. 2 is a flow diagram illustrating a method of debugging an application in accordance with an illustrative embodiment;
FIG. 3 is a flow diagram illustrating another method of debugging an application in accordance with an illustrative embodiment;
FIG. 4 is a schematic diagram illustrating another method of debugging an application in accordance with an illustrative embodiment;
FIG. 5 is a schematic diagram illustrating another method of debugging an application in accordance with an illustrative embodiment;
FIG. 6 is a schematic diagram illustrating an apparatus for debugging an application in accordance with an illustrative embodiment;
fig. 7 is a schematic diagram illustrating a compiling apparatus according to an example embodiment.
Detailed Description
Technical solutions in the embodiments of the present disclosure will be described below clearly and completely with reference to the accompanying drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are some embodiments of the present disclosure, but not all embodiments. All other embodiments, which can be derived by one of ordinary skill in the art from the embodiments disclosed herein without making any inventive effort, are intended to be within the scope of the present disclosure.
To make the objects, technical solutions and advantages of the present disclosure more apparent, embodiments of the present disclosure will be described in detail with reference to the accompanying drawings.
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a diagram illustrating an application scenario of a debugging application according to an exemplary embodiment, where the application scenario includes a compiling device 101 and a plurality of running devices 102. The compiling device 101 and the running devices 102 are connected by a local area network or a USB. The compiling device 101 is configured to generate a compiled file, where the compiled file is a file including compiled codes; the compiled code may be a JS code, and the first compiled file may be an RPK file or an APK installation package. The running device 102 is configured to run the compiled file to obtain a running result.
The compiling device 101 may be any device that can complete compiling the code of the application program, for example, the compiling device 101 may be a desktop, a notebook, a server, and the like, and the compiling device 101 is not particularly limited in the embodiment of the present disclosure. The operation device 102 may be any device with a display screen, for example, the operation device 102 may be a mobile phone, a tablet computer, an intelligent home device, or an intelligent wearable device, and the operation device 102 is not particularly limited in the embodiment of the present disclosure.
FIG. 2 is a flowchart illustrating a method of debugging an application, as shown in FIG. 2, including the following steps, in accordance with an exemplary embodiment.
In step S201, when it is detected that the first operating device is accessed to the compiling device, establishing a debugging connection with the first operating device, running a first compiling file on the first operating device based on the debugging connection to obtain a first running result, and adding first connection information of the first operating device to a debugging record table, where the debugging record table is used to store connection information of the operating device with the established debugging connection; the first compiling file comprises codes obtained by compiling the application program by the compiling device.
In step S202, when the first compiled file is modified based on the first operation result to obtain a second compiled file, a plurality of target operation devices are determined according to the plurality of connection information recorded in the debug record table.
In step S203, the second compiled file is executed on the target execution devices, and a plurality of second execution results are obtained.
In a possible implementation manner, the adding the first connection information of the first running device to a debug record table includes:
determining whether the first connection information is stored in the debugging record table, wherein the connection information of the running equipment stored in the debugging record table is sequenced according to the access time of the running equipment;
when the first connection information is not stored in the debugging record table, adding the first connection information into the debugging record table;
when the first connection information is stored in the debugging record table, moving the position of the first connection information in the debugging record table.
In another possible implementation manner, the storing the first connection information in the debug record table includes:
adding the first connection information to the foremost end of the debugging record table;
the moving the position of the first connection information in the debugging record table comprises:
and moving down the connection information at the front end of the first connection information in the debugging record table, and moving the first connection information to the foremost end of the debugging record table.
In another possible implementation manner, the determining a plurality of target operating devices according to a plurality of connection information recorded in the debug record table includes:
selecting connection information of a plurality of target operation devices with the access time closest to the current time from the debugging record table according to the number of the connection information recorded in the debugging record table and the access time of the operation devices which establish debugging connection with the compiling device;
determining the plurality of target operating devices based on the connection information of the plurality of target operating devices.
In another possible implementation manner, the selecting, according to the number of pieces of connection information recorded in the debug record table and the access time of the operating device that has established the debug connection with the compiling device, connection information of a plurality of target operating devices whose access time is closest to the current time from the debug record table includes:
when the number of the connection information recorded in the debugging record table does not exceed the preset number, selecting a plurality of connection information stored in the debugging record table;
and when the number of the connection information recorded in the debugging record exceeds the preset number, selecting a plurality of pieces of connection information with the access time closest to the current time from the debugging record table according to the access time of the operating equipment which establishes the debugging connection with the compiling equipment.
In another possible implementation manner, the method further includes:
determining whether the number of the currently recorded connection information in the debugging record table exceeds a preset number;
and when the number of the connection information currently recorded in the debugging record table exceeds the preset number, deleting the connection information which is inserted into the debugging record table at the earliest time so as to enable the number of the connection information currently recorded in the debugging record table not to exceed the preset number.
In another possible implementation manner, the running the second compiled file on the multiple target running devices to obtain multiple second running results includes:
and sending the second compiled file to the target running devices based on a plurality of connection information of the target connection devices, so that the target running devices respectively run the second compiled file to obtain a plurality of second running results.
In the embodiment of the disclosure, when it is detected that the first running device accesses the compiling device, a debugging connection with the first running device is established, the first compiling file is run on the first running device based on the debugging connection, a first running result is obtained, and the first connection information of the first running device is added to the debugging record table. When the first compiled file is modified based on the first operation result to obtain a second compiled file, determining a plurality of target operation devices according to a plurality of connection information recorded in the debugging record table; and running the second compiled file on the target running devices to obtain a plurality of second running results. Because the connection information of the operating equipment with the established debugging connection is stored in the debugging record table, when a plurality of operating equipment need to be debugged, the modified second compiling file can be sent to the operating equipment based on the connection information stored in the debugging record table, so that a plurality of second operating results are obtained, the debugging process is simple, a large amount of time is saved, and the debugging efficiency is improved.
FIG. 3 is a flow chart illustrating another method of debugging an application, as shown in FIG. 3, in accordance with an illustrative embodiment, including the following steps.
In step S301, when it is detected that the first running device accesses the compiling device, the compiling device establishes a debug connection with the first running device, and runs a first compiling file on the first running device based on the debug connection to obtain a first running result, where the first compiling file includes a code obtained by the compiling device compiling the application program.
The application program may be any application program compiled in the compiling device, for example, the application program is a fast application program or a direct service application program. And installing an IDE (integrated development environment) on the compiling device, compiling the application program in the IDE by a developer, running the application program in the IDE by the compiling device to obtain a first compiling file when debugging the application program, and running the first compiling file in the running device to debug the application program. Wherein, the step can be realized by the following steps (1) to (5):
(1) and the compiling equipment detects whether the running equipment is accessed or not through polling.
The compiling device may detect whether an operating device is accessed by using a polling detection mode in which an adb (Android Debug Bridge) protocol detects once every interval of time. When the application program is debugged on the running equipment, the running equipment can be accessed to the compiling equipment in a wired mode or in a wireless mode. Correspondingly, the compiling device uses the adb protocol to perform polling detection based on the two access modes.
(2) When the compiling device detects that the first running device is accessed, the compiling device receives a debugging request sent by the first running device.
When an application program is debugged on first running equipment, the first running equipment sends a debugging request to compiling equipment, wherein the debugging request at least carries an equipment identifier of the first running equipment and can also carry a connection identifier of the first running equipment, and the connection identifier can be a port identifier or a network identifier.
(3) And the compiling device establishes debugging connection with the first running device based on the debugging request.
And configuring a forwarding port group on the compiling equipment, wherein the forwarding port group comprises a plurality of forwarding ports, and the forwarding ports are used for establishing debugging connection with the running equipment. When the first operating device is connected to the compiling device in a wired manner, the debugging request sent by the first operating device carries the device identifier and the port identifier of the first operating device, after receiving the device identifier and the port identifier, the compiling device allocates a forwarding port for the first operating device from the forwarding port group, establishes debugging connection with the port of the first operating device through the forwarding port, and establishes a mapping relationship between the port identifier of the forwarding port and the port identifier of the first operating device.
When the first running device is accessed to the compiling device in a wireless mode, the debugging request sent by the first running device carries the device identification and the network identification of the first running device, and after the compiling device receives the device identification and the network identification, the debugging connection between the compiling device and the first running device is established through the device identification and the network identification.
And after the compiling equipment establishes the debugging connection, generating first connection information of the first running equipment. The first connection information at least includes a device identifier of the first operating device, and may further include a connection identifier of the first operating device and/or an access time of the first operating device.
(4) The compiling device sends a first compiled file to the first running device based on the debug connection.
After the compiling device establishes the debugging connection with the first running device, the compiling device may directly push the first compiled file to the first running device, or may send the first compiled file to the first running device after receiving a file obtaining request sent by the first running device.
(5) And the first running device receives the first compiled file and runs the first compiled file to obtain a first running result.
And after receiving the first compiled file, the first running device runs the first compiled file and displays a first running result obtained by running the first compiled file.
In step S302, the compiling device adds the first connection information of the first running device to a debug record table for storing the connection information of the running device for which the debug connection has been established.
The process that the compiling device adds the first connection information of the first running device to the debugging record table may be realized by the following steps (1) to (3):
(1) the compiling device determines whether the first connection information is stored in the debugging record table.
And the compiling device matches the first connection information with the connection information of the running device stored in the debugging record table to determine whether the first connection information is stored in the debugging record table. When matching the connection information, the compiling device may match only the device identifier in the first connection information with the device identifier in the connection information, where the device identifier may be a Serial Number (SN) of the first running device; the compiling device may further match the device identifier and the connection identifier in the first connection information with the device identifier and the connection identifier in the connection information, where the connection identifier may be a port number and/or an IP (Internet Protocol Address).
The connection information of the running devices stored in the debugging record table is sorted by the access time of the running devices under the default condition, and in a possible implementation mode, the connection information is sorted according to the access time of the running devices in a positive sequence, namely the connection information is earlier above the debugging record table and later below the debugging record table; in another possible implementation, the access times of the operating devices are sorted in reverse order, that is, the access time is earlier below the debug log table and the access time is later above the debug log table.
(2) When the compiling device determines that the first connection information is not stored in the debugging record table, the compiling device adds the first connection information to the debugging record table.
In a possible implementation manner, the debug record table stores the stored connection information in a reverse order according to the access time of the running device, and the compiling device adds the first connection information to the foremost end of the debug record table; in another possible implementation manner, the debug record table stores the stored connection information in a positive sequence according to the access time of the running device, and the compiling device adds the first connection information to the end of the debug record table; in another possible implementation manner, the debug record table randomly stores the connection information, a unique index identifier is established for each connection information during storage, the connection information is retrieved through the unique index identifier, and the compiling device adds the first connection information to the debug record table after allocating a unique index identifier to the first connection information, where the unique index identifier may be a digital code randomly generated by a system or an identifier set according to a certain rule.
As shown in fig. 4, when the first running device accesses the compiling device, the first running device sends a first debugging request to the compiling device, the compiling device establishes a debugging connection with the first running device based on the first debugging request, sends the first compiling file to the first running device, and stores the first connection information of the first running device in the debugging record table. When the second running device is accessed to the compiling device, the second running device sends a second debugging request to the compiling device, the compiling device establishes debugging connection with the second running device based on the second debugging request, sends the first compiling file to the second running device, matches second connection information of the second running device with connection information stored in the debugging record table, determines that the debugging record table does not have the second connection information, adds the second connection information to the head of the debugging record table, and moves the first connection information downwards. When the third running device is accessed to the compiling device, the third running device sends a third debugging request to the compiling device, the compiling device establishes debugging connection with the third running device based on the third debugging request, sends the first compiling file to the third running device, matches third connection information of the third running device with connection information stored in the debugging record table, determines that the debugging record table does not have the third connection information, adds the third connection information to the head of the debugging record table, and moves the second connection information and the first connection information downwards.
(3) When the compiling device determines that the first connection information is stored in the debugging record table, the compiling device moves the position of the first connection information in the debugging record table.
In a possible implementation manner, the debug record table stores the stored connection information in a reverse order according to the access time of the running device, the compiling device moves down the connection information located at the front end of the first connection information in the debug record table, updates the access time of the first connection information, and moves the first connection information to the front end of the debug record table. In another possible implementation manner, the debug record table stores the stored connection information in a forward sequence according to the access time of the running device, the compiling device moves the connection information located at the rear end of the first connection information in the debug record table upwards, updates the access time of the first connection information, and moves the first connection information to the end of the debug record table.
As shown in fig. 4, when the second running device disconnects the debug connection with the compiling device, the compiling device keeps the debug record table unchanged. When the second running device is re-accessed to the compiling device, the compiling device matches the second connection information of the second running device with the connection information stored in the debugging record table, determines that the second connection information is stored in the debugging record table, moves the second connection information to the foremost end of the debugging record table, and moves the third connection information downwards.
It should be noted that step S301 and step S302 have no strict precedence relationship, and step S301 may be executed first.
In step S303, when the first compiled file is modified based on the first operation result to obtain a second compiled file, the compiling device determines a plurality of target operation devices according to the plurality of connection information recorded in the debug record table.
After the first running device obtains the first running result, if the developer judges that the first running result does not accord with the expected effect, the developer modifies the application program on the IDE of the compiling device, and the compiling device receives the modification of the first compiling file based on the first running result to obtain a second compiling file.
The compiling device determines a plurality of target running devices according to a plurality of connection information recorded in the debugging record table, and the determining of the plurality of target running devices can be realized through the following steps (1) to (2):
(1) and the compiling equipment selects the connection information of a plurality of target running equipment with the access time closest to the current time from the debugging record table according to the number of the connection information recorded in the debugging record table and the access time of the running equipment with the debugging connection established with the compiling equipment.
The compiling device determines whether the number of pieces of connection information currently recorded in the debugging record table exceeds a preset number. The preset number may be the maximum number of devices that need to be debugged simultaneously, or may be another number set empirically.
When the number of the connection information recorded in the debugging record table does not exceed the preset number, the compiling device selects a plurality of connection information stored in the debugging record table.
When the number of pieces of connection information recorded in the debug record exceeds the preset number, in a possible implementation manner, the compiling device selects, from the debug record table, a preset number of pieces of connection information whose access time is closest to the current time according to the access time of the running device with which the debug connection has been established with the compiling device. When the connection information stored in the debugging record table is arranged according to the reverse order of the access time of the running equipment, the compiling equipment sequentially selects a plurality of pieces of preset connection information from top to bottom from the top end of the debugging record table, and the connection information is the plurality of pieces of preset connection information closest to the current time. When the connection information stored in the debugging record table is arranged according to the positive sequence of the access time of the running equipment, the compiling equipment sequentially selects a plurality of pieces of preset connection information from the tail end of the debugging record table from bottom to top, and the connection information is the number of pieces of preset connection information closest to the current time.
In another possible implementation manner, when the number of pieces of connection information currently recorded in the debug record table exceeds the preset number, the compiling device deletes the connection information that is inserted into the debug record table at the earliest time, so that the number of pieces of connection information currently recorded in the debug record table does not exceed the preset number. The compiling device can delete one piece of connection information which is inserted into the debugging record table at the earliest time when new connection information is inserted into the debugging record table, and the total number of the connection information of the debugging record table is kept as a preset number; the compiling device may also detect the number of pieces of connection information currently recorded in the debugging record table at regular intervals, delete one or more pieces of connection information that are inserted into the debugging record table at the earliest time, and keep the total number of pieces of connection information of the debugging record table as a preset number.
(2) The compiling device determines a plurality of target running devices based on the connection information of the plurality of target running devices.
After the compiling device obtains the connection information of the target operation devices, the compiling device analyzes the connection information to obtain the unique identification of each target operation device, and determines the target operation devices.
In step S304, the compiling device runs the second compiled file on the target running devices to obtain a plurality of second running results.
The compiling device sends the second compiling file to the target running devices based on the connection information of the target connection devices, so that the target running devices respectively run the second compiling file to obtain a plurality of second running results.
When the compiling device sends the second compiled file to the target running devices, all of the target running devices may be communicated with the compiling device, only a part of the target running devices may be communicated with the compiling device, or all of the target running devices may not be communicated with the compiling device. In a possible implementation manner, after the compiling device sends the second compiled file to the plurality of target running devices, the target running device that receives the second compiled file feeds back the confirmation information that confirms that the second compiled file is received. And the target running devices receiving the second compiled file respectively run the second compiled file, and the running results are displayed to obtain a plurality of second running results.
For example, referring to fig. 5, when the compiling device obtains the second compiled file based on the modification of the first compiled file, the compiling device sends the second compiled file to the first running device, the second running device, and the third running device according to the connection debugging information recorded in the debugging record table, so as to obtain a plurality of second running results.
In the embodiment of the disclosure, when it is detected that the first running device accesses the compiling device, a debugging connection with the first running device is established, the first compiling file is run on the first running device based on the debugging connection, a first running result is obtained, and the first connection information of the first running device is added to the debugging record table. When the first compiled file is modified based on the first operation result to obtain a second compiled file, determining a plurality of target operation devices according to a plurality of connection information recorded in the debugging record table; and running the second compiled file on the target running devices to obtain a plurality of second running results. Because the connection information of the operating equipment with the established debugging connection is stored in the debugging record table, when a plurality of operating equipment need to be debugged, the modified second compiling file can be sent to the operating equipment based on the connection information stored in the debugging record table, so that a plurality of second operating results are obtained, the debugging process is simple, a large amount of time is saved, and the debugging efficiency is improved.
FIG. 6 is a schematic diagram illustrating an apparatus for debugging an application in accordance with an illustrative embodiment. The apparatus includes a building module 601, an operating module 602, an adding module 603, and a first determining module 604.
The establishing module 601 is configured to establish a debugging connection with a first running device when it is detected that the first running device accesses the compiling device;
the running module 602 is configured to run a first compiled document on a first running device based on the debug connection, resulting in a first running result;
the adding module 603 is configured to add the first connection information of the first running device to a debug record table, where the debug record table is used to store the connection information of the running device with the debug connection established; the first compiling file comprises codes obtained by compiling the application program by the compiling equipment;
the first determining module 604 is configured to determine a plurality of target operating devices according to the plurality of connection information recorded in the debug record table when the first compiled file is modified based on the first operating result to obtain a second compiled file;
the execution module 602 is further configured to execute the second compiled file on a plurality of target execution devices to obtain a plurality of second execution results.
In a possible implementation manner, the adding module 603 is further configured to determine whether the first connection information is stored in the debug record table, and the connection information of the running devices stored in the debug record table is sorted by the access time of the running devices;
when the first connection information is not stored in the debugging record table, adding the first connection information into the debugging record table;
when the first connection information is stored in the debugging record table, the position of the first connection information in the debugging record table is moved.
In another possible implementation manner, the adding module 603 is further configured to add the first connection information to the foremost end of the debug record table;
the establishing module is further configured to move down the connection information located at the front end of the first connection information in the debugging record table, and move the first connection information to the foremost end of the debugging record table.
In another possible implementation manner, the first determining module 604 is further configured to select, according to the number of pieces of connection information recorded in the debugging record table and the access time of the running device that has established the debugging connection with the compiling device, connection information of a plurality of target running devices whose access time is closest to the current time from the debugging record table;
determining a plurality of target operation devices based on the connection information of the plurality of target operation devices.
In another possible implementation manner, the first determining module 604 is further configured to select a plurality of connection information stored in the debug record table when the number of pieces of connection information recorded in the debug record table does not exceed a preset number;
and when the number of the connection information recorded in the debugging record exceeds the preset number, selecting the preset number of connection information with the access time closest to the current time from the debugging record table according to the access time of the running equipment which establishes the debugging connection with the compiling equipment.
In another possible implementation manner, the apparatus further includes:
a second determining module configured to determine whether the number of pieces of connection information currently recorded in the debug record table exceeds a preset number;
and the deleting module is configured to delete the connection information which is earliest inserted into the debugging record table when the number of the connection information currently recorded in the debugging record table exceeds the preset number, so that the number of the connection information currently recorded in the debugging record table does not exceed the preset number.
In another possible implementation manner, the running module 602 is further configured to send the second compiled file to the multiple target running devices based on multiple connection information of the multiple target connection devices, so that the multiple target running devices respectively run the second compiled file to obtain multiple second running results.
In the embodiment of the disclosure, when it is detected that the first running device accesses the compiling device, a debugging connection with the first running device is established, the first compiling file is run on the first running device based on the debugging connection, a first running result is obtained, and the first connection information of the first running device is added to the debugging record table. When the first compiled file is modified based on the first operation result to obtain a second compiled file, determining a plurality of target operation devices according to a plurality of connection information recorded in the debugging record table; and running the second compiled file on the target running devices to obtain a plurality of second running results. Because the connection information of the operating equipment with the established debugging connection is stored in the debugging record table, when a plurality of operating equipment need to be debugged, the modified second compiling file can be sent to the operating equipment based on the connection information stored in the debugging record table, so that a plurality of second operating results are obtained, the debugging process is simple, a large amount of time is saved, and the debugging efficiency is improved.
Fig. 7 shows a block diagram of an apparatus 700 provided in an exemplary embodiment of the invention. The device 700 may be a monitoring device or a tracking device, such as: a gun bolt and a ball machine. Device 700 may also be referred to by other names as user equipment, portable device, laptop device, desktop device, and the like.
In general, the apparatus 700 includes: a processor 701 and a memory 702.
The processor 701 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 701 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 701 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 701 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, the processor 701 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
Memory 702 may include one or more computer-readable storage media, which may be non-transitory. Memory 702 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 702 is used to store at least one instruction for execution by processor 701 to implement a method of debugging an application provided by method embodiments herein.
In some embodiments, the apparatus 700 may further optionally include: a peripheral interface 703 and at least one peripheral. The processor 701, the memory 702, and the peripheral interface 703 may be connected by bus or signal lines. Various peripheral devices may be connected to peripheral interface 703 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 704, touch screen display 705, camera 706, audio circuitry 707, positioning components 708, and power source 709.
The peripheral interface 703 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 701 and the memory 702. In some embodiments, processor 701, memory 702, and peripheral interface 703 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 701, the memory 702, and the peripheral interface 703 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 704 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 704 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 704 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 704 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 704 may communicate with other devices via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: the world wide web, metropolitan area networks, intranets, generations of mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks.
The display screen 705 is used to display a UI (user interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 705 is a touch display screen, the display screen 705 also has the ability to capture touch signals on or over the surface of the display screen 705. The touch signal may be input to the processor 701 as a control signal for processing. At this point, the display 705 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 705 may be one, providing the front panel of the device 700; in other embodiments, the display 705 may be at least two, each disposed on a different surface of the device 700 or in a folded design; in still other embodiments, the display 705 may be a flexible display disposed on a curved surface or on a folded surface of the device 700. Even more, the display 705 may be arranged in a non-rectangular irregular pattern, i.e. a shaped screen. The Display 705 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), or the like.
The camera assembly 706 is used to capture images or video. Optionally, camera assembly 706 includes a front camera and a rear camera. Generally, a front camera is provided on a front panel of the apparatus, and a rear camera is provided on a rear surface of the apparatus. In some embodiments, the number of the rear cameras is at least two, and each of the rear cameras is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (virtual reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 706 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuitry 707 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 701 for processing or inputting the electric signals to the radio frequency circuit 704 to realize voice communication. The microphones may be multiple and placed at different locations on the device 700 for stereo sound acquisition or noise reduction purposes. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 701 or the radio frequency circuit 704 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, and converting the electric signal into a sound wave inaudible to the human being to measure a distance. In some embodiments, the audio circuitry 707 may also include a headphone jack.
The positioning component 708 is operative to locate a current geographic Location of the device 700 to enable navigation or LBS (Location Based Service). The Positioning component 708 can be a Positioning component based on the Global Positioning System (GPS) in the united states, the beidou System in china, or the galileo System in russia.
A power supply 709 is used to supply power to the various components in the device 700. The power source 709 may be alternating current, direct current, disposable batteries, or rechargeable batteries. When the power source 709 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, the device 700 also includes one or more sensors 710. The one or more sensors 710 include, but are not limited to: acceleration sensor 711, gyro sensor 712, pressure sensor 713, fingerprint sensor 714, optical sensor 715, and proximity sensor 716.
The acceleration sensor 711 can detect the magnitude of acceleration on three coordinate axes of a coordinate system established with the apparatus 700. For example, the acceleration sensor 711 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 701 may control the touch screen 705 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 711. The acceleration sensor 711 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 712 may monitor the body direction and rotation angle of the device 700, and the gyro sensor 712 may cooperate with the acceleration sensor 711 to acquire a 3D motion of the device 700 by the user. From the data collected by the gyro sensor 712, the processor 701 may implement the following functions: motion sensing (e.g., changing the UI according to a user's tilt operation), image stabilization at the time of shooting, game control, and inertial navigation.
Pressure sensors 713 may be disposed on a side bezel of device 700 and/or an underlying layer of touch display 705. When the pressure sensor 713 is disposed on a side frame of the device 700, a user's holding signal of the device 700 may be detected, and the processor 701 performs right-left hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 713. When the pressure sensor 713 is disposed at a lower layer of the touch display 705, the processor 701 controls the operability control on the UI interface according to the pressure operation of the user on the touch display 705. The operability control comprises at least one of a button control, a scroll bar control, an icon control, and a menu control.
The fingerprint sensor 714 is used for collecting a fingerprint of the user, and the processor 701 identifies the identity of the user according to the fingerprint collected by the fingerprint sensor 714, or the fingerprint sensor 714 identifies the identity of the user according to the collected fingerprint. Upon identifying that the user's identity is a trusted identity, the processor 701 authorizes the user to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying, changing settings, and the like. The fingerprint sensor 714 may be disposed on the front, back, or side of the device 700. When a physical key or vendor Logo is provided on the device 700, the fingerprint sensor 714 may be integrated with the physical key or vendor Logo.
The optical sensor 715 is used to collect the ambient light intensity. In one embodiment, the processor 701 may control the display brightness of the touch display 705 based on the ambient light intensity collected by the optical sensor 715. Specifically, when the ambient light intensity is higher, the display brightness of the touch display screen 705 is increased; when the ambient light intensity is low, the display brightness of the touch display 705 is turned down. In another embodiment, processor 701 may also dynamically adjust the shooting parameters of camera assembly 706 based on the ambient light intensity collected by optical sensor 715.
A proximity sensor 716, also known as a distance sensor, is typically provided on the front panel of the device 700. The proximity sensor 716 is used to gather the distance between the user and the front of the device 700. In one embodiment, the processor 701 controls the touch display 705 to switch from the bright screen state to the dark screen state when the proximity sensor 716 detects that the distance between the user and the front surface of the device 700 is gradually decreased; when the proximity sensor 716 detects that the distance between the user and the front surface of the device 700 is gradually increased, the processor 701 controls the touch display 705 to switch from the breath-screen state to the bright-screen state.
Those skilled in the art will appreciate that the configuration shown in fig. 7 does not constitute a limitation of the device 700 and may include more or fewer components than shown, or combine certain components, or employ a different arrangement of components.
The embodiment of the present invention further provides a storage medium for monitoring a device, where at least one instruction, at least one program, a code set, or an instruction set is stored in the storage medium, and the instruction, the program, the code set, or the instruction set is loaded and executed by a processor to implement the method for debugging an application program according to the foregoing embodiment.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (14)

1. A method of debugging an application, the method comprising:
when detecting that a first running device is accessed to a compiling device, establishing debugging connection with the first running device, running a first compiling file on the first running device based on the debugging connection to obtain a first running result, and determining whether first connection information is stored in a debugging record table, wherein the connection information of the running devices stored in the debugging record table is sorted according to the access time of the running devices;
when the first connection information is not stored in the debugging record table, adding the first connection information into the debugging record table;
when the first connection information is stored in the debugging record table, moving the position of the first connection information in the debugging record table, wherein the debugging record table is used for storing the connection information of the running equipment with the established debugging connection; the first compiling file comprises codes obtained by compiling the application program by the compiling equipment;
when the first compiled file is modified based on the first operation result to obtain a second compiled file, determining a plurality of target operation devices according to a plurality of connection information recorded in the debugging record table;
and running the second compiled file on the target running devices to obtain a plurality of second running results.
2. The method of claim 1, wherein adding the first connection information to the debug record table comprises:
adding the first connection information to the foremost end of the debugging record table;
the moving the position of the first connection information in the debugging record table comprises:
and moving down the connection information positioned at the front end of the first connection information in the debugging record table, and moving the first connection information to the foremost end of the debugging record table.
3. The method of claim 1, wherein determining a plurality of target operating devices according to the plurality of connection information recorded in the debug record table comprises:
selecting the connection information of a plurality of target operation devices with the access time closest to the current time from the debugging record table according to the number of the connection information recorded in the debugging record table and the access time of the operation devices which establish debugging connection with the compiling device;
determining the plurality of target operating devices based on the connection information of the plurality of target operating devices.
4. The method according to claim 3, wherein the selecting, from the debug record table, connection information of a plurality of target running devices having access times closest to a current time according to the number of pieces of connection information recorded in the debug record table and the access time of the running device that has established a debug connection with the compiling device, includes:
when the number of the connection information recorded in the debugging record table does not exceed the preset number, selecting a plurality of connection information stored in the debugging record table;
and when the number of the connection information recorded in the debugging record exceeds the preset number, selecting a plurality of pieces of connection information with the access time closest to the current time from the debugging record table according to the access time of the running equipment which establishes the debugging connection with the compiling equipment.
5. The method of claim 3, further comprising:
determining whether the number of the currently recorded connection information in the debugging record table exceeds a preset number;
and when the number of the connection information currently recorded in the debugging record table exceeds the preset number, deleting the connection information which is inserted into the debugging record table at the earliest time so as to enable the number of the connection information currently recorded in the debugging record table not to exceed the preset number.
6. The method according to any one of claims 1-4, wherein the running the second compiled file on the plurality of target running devices results in a plurality of second running results, comprising:
and sending the second compiled file to the target operation devices based on the connection information of the target operation devices, so that the target operation devices respectively operate the second compiled file to obtain a plurality of second operation results.
7. An apparatus for debugging an application, the apparatus comprising:
the establishing module is configured to establish debugging connection with a first running device when the first running device is detected to be accessed to a compiling device;
the running module is configured to run a first compiling file on the first running device based on the debugging connection to obtain a first running result;
the device comprises an adding module, a judging module and a judging module, wherein the adding module is configured to determine whether first connection information is stored in a debugging record table, and the connection information of the running equipment stored in the debugging record table is sorted according to the access time of the running equipment; when the first connection information is not stored in the debugging record table, adding the first connection information into the debugging record table; when the first connection information is stored in the debugging record table, moving the position of the first connection information in the debugging record table, wherein the debugging record table is used for storing the connection information of the running equipment with the established debugging connection; the first compiling file comprises codes obtained by compiling the application program by the compiling equipment;
a first determining module configured to determine a plurality of target operating devices according to a plurality of connection information recorded in the debug record table when the first compiled file is modified based on the first operating result to obtain a second compiled file;
the running module is further configured to run the second compiled file on the plurality of target running devices to obtain a plurality of second running results.
8. The apparatus of claim 7, wherein the adding module is further configured to add the first connection information to a front-most end of the debug record table;
the establishing module is further configured to move down the connection information located at the front end of the first connection information in the debugging record table, and move the first connection information to the foremost end of the debugging record table.
9. The apparatus according to claim 7, wherein the first determining module is further configured to select, according to the number of pieces of connection information recorded in the debug record table and an access time of a running device with which the debug connection has been established with the compiling device, connection information of a plurality of target running devices whose access time is closest to a current time from the debug record table;
determining the plurality of target operating devices based on the connection information of the plurality of target operating devices.
10. The apparatus of claim 9, wherein the first determining module is further configured to select a plurality of connection information stored in the debug record table when the number of connection information recorded in the debug record table does not exceed a preset number;
and when the number of the connection information recorded in the debugging record exceeds the preset number, selecting a plurality of pieces of connection information with the access time closest to the current time from the debugging record table according to the access time of the running equipment which establishes the debugging connection with the compiling equipment.
11. The apparatus of claim 9, further comprising:
a second determination module configured to determine whether the number of pieces of connection information currently recorded in the debug record table exceeds a preset number;
and the deleting module is configured to delete the connection information which is earliest inserted into the debugging record table when the number of the connection information currently recorded in the debugging record table exceeds the preset number, so that the number of the connection information currently recorded in the debugging record table does not exceed the preset number.
12. The apparatus according to any one of claims 7 to 10, wherein the execution module is further configured to send the second compiled file to the target execution devices based on a plurality of connection information of the target execution devices, so that the target execution devices respectively execute the second compiled file to obtain the second execution results.
13. A compiling device characterized by comprising a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
when detecting that a first running device is accessed to a compiling device, establishing debugging connection with the first running device, running a first compiling file on the first running device based on the debugging connection to obtain a first running result, and determining whether first connection information is stored in a debugging record table, wherein the connection information of the running devices stored in the debugging record table is sorted according to the access time of the running devices;
when the first connection information is not stored in the debugging record table, adding the first connection information into the debugging record table;
when the first connection information is stored in the debugging record table, moving the position of the first connection information in the debugging record table, wherein the debugging record table is used for storing the connection information of the running equipment with the established debugging connection; the first compiling file comprises codes obtained by compiling an application program by compiling equipment;
when the first compiled file is modified based on the first operation result to obtain a second compiled file, determining a plurality of target operation devices according to a plurality of connection information recorded in the debugging record table;
and running the second compiled file on the target running devices to obtain a plurality of second running results.
14. A storage medium having stored thereon instructions for execution by a processor to perform a method of debugging an application according to any of claims 1-6.
CN201811638872.5A 2018-12-29 2018-12-29 Method, device, equipment and storage medium for debugging application program Active CN109828915B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811638872.5A CN109828915B (en) 2018-12-29 2018-12-29 Method, device, equipment and storage medium for debugging application program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811638872.5A CN109828915B (en) 2018-12-29 2018-12-29 Method, device, equipment and storage medium for debugging application program

Publications (2)

Publication Number Publication Date
CN109828915A CN109828915A (en) 2019-05-31
CN109828915B true CN109828915B (en) 2022-04-01

Family

ID=66861308

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811638872.5A Active CN109828915B (en) 2018-12-29 2018-12-29 Method, device, equipment and storage medium for debugging application program

Country Status (1)

Country Link
CN (1) CN109828915B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111338961B (en) * 2020-02-28 2023-10-20 北京小米移动软件有限公司 Application debugging method and device, electronic equipment and storage medium
CN111885218B (en) * 2020-07-22 2023-06-23 海尔优家智能科技(北京)有限公司 Method and device for managing intelligent equipment and binding equipment
CN116069668B (en) * 2023-03-07 2023-06-09 中科方德软件有限公司 Debugging method, device, equipment and storage medium for distributed compiling construction task

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2953612A1 (en) * 2009-12-03 2011-06-10 Flexycore METHOD FOR DEVELOPING SOFTWARE APPLICATION, SYSTEM AND CORRESPONDING COMPUTER PROGRAM PRODUCT.
CN103546586A (en) * 2012-07-11 2014-01-29 鸿富锦精密工业(深圳)有限公司 Internet Protocol (IP) address matching system and method
CN104615617A (en) * 2014-05-13 2015-05-13 国家电网公司 Dispatch monitoring information processing system for substation equipment
CN105302623A (en) * 2014-07-28 2016-02-03 中兴通讯股份有限公司 Compiling method, control method, running method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2953612A1 (en) * 2009-12-03 2011-06-10 Flexycore METHOD FOR DEVELOPING SOFTWARE APPLICATION, SYSTEM AND CORRESPONDING COMPUTER PROGRAM PRODUCT.
CN103546586A (en) * 2012-07-11 2014-01-29 鸿富锦精密工业(深圳)有限公司 Internet Protocol (IP) address matching system and method
CN104615617A (en) * 2014-05-13 2015-05-13 国家电网公司 Dispatch monitoring information processing system for substation equipment
CN105302623A (en) * 2014-07-28 2016-02-03 中兴通讯股份有限公司 Compiling method, control method, running method and device

Also Published As

Publication number Publication date
CN109828915A (en) 2019-05-31

Similar Documents

Publication Publication Date Title
CN107885533B (en) Method and device for managing component codes
CN110841285B (en) Interface element display method and device, computer equipment and storage medium
CN110308956B (en) Application interface display method and device and mobile terminal
CN110659127A (en) Method, device and system for processing task
CN108717365B (en) Method and device for executing function in application program
CN108897659B (en) Method, device and storage medium for modifying log level
CN110058935B (en) Log level adjusting method, device and system and readable storage medium
CN109828915B (en) Method, device, equipment and storage medium for debugging application program
CN111858382A (en) Application program testing method, device, server, system and storage medium
CN111897465B (en) Popup display method, device, equipment and storage medium
CN111400002B (en) Application process and processor core binding method and terminal
CN110636144A (en) Data downloading method and device
CN111753606A (en) Intelligent model upgrading method and device
CN107943484B (en) Method and device for executing business function
CN111191227A (en) Method and device for preventing malicious code from executing
CN110086814B (en) Data acquisition method and device and storage medium
CN111881423A (en) Method, device and system for limiting function use authorization
CN109107163B (en) Analog key detection method and device, computer equipment and storage medium
CN111464829B (en) Method, device and equipment for switching media data and storage medium
CN112015612B (en) Method and device for acquiring stuck information
CN111064657B (en) Method, device and system for grouping concerned accounts
CN113843814A (en) Control system, method, device and storage medium for mechanical arm equipment
CN110471613B (en) Data storage method, data reading method, device and system
CN113268234A (en) Page generation method, device, terminal and storage medium
CN108310767B (en) Information display method, device, equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant