CN110515831A - Breakpoint debugging method, debugging system, computer equipment and computer storage medium - Google Patents

Breakpoint debugging method, debugging system, computer equipment and computer storage medium Download PDF

Info

Publication number
CN110515831A
CN110515831A CN201910634894.2A CN201910634894A CN110515831A CN 110515831 A CN110515831 A CN 110515831A CN 201910634894 A CN201910634894 A CN 201910634894A CN 110515831 A CN110515831 A CN 110515831A
Authority
CN
China
Prior art keywords
backup file
information backup
server
interface
user
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.)
Pending
Application number
CN201910634894.2A
Other languages
Chinese (zh)
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.)
Ping An Puhui Enterprise Management Co Ltd
Original Assignee
Ping An Puhui Enterprise Management 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 Ping An Puhui Enterprise Management Co Ltd filed Critical Ping An Puhui Enterprise Management Co Ltd
Priority to CN201910634894.2A priority Critical patent/CN110515831A/en
Publication of CN110515831A publication Critical patent/CN110515831A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/362Software debugging
    • G06F11/366Software debugging using diagnostics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

This application involves testing tool field more particularly to a kind of breakpoint debugging method, debugging system, computer equipment and computer storage mediums.Method is applied to debugging system, and debugging system includes UE and server, and method includes: UE to server transmission interface debugging request, and interface debugging request carries out debugging breakpoints to target application interface for requesting;Server obtains attribute information backup file and user information backup file, and for backing up user in the information that inputs at target application interface, user information backup file is used to back up user and is directed to the input information that can input information submission attribute information backup file;Server sends feedback information to UE, and feedback information includes attribute information backup file and user information backup file;UE loads attribute information backup file and user information backup file in the test environment at target application interface, carries out debugging breakpoints to target application interface.

Description

Breakpoint debugging method, debugging system, computer equipment and computer storage medium
Technical field
This application involves testing tool field more particularly to a kind of breakpoint debugging method, debugging system, computer equipment with And computer storage medium.
Background technique
In the life cycle of a application product, it must pass through a development phase, developer produces according to application The exploitation demand of product carries out the design of Software Coding, using debugging and checks and accepts, finally pushes user to.
It is appreciated that no matter how perfect program is in the exploitation of application product, always there is the case where collapse (crash), Also therefore, crash log is introduced in the exploitation of application product, when application product is in commissioning test, crash log can be captured The abnormal conditions of appearance, so that developer can find according to crash log abnormal program occurs after application product collapse Section, carries out the amendment of program.
However, in practical applications, application product there are still crash log capture less than abnormal conditions, for collapse day The defect of will then needs to consider new debud mode, more accurately to be debugged, positions and correct the exception of application product Program segment.
Summary of the invention
The main purpose of the application is when the program at target application interface is not collapsed, it is convenient to target application interface into Row debugging breakpoints.
To achieve the above object, for the application in a first aspect, providing a kind of breakpoint debugging method, method is applied to debugging system System, debugging system includes user equipment (User Equipment, UE) and server, method include:
UE sends interface debugging request to server, and interface debugging request carries out breakpoint to target application interface for requesting Debugging;
Server obtains attribute information backup file and user information backup file, and attribute information backup file is for standby In the information that inputs at target application interface, user information backup file is directed to for backing up user and can input information and mention by part user The input information of friendship;
Server sends feedback information to UE, and feedback information includes attribute information backup file and user information backup text Part;
UE loads attribute information backup file and user information backup text in the test environment at target application interface Part carries out debugging breakpoints to target application interface.
Preferably, server obtains attribute information backup file and user information backup file includes:
Server receives the attribute information one's duty file and user information backup file that UE is sent, attribute information backup text Part and user information backup file are obtained by UE in local backup respectively;Alternatively,
Server receives the input information that UE is sent;
Server backup input information obtains user information backup information;
Server backup can input information and obtain attribute information backup file.
Preferably, server obtains attribute information backup file and user information backup file includes:
Server receives the attribute information backup file that UE is sent, and attribute information backup file is obtained by UE in local backup It arrives;
After the attribute information backup file that server receives UE transmission, server believes the input for receiving UE transmission Breath is backed up, and user information backup file is obtained.
Preferably, method further include:
Attribute information backup file and user information backup file are stored in log Platform Server by server;
Server obtains the attribute information backup file of target interface and user information backup file includes:
Server transfers attribute information backup file and user's letter according to interface debugging request, from log Platform Server Cease backup file.
Preferably, target application interface is equipped with interface identification (Identification, ID), and server obtains attribute letter Breath backup file and user information backup file include:
The interface I D that server is carried according to interface debugging request reads from the file storage address at target application interface and belongs to Property information back-up file and user information backup file;
Server obtains attribute information backup file and user information backup file.
Preferably, attribute information backup file and user information backup file are respectively equipped with User ID and UE ID, clothes Business device obtains the attribute information backup file of target interface and user information backup file includes:
It is standby to obtain attribute information from database for the User ID and UE ID that server is carried according to interface debugging request Part file and user information backup file, database purchase have different attribute information backup files and different user's letters Cease backup file.
Preferably, UE loads attribute information backup file and user information in the test environment at target application interface Backup file, carrying out debugging breakpoints to target application interface includes:
UE is in the test environment at target application interface, by attribute information backup file copy to target interface about can be defeated Enter the first specified storage address of information;
UE is in the test environment at target application interface, by user information backup file copy to target interface about input The specified storage address of the second of information;
In the test environment at target application interface when operational objective interface, the specified storage address of load first stores UE Attribute information backup file and the user information backup file of the second specified storage address storage, carry out target application interface Debugging breakpoints.
In addition, to achieve the above object, the application also provides a kind of debugging system in second aspect, and debugging system includes UE and server;
UE, for server send interface debugging request, interface debugging request for request to target application interface into Row debugging breakpoints;
Server, for obtaining attribute information backup file and user information backup file, attribute information backup file For backing up user in the information that inputs at target application interface, user information backup file is directed to and can input for backing up user The input information that information is submitted;
Server, is also used to send feedback information to UE, and feedback information includes attribute information backup file and user's letter Cease backup file;
UE is also used in the test environment at target application interface, loads attribute information backup file and user information Backup file carries out debugging breakpoints to target application interface.
Preferably, server is specifically used for:
Receive UE send attribute information backup file and user information backup file, attribute information backup file and User information backup file is obtained by UE in local backup respectively;Alternatively,
Receive the input information that UE is sent;
Backup input information obtains user information backup information;
Backup can input information and obtain attribute information backup file.
Preferably, server is specifically used for:
The attribute information backup file that UE is sent is received, attribute information backup file is obtained by UE in local backup;
After the attribute information backup file for receiving UE transmission, the input information for receiving UE transmission is backed up, Obtain user information backup file.
Preferably, server is also used to:
Attribute information backup file and user information backup file are stored in log Platform Server;
Server is specifically used for:
According to interface debugging request, attribute information backup file and user information backup are transferred from log Platform Server File.
Preferably, target application interface is equipped with interface I D, and server is specifically used for:
According to the interface I D that interface debugging request carries, the file storage address at target application interface is determined;
File storage address from target application interface, reading attributes information back-up file and user information backup text Part.
Preferably, attribute information backup file and user information backup file are respectively equipped with User ID and UE ID, clothes Business implement body is used for:
The User ID and UE ID carried according to interface debugging request, obtains attribute information backup file from database And user information backup file, attribute information backup file that database purchase has target application interface different and different User information backup file.
Preferably, UE is specifically used for:
In the test environment at target application interface, by attribute information backup file copy to target interface about can input The specified storage address of the first of information;
In the test environment at target application interface, user information backup file copy to target interface is believed about input Second specified storage address of breath;
In the test environment at target application interface when operational objective interface, the category of the specified storage address storage of load first Property information back-up file and the storage of the second specified storage address user information backup file, break to target application interface Point debugging.
In addition, to achieve the above object, the application also provides a kind of computer equipment, computer equipment in the third aspect Including processor and memory, memory is for storing program code, and processor is for calling the program stored in memory Code come execute as first aspect provide breakpoint debugging method.
In addition, to achieve the above object, the application also provides a kind of computer storage medium in fourth aspect comprising Instruction, when run on a computer, so that computer executes the breakpoint debugging method provided such as first aspect.
As can be seen from the above technical solutions, the application has the following advantages:
For the debugging of application product, pass through the attribute information backup file and user information of remote backup target interface Backup file, after server receives the interface debugging request that UE is sent, interface debugging request is for requesting to target application circle Face carries out debugging breakpoints;Server obtains attribute information backup file and user information backup file, attribute information backup text For part for backing up user in the information that inputs at target application interface, user information backup file can be defeated for backing up that user is directed to Enter the input information of information submission;Server to UE send feedback information, feedback information include attribute information backup file and User information backup file, feedback information are used to indicate UE in attribute information backup file and the base of user information backup file Debugging breakpoints are carried out on plinth, so that can effectively avoid can not position abnormal program by crash log when application product does not collapse The defect of section carries out debugging breakpoints directly against the target interface of application product, detects in target interface, specifically which can Item of information is inputted, no normal direction server submits the input information of user, to realize the salvaging of the user data of target interface Reduction debugging, facilitates developer to position and corrects the abnormal program segment that target interface is submitted for information about.
Detailed description of the invention
Fig. 1 is a kind of flow diagram of the application breakpoint debugging method;
Fig. 2 is a kind of flow diagram of the application back-up processing;
Fig. 3 is another flow diagram of the application back-up processing;
Fig. 4 is another flow diagram of the application back-up processing;
Fig. 5 is a kind of structural schematic diagram of the application debugging system;
Fig. 6 is a kind of structural schematic diagram of the application computer equipment.
The embodiments will be further described with reference to the accompanying drawings for realization, functional characteristics and the advantage of the application purpose.
Specific embodiment
The application provides a kind of breakpoint debugging method, debugging system, computer equipment and computer storage medium, is used for It is convenient that debugging breakpoints are carried out to target application interface when program at target application interface is not collapsed.
In this application, UE is specifically as follows smart phone, tablet computer, laptop, desktop computer or computer The terminal devices such as all-in-one machine, user can by UE to server initiate interface debugging request, and receive server issue it is anti- After feedforward information, debugging breakpoints are carried out to target application interface, to realize the breakpoint debugging method of the application.
Referring to Fig.1, Fig. 1 is a kind of flow diagram of the application breakpoint debugging method, specifically, method includes following step It is rapid:
Step S101, UE send interface debugging request to server;
Wherein, interface debugging request carries out debugging breakpoints to target application interface for requesting.
It is appreciated that in the exploitation of a application product, in terms of can involve server side and client-side two, and needle For the application product of client, then by showing application interface, application interface may include the input that interface jumps interface, text Output, audio-video the elements such as click play, to realize the interaction between application product and user.
In application interface, by taking process application class interface as an example, the window of multiple editable input information is provided a user Mouthful, so as to input and report flow application needed for user information.
And if there is a window and completing the feelings that data report without normal direction server user has input user information When condition, then the user data for being easy to appear full page submits failure, however the program operation of application interface does not occur but at this time Collapse case, for system, there is no abnormal, then needing to find out these not at this time influences application interface operation but for the operation of program Influence the program segment that information is submitted.
Staff can determine the target application interface for currently needing to carry out debugging breakpoints on UE, regenerate corresponding Interface debugging request, and server is reported to, debugging breakpoints are carried out to target application interface with request.
Step S102, server obtain attribute information backup file and user information backup file;
Wherein, attribute information backup file is for backing up user in the information that inputs at target application interface, user information Backup file is used to back up user and is directed to the input information that can input information submission.
After receiving the interface debugging request that UE is reported, server can determine the corresponding target application interface of the request, And obtain the corresponding attribute information backup file in target application interface and user information backup file.
Step S103, server send feedback information to UE;
Wherein, feedback information includes attribute information backup file and user information backup file.
After getting attribute information backup file and user information backup file, server can issue carrying to UE and belong to Property information back-up file and use information back-up file, can specifically be carried in the feedback information for being issued to UE one.
Step S104, UE load attribute information backup file and user's letter in the test environment at target application interface Backup file is ceased, debugging breakpoints are carried out to target application interface.
UE is after receiving the feedback information, and UE can be on the basis of the two, and the true target application interface that restores is not collapsing The input information that environment and user in the case where bursting have been filed at target application interface, staff can test, For not submitting input information to input information, continue to input corresponding information, and submitted to server, it is convenient can be fast Speed find out it is specific it is remaining which can input information, no normal direction server submits the input information of user, to produce for application The target interface of product can carry out effective debugging breakpoints, and facilitating developer that can efficiently position and correct does not influence target application The operation at interface but influences the abnormal program segment of its information submission.
From the foregoing, it will be observed that the breakpoint debugging method of the application passes through remote backup target for the debugging of application product The attribute information backup file and user information backup file at interface, when server receives the interface debugging request that UE is sent Afterwards, interface debugging request carries out debugging breakpoints to target application interface for requesting;Server obtains attribute information backup file And user information backup file, attribute information backup file input information at target application interface for backing up user, User information backup file is used to back up user and is directed to the input information that can input information submission;Server sends feedback letter to UE Breath, feedback information includes that attribute information backup file and user information backup file, feedback information are used to indicate UE in attribute Debugging breakpoints are carried out on the basis of information back-up file and user information backup file, under the setting, can effectively avoid The defect of abnormal program segment can not be positioned when application product does not collapse by crash log, the true target application interface that restores is not The input information that environment and user in the case where collapse have been filed at target application interface facilitates and continues to not submitting input The information that inputs of information is tested, rapidly find out it is specific which can input information, no normal direction server submits that user's is defeated Enter information, so that the target interface for application product can carry out effective debugging breakpoints, facilitates developer that can efficiently determine The operation that position and amendment do not influence target application interface but influences the abnormal program segment of its information submission.
Then, the breakpoint debugging method of the application can also carry out a variety of optimization, such as some in practical applications In implementation, for the backup operation of attribute information backup file and user information backup file, can by UE, server or Both persons execute.
1, it is locally executed by UE
Referring to Fig.2, Fig. 2 shows a kind of flow diagram of the application back-up processing, UE receives user and answers target It is operated with the input for inputting information at interface, then submits the input information of user's input to server and receive and complete submission When feedback, back-up processing can be carried out to the input information, obtain user information backup file;And attribute information backup file is standby Part processing can then not have to be restricted, carry out before reporting to server.
It is understood that in debugging breakpoints, the back-up processing function of above-mentioned client application product can be defaulted and open It is dynamic;Start alternatively, can also be triggered by staff.
After back-up processing obtains attribute information backup file and user information backup file, UE can be on server Report, to carry out the relevant treatments such as storage processing.
2, it is executed by server local
Another flow diagram of the application back-up processing is shown refering to Fig. 3, Fig. 3, is mentioned when server receives UE Friendship when, while carrying out normal response, can also carry out back-up processing, obtain user information backup file;And attribute information The back-up processing of backup file can then not have to be restricted, carry out before receiving interface debugging request.
It is understood that in debugging breakpoints, the back-up processing function of above-mentioned server can default starting;Alternatively, also It can be triggered and be started by staff.
After back-up processing obtains attribute information backup file and user information backup file, server can be stored The relevant treatments such as processing.
3, it is executed with both UE and server
Another flow diagram of the application back-up processing is shown refering to Fig. 4, Fig. 4, UE is first locally carrying out attribute The back-up processing of information back-up file, then reported to server, and thus trigger the server carries out user information backup file Back-up processing, when the user that server receipt of subsequent UE is reported is directed to the information for inputting information input at target application interface When, which is subjected to back-up processing, obtains user information backup file.
Obviously, in first two mode, UE or Server Default carry out back-up processing automatically, although ensure that available All backup files, but also imply that and be easy to carry out excessive unnecessary back-up job, and occupy the data storage of response Space, a large amount of data volume are also not easy to be retrieved and managed;If but being triggered by staff, there is also one The problem of artificial triggering, especially on the server, the system function change of data, are more sensitive, in practical application slightly not Just place.
And in the third mode, the back-up processing of attribute information backup file is first carried out by UE, then report simultaneously to server Trigger the server carries out the back-up processing of user information backup file, at this point, no matter being to be belonged on UE by artificial or default triggering Property information back-up file back-up processing, then server can as the trigger signal of debugging breakpoints, start user information it is standby The back-up processing of part file reduces the memory space of occupancy to not only can avoid excessive unnecessary back-up job, convenient for inspection Rope and management also can avoid the sensibility manually triggered on server, so that it is upper more flexibly in application, more meet reality The demand of application.
In another implementation, server is getting the corresponding attribute information backup text in target application interface in advance After part and user information backup file, a memory space, attribute information storage backup file and user can be locally-assigned Information back-up file.When receiving the interface debugging request that UE is reported, then from local memory space, grab corresponding attribute Information back-up file and user information backup file.
It is set alternatively, attribute information backup file and user information backup file can be also stored in other storages by server It is standby upper, such as:
Log platform reliability with higher in data protection (anti-lost), not only can quick response collection demand, place Relevant formatting is managed, can also conveniently check real time data, therefore, server can believe attribute information backup file and user Breath backup file is stored on log Platform Server, is not only facilitated storage, is also conveniently transferred.
Server can be transferred quickly from log Platform Server corresponding when receiving the interface debugging request that UE is reported Attribute information backup file and user information backup file are to server local, then the movement issued to UE;Alternatively, clothes Business device also directly can transfer attribute information backup file and user information backup file in log Platform Server, and indicate day The movement that will Platform Server is directly issued to UE.
In another implementation, server navigates to the file storage ground at target application interface according to interface I D Location, the address can store the backup file at target application interface dedicated for assisting the breakpoint debugging method of the application, thus, Server can read the corresponding attribute information backup file in target application interface and user information backup file from the address.
Alternatively, attribute information backup file and user information backup file can also be respectively equipped with User ID and UE ID, To bind the particular UE of attribute information backup file and user information backup file and special workers, not only The restriction at target application interface, the directly acquisition of progress attribute information backup file and user information backup file can be got around, And then each application interface can be realized according to different staff and UE, to attribute information backup file and user information Backup file distinguishes storage, to also be more convenient for retrieving and manage.
Wherein, the corresponding different attribute information back-up file of the multiple application interfaces of database purchase and use can be passed through Family information back-up file.
To which the interface debugging request that UE is reported carries User ID and UE ID, when server receives the interface tune Examination request when, can according to the User ID and UE ID wherein carried, quickly navigate to corresponding attribute information backup file and User information backup file.
It should be noted that the back-up processing of above-mentioned attribute information backup file and user information backup file and obtaining Processing (reading process) is taken, can then one execute, execution can also be combined, specifically it is not limited here.
In another implementation, UE upon reception of the feedback information, can directly by attribute information backup file and User information backup file, that stores or be covered on target application interface inputs information and user for can input information Specified storage address of the input information of submission in UE, the i.e. corresponding default storage address of application product.
UE loads the attribute information backup file and user that specified storage address stores respectively at operational objective interface Information back-up file carries out debugging breakpoints.
To, when it is subsequent need to carry out debugging breakpoints again when, UE can again from server reacquire carry attribute information The feedback information of backup file and user information backup file.
Alternatively, UE is upon reception of the feedback information, attribute information backup file copy can also can extremely be inputted to the of information One specified storage address, and user information backup file copy to user is directed to the input information that can input information submission Second specified storage address.
UE loads what the first specified storage address and the second specified storage address stored respectively at operational objective interface Attribute information backup file and user information backup file carry out debugging breakpoints.
To which when needing to carry out debugging breakpoints again, UE copy attribute information back-up file and user can believe again Backup file is ceased, without obtaining the feedback for carrying attribute information backup file and user information backup file from server again Information not only saves the cost of Signalling exchange between UE and server, the debugging efficiency of debugging breakpoints also can be improved.
It is the introduction of the application breakpoint debugging method above, the debugging system of the application is described below.
Referring to Fig. 5, Fig. 5 is a kind of structural schematic diagram of the application debugging system, specifically, debugging system includes UE501 And server 502;
UE501, for sending interface debugging request to server 502, interface debugging request is for requesting to target application Interface carries out debugging breakpoints;
Server 502, for obtaining attribute information backup file and user information backup file, attribute information backup text For part for backing up user in the information that inputs at target application interface, user information backup file can be defeated for backing up that user is directed to Enter the input information of information submission;
Server 502, be also used to UE501 send feedback information, feedback information include attribute information backup file and User information backup file;
UE501 is also used in the test environment at target application interface, loads attribute information backup file and user's letter Backup file is ceased, debugging breakpoints are carried out to target application interface.
In one implementation, server 502 is specifically used for:
Receive UE send attribute information backup file and user information backup file, attribute information backup file and User information backup file is obtained by UE in local backup respectively;Alternatively,
Receive the input information that UE is sent;
Backup input information obtains user information backup information;
Backup can input information and obtain attribute information backup file.
In another implementation, server 502 is specifically used for:
The attribute information backup file that UE is sent is received, attribute information backup file is obtained by UE in local backup;
After the attribute information backup file for receiving UE transmission, the input information for receiving UE transmission is backed up, Obtain user information backup file.
In another implementation, server 502 is also used to:
Attribute information backup file and user information backup file are stored in log Platform Server;
Server 502 is specifically used for:
According to interface debugging request, attribute information backup file and user information backup are transferred from log Platform Server File.
In another implementation, target application interface is equipped with interface I D, and server 502 is specifically used for:
According to the interface I D that interface debugging request carries, the file storage address at target application interface is determined;
File storage address from target application interface, reading attributes information back-up file and user information backup text Part.
In another implementation, attribute information backup file and user information backup file are respectively equipped with User ID And UE ID, server 502 are specifically used for:
The User ID and UE ID carried according to interface debugging request, obtains attribute information backup file from database And user information backup file, attribute information backup file that database purchase has target application interface different and different User information backup file.
In another implementation, UE501 is specifically used for:
In the test environment at target application interface, by attribute information backup file copy to target interface about can input The specified storage address of the first of information;
In the test environment at target application interface, user information backup file copy to target interface is believed about input Second specified storage address of breath;
In the test environment at target application interface when operational objective interface, the category of the specified storage address storage of load first Property information back-up file and the storage of the second specified storage address user information backup file, break to target application interface Point debugging.
The above is the debugging system described in the application from the angle of modular functionality entity, below then from hardware point of view The computer equipment that the application debugging system is related to is introduced, computer equipment can be UE or server, refering to shown in fig. 6 The structural schematic diagram of computer equipment, computer equipment include: processor 601, memory 602, and memory 602 is for storing journey Sequence code, processor 601 is for calling the program code stored in memory 602 to execute in corresponding embodiment as shown in Figure 1 to Figure 4 Breakpoint debugging method;Alternatively, processor 601 calls the program code stored in memory 602 to correspond in fact to execute above-mentioned Fig. 5 Apply the function of UE and/or server in example.
Processor 601 can be central processing unit (Central Processing Unit, CPU), can also be other General processor, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor Deng processor is the control centre of computer equipment, utilizes each portion of various interfaces and the entire computer equipment of connection Point.
Memory 602 can be used for storing computer program and/or module, and processor 601 is stored in by operation or execution Computer program and/or module in memory 602, and the data being stored in memory 602 are called, realize that computer is set Standby various functions.Memory 602 can mainly include storing program area and storage data area, wherein storing program area can store Application program needed for operating system, at least one function (such as sound-playing function, image player function etc.) etc.;Store number It can be stored according to area and created data (such as audio data, video data etc.) etc. are used according to mobile phone.In addition, memory 602 may include high-speed random access memory, can also be hard including nonvolatile memory, such as hard disk, memory, plug-in type Disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card), at least one disk memory, flush memory device or other volatile solid-state parts.
Input-output unit can also be replaced with input unit and output unit, can be real for same or different physics Body.When for identical physical entity, input-output unit may be collectively referred to as.The input-output unit can be transceiver.
Computer equipment may also include input-output unit, and processor 601, memory 602 and input-output unit can It is connected by bus.
Memory 602 can integrate in processor 601, can also be provided separately with processor 601.
The application also provides a kind of computer storage medium, is stored thereon with computer program, when it is transported on computers When row, so that computer executes the breakpoint debugging method in corresponding embodiment as shown in Figure 1 to Figure 4.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, the technical solution of the application substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM), including some instructions are used so that a terminal (can be mobile phone, computer, server or network are set It is standby etc.) execute method described in each embodiment of this hair application.
It is apparent to those skilled in the art that for convenience and simplicity of description, the debugging of foregoing description The specific work process of system, UE and server, can be referring to figs. 1 to the breakpoint debugging method in Fig. 4 corresponding embodiment Illustrate, specific details are not described herein.
In conclusion from the foregoing, it will be observed that the breakpoint debugging method of the application, debugging system, computer equipment and meter Calculation machine storage medium passes through the attribute information backup file and use of remote backup target interface for the debugging of application product Family information back-up file, after server receives the interface debugging request that UE is sent, interface debugging request is for requesting to target Application interface carries out debugging breakpoints;Server obtains attribute information backup file and user information backup file, attribute information Backup file is for backing up user in the information that inputs at target application interface, and user information backup file is for backing up user's needle To the input information that can input information submission;Server sends feedback information to UE, and feedback information includes attribute information backup text Part and user information backup file, feedback information are used to indicate UE in attribute information backup file and user information backup text Debugging breakpoints are carried out on the basis of part, under the setting, can effectively avoid when application product does not collapse by crash log without The defect of legal position exception program segment, the true environment and user for restoring target application interface in the case where not collapsing is in mesh The input information that mark application interface has been filed on facilitates and continues to test the information that inputs for not submitting input information, quickly Find out it is specific which can input information, no normal direction server submits the input information of user, to be directed to the target of application product Interface can carry out effective debugging breakpoints, facilitate developer that can efficiently position and correct the fortune for not influencing target application interface Row but influences the abnormal program segment of its information submission.
Embodiments herein is described above in conjunction with attached drawing, but the application be not limited to it is above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the enlightenment of the application, when not departing from the application objective and scope of the claimed protection, can also it make very much Form, it is all using equivalent structure or equivalent flow shift made by present specification and accompanying drawing content, directly or indirectly Other related technical areas are used in, these are belonged within the protection of the application.

Claims (10)

1. a kind of breakpoint debugging method, which is characterized in that the method is applied to debugging system, and the debugging system includes user Equipment UE and server, which comprises
The UE sends interface debugging request to server, and the interface debugging request carries out target application interface for requesting Debugging breakpoints;
The server obtains attribute information backup file and user information backup file, and the attribute information backup file is used In input information of the backup user at the target application interface, the user information backup file is directed to for backing up user The input information for inputting information submission;
The server sends feedback information to the UE, and the feedback information includes the attribute information backup file and institute State user information backup file;
The UE loads the attribute information backup file and user information in the test environment at the target application interface Backup file carries out the debugging breakpoints to the target application interface.
2. the method according to claim 1, wherein the server obtains attribute information backup file and use Family information back-up file includes:
The server receives the attribute information backup file and the user information backup file that the UE is sent, institute It states attribute information backup file and the user information backup file is obtained by the UE in local backup respectively;Alternatively,
The server receives the input information that the UE is sent;
Input information described in the server backup obtains the user information backup information;
Information can be inputted described in the server backup obtains the attribute information backup file.
3. the method according to claim 1, wherein the server obtains attribute information backup file and use Family information back-up file includes:
The server receives the attribute information backup file that the UE is sent, and the attribute information backup file is by described UE is obtained in local backup;
After the attribute information backup file that the server receives that the UE is sent, the server will receive UE The input information sent is backed up, and the user information backup file is obtained.
4. the method according to claim 1, wherein the method also includes:
The attribute information backup file and the user information backup file are stored in log platform clothes by the server Business device;
The server obtains the attribute information backup file of the target interface and user information backup file includes:
The server transfers the attribute information backup text according to the interface debugging request, from the log Platform Server Part and the user information backup file.
5. the method according to claim 1, wherein the target application interface be equipped with interface identification ID, it is described Server obtains attribute information backup file and user information backup file includes:
The interface I D that the server is carried according to the interface debugging request determines the file storage at the target application interface Address;
The server reads the attribute information backup file and institute from the file storage address at the target application interface State user information backup file.
6. the method according to claim 1, wherein the attribute information backup file and the user information Backup file is respectively equipped with user identifier ID and UE ID, and the server obtains the attribute information backup of the target interface File and user information backup file include:
The User ID and the UE ID that the server is carried according to the interface debugging request, are obtained from database The attribute information backup file and the user information backup file, the database purchase is taken to have target application circle The different attribute information backup file in face and different user information backup files.
7. the method according to claim 1, wherein test environment of the UE at the target application interface In, the attribute information backup file and user information backup file are loaded, the target application interface is carried out described disconnected Point is debugged
The UE is in the test environment at the target application interface, by the attribute information backup file copy to the target Interface is about the first specified storage address for inputting information;
The UE is in the test environment at the target application interface, by the user information backup file copy to the target Second specified storage address of the interface about the input information;
When the UE runs the target interface in the test environment at the target application interface, load described first is specified to be deposited The user information of the attribute information backup file and the second specified storage address storage that store up address storage is standby Part file carries out the debugging breakpoints to the target application interface.
8. a kind of debugging system, which is characterized in that the debugging system includes user equipment (UE) and server;
The UE, for sending interface debugging request to the server, the interface debugging request answers target for requesting Debugging breakpoints are carried out with interface;
The server, for obtaining attribute information backup file and user information backup file, the attribute information backup File for backing up user in the information that inputs at the target application interface, use for backing up by the user information backup file Family is for the input information that can input information submission;
The server, is also used to send feedback information to the UE, and the feedback information includes the attribute information backup text Part and the user information backup file;
The UE is also used in the test environment at the target application interface, load the attribute information backup file and User information backup file carries out the debugging breakpoints to the target application interface.
9. a kind of computer equipment, which is characterized in that the computer equipment includes processor and memory, the memory For storing program code, the processor is for calling the program code stored in the memory to execute such as claim Method described in any one of 1 to 7.
10. a kind of computer storage medium, which is characterized in that it includes instruction, when run on a computer, so that calculating Machine executes the method as described in any one of claims 1 to 7.
CN201910634894.2A 2019-07-15 2019-07-15 Breakpoint debugging method, debugging system, computer equipment and computer storage medium Pending CN110515831A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910634894.2A CN110515831A (en) 2019-07-15 2019-07-15 Breakpoint debugging method, debugging system, computer equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910634894.2A CN110515831A (en) 2019-07-15 2019-07-15 Breakpoint debugging method, debugging system, computer equipment and computer storage medium

Publications (1)

Publication Number Publication Date
CN110515831A true CN110515831A (en) 2019-11-29

Family

ID=68623246

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910634894.2A Pending CN110515831A (en) 2019-07-15 2019-07-15 Breakpoint debugging method, debugging system, computer equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN110515831A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105723346A (en) * 2013-08-19 2016-06-29 微软技术许可有限责任公司 Snapshotting executing code with a modifiable snapshot definition
CN107678938A (en) * 2017-08-24 2018-02-09 阿里巴巴集团控股有限公司 The adjustment method and equipment of a kind of application program
CN109726109A (en) * 2018-06-04 2019-05-07 平安普惠企业管理有限公司 Code debugging method, apparatus, equipment and computer storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105723346A (en) * 2013-08-19 2016-06-29 微软技术许可有限责任公司 Snapshotting executing code with a modifiable snapshot definition
CN107678938A (en) * 2017-08-24 2018-02-09 阿里巴巴集团控股有限公司 The adjustment method and equipment of a kind of application program
CN109726109A (en) * 2018-06-04 2019-05-07 平安普惠企业管理有限公司 Code debugging method, apparatus, equipment and computer storage medium

Similar Documents

Publication Publication Date Title
US7900216B2 (en) Creating a modified service request and processing the results of its execution
EP3435235B1 (en) Method and device for executing data recovery operation
US11526342B2 (en) Cancel and rollback update stack requests
CN105630632B (en) The method and virtual machine administration device that a kind of virtual machine recovers
CN101572598B (en) Method and device for reliable rapid integration
CN103309709B (en) A kind of firmware upgrade method, device and communication equipment
US7743281B2 (en) Distributed file fuzzing
US8135821B2 (en) Validation of module interoperability
CN112615746B (en) Edge calculation method, device and system
CN109740129B (en) Report generation method, device and equipment based on blockchain and readable storage medium
US10360095B2 (en) Methods and apparatuses for improving failure recovery in a distributed system
CN110990048A (en) Method and system for monitoring resource loss of Unity project
CN115328759A (en) Form verification method and device
CN113535135B (en) Software development method and device, computer equipment and storage medium
CN107357619A (en) A kind of generation method, device, equipment and the storage medium of board configuration file
CN100568245C (en) The persistence processing method of Work stream data, device and Workflow system
US20230092076A1 (en) Data recovery validation test
CN110515831A (en) Breakpoint debugging method, debugging system, computer equipment and computer storage medium
CN115982049A (en) Abnormity detection method and device in performance test and computer equipment
CN113672277B (en) Code synchronization method, system, computer device and storage medium
US11847845B2 (en) Integrating a widget in a third-party application
CN112269738B (en) CTF target range debugging method, device, electronic equipment and medium
CN114880144A (en) Page data processing method and device, computer equipment and storage medium
CN116414627A (en) Backup data dump method, device, computer equipment and storage medium
US20140215256A1 (en) Feature centric diagnostics for distributed computer systems

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