CN110058996A - Program debugging method, device, equipment and storage medium - Google Patents

Program debugging method, device, equipment and storage medium Download PDF

Info

Publication number
CN110058996A
CN110058996A CN201910183623.XA CN201910183623A CN110058996A CN 110058996 A CN110058996 A CN 110058996A CN 201910183623 A CN201910183623 A CN 201910183623A CN 110058996 A CN110058996 A CN 110058996A
Authority
CN
China
Prior art keywords
attribute
program
name
debugged
value
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.)
Granted
Application number
CN201910183623.XA
Other languages
Chinese (zh)
Other versions
CN110058996B (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.)
Tianjin 58 Home Technology Co Ltd
Original Assignee
Tianjin 58 Home Technology 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 Tianjin 58 Home Technology Co Ltd filed Critical Tianjin 58 Home Technology Co Ltd
Priority to CN201910183623.XA priority Critical patent/CN110058996B/en
Publication of CN110058996A publication Critical patent/CN110058996A/en
Application granted granted Critical
Publication of CN110058996B publication Critical patent/CN110058996B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention discloses a kind of program debugging method, device, equipment and storage mediums.The described method includes: obtaining the attribute list of triggering moment based on the library Runtime in response to preset trigger event in program to be debugged;According to the corresponding attribute value of attribute-name each in attribute list described in key assignments coding dynamic acquisition;By the attribute-name and attribute value classification storage to file is shown, to be debugged according to the displaying file to the program to be debugged.Through the above technical solutions, while capable of obtaining the attribute-name and attribute value of required program to be debugged, development efficiency can be effectively improved in the case where not interrupting development progress.

Description

Program debugging method, device, equipment and storage medium
Technical field
The present embodiments relate to Internet technical fields more particularly to program debugging method, device, equipment and storage to be situated between Matter.
Background technique
In software development process, need to debug repeatedly.The category of each object of program to be debugged can be checked by debugging Property data, based on program to be debugged realize view effect view parameter etc..If it was found that attribute data or view parameter are not just Really, it can correct as early as possible, in order to avoid influence software development effect and development progress.
In the prior art, software debugging is usually inserted into debugging breakpoints by compiler.Specifically, developer wants Understand some attribute data (for example, the position of the occurrence of data, view, size of view etc.) in program to be debugged, needs Exploitation is interrupted, is inserted into breakpoint in corresponding step, thus the data needed for obtaining, so that whether developer judges the data Correctly.When being inserted into debugging breakpoints, developer will terminate current development;Cancel breakpoint after can continue again into Row development.
Summary of the invention
To solve the above-mentioned problems, the embodiment of the present invention provides program debugging method, device, equipment and storage medium, uses Can realize the scheme of the visualization debugging of program under the premise of not interrupting development.
In a first aspect, the embodiment of the present invention provides a kind of program debugging method, this method comprises:
In response to preset trigger event in program to be debugged, the attribute list of triggering moment is obtained based on the library Runtime;
According to the corresponding attribute value of attribute-name each in attribute list described in key assignments coding dynamic acquisition;
By the attribute-name and attribute value classification storage to showing file, with according to the displaying file to described to be debugged Program is debugged.
Further, according to the attribute data at required moment, the determining and associated trigger event of program to be debugged;Institute Stating trigger event includes: any of clicking trigger event, data callback events, page disappearance event.
Further, it is described based on the library Runtime obtain associated attribute lists, comprising: in response to the journey to be debugged The associated trigger event of sequence is based on the library Runtime, traverses the attribute data that the program to be debugged includes;
Remove layout character in the attribute data;
Generate the attribute list comprising the attribute-name.
Further, it is described by the attribute-name and corresponding attribute value classification storage to showing file, comprising: if described Attribute data type is numerical value, then the attribute-name and the attribute value are stored in the form of key-value pair to displaying file.
Further, it is described by the attribute-name and corresponding attribute value classification storage to showing file, comprising: if described Attribute data type is model, then it is literary to showing to store multiple attribute-names and the corresponding attribute value with dictionary format Part.
Further, further includes: if described show that the corresponding attribute value of the attribute-name in file does not meet preset value, Dynamic assignment is then re-started to the attribute-name based on key assignments coding.
Second aspect, the embodiment of the present invention provide a kind of program debugging device, which includes:
Module is obtained, when triggering for being obtained based on the library Runtime in response to preset trigger event in program to be debugged The attribute list at quarter;
Assignment module, for the corresponding attribute value of attribute-name each in the attribute list according to key assignments coding dynamic acquisition;
Memory module is used for the attribute-name and attribute value classification storage to file is shown, according to the displaying text Part debugs the program to be debugged.
Further, according to the attribute data at required moment, the determining and associated trigger event of program to be debugged;Institute Stating trigger event includes: any of clicking trigger event, data callback events, page disappearance event.
Further, the acquisition module, in response to the associated trigger event of program to be debugged, be based on The library Runtime traverses the attribute data that the program to be debugged includes;
Remove layout character in the attribute data;
Generate the attribute list comprising the attribute-name.
Further, the memory module is stored in the form of key-value pair if being numerical value for the attribute data type The attribute-name and the attribute value are to showing file.
Further, the memory module is stored more if being model for the attribute data type with dictionary format A attribute-name and the corresponding attribute value are to showing file.
Further, further includes: if described show that the corresponding attribute value of the attribute-name in file does not meet preset value, Dynamic assignment is then re-started to the attribute-name based on key assignments coding.
The third aspect, the embodiment of the present invention provide a kind of electronic equipment, including processor, memory, and the memory is used In storing one or more computer instruction, wherein real when one or more computer instruction is executed by the processor It is existing:
In response to preset trigger event in program to be debugged, the attribute list of triggering moment is obtained based on the library Runtime;
According to the corresponding attribute value of attribute-name each in attribute list described in key assignments coding dynamic acquisition;
By the attribute-name and attribute value classification storage to showing file, with according to the displaying file to described to be debugged Program is debugged.
Fourth aspect, the embodiment of the invention provides a kind of computer storage mediums, described for storing computer program The program debugging method in above-mentioned first aspect is realized when computer program executes computer.
In embodiments of the present invention, according to the attribute data at required moment, the determining and associated triggering thing of program to be debugged Part, to obtain the attribute list comprising attribute-name based on the library Runtime.Further, it is encoded according to attribute-name according to key assignments Corresponding attribute value in dynamic acquisition program to be debugged, so that attribute data type stores attribute-name and corresponding attribute value to exhibition Show file.Based on the above-mentioned technical proposal, in the case where being not inserted into breakpoint, the category of required object in program to be debugged can be obtained Property name and attribute value, not needing to interrupt development progress can while meeting the attribute data of dynamic acquisition program to be debugged Effectively improve development efficiency.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Bright some embodiments for those of ordinary skill in the art without creative efforts can be with root Other attached drawings are obtained according to these attached drawings.
Fig. 1 is a kind of flow diagram of program debugging method provided in an embodiment of the present invention;
Fig. 2 is a kind of structural schematic diagram of program debugging device provided in an embodiment of the present invention;
Fig. 3 is the structural schematic diagram of electronic equipment corresponding with a kind of program debugging method that embodiment described in Fig. 1 provides.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
The term used in embodiments of the present invention is only to be not intended to be limiting merely for for the purpose of describing particular embodiments The present invention.In the embodiment of the present invention and the "an" of singular used in the attached claims, " described " and "the" It is also intended to including most forms, unless the context clearly indicates other meaning, " a variety of " generally comprise at least two, but not It excludes to include at least one situation.
It should be appreciated that term "and/or" used herein is only a kind of incidence relation for describing affiliated partner, indicate There may be three kinds of relationships, for example, A and/or B, can indicate: individualism A, exist simultaneously A and B, individualism B these three Situation.In addition, character "/" herein, typicallys represent the relationship that forward-backward correlation object is a kind of "or".
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability Include, so that commodity or system including a series of elements not only include those elements, but also including not clear The other element listed, or further include for this commodity or the intrinsic element of system.In the feelings not limited more Under condition, the element that is limited by sentence "including a ...", it is not excluded that in the commodity or system for including the element also There are other identical elements.
Fig. 1 is a kind of flow diagram of program debugging method provided in an embodiment of the present invention, as shown in Figure 1, this method The following steps are included:
101: in response to preset trigger event in program to be debugged, the attribute of triggering moment is obtained based on the library Runtime List.
In practical applications, program to be debugged has different attribute-names and corresponding attribute value, and in different moments, Attribute value corresponding to the same attribute-name may be different, in other words, attribute value change over time.In order to accurately obtain Required attribute list is taken, it can be using the preset trigger event in debugger object as the event for obtaining attribute list, and nothing It need to be inserted into other trigger events for being not belonging to program to be debugged originally to program to be debugged, can be avoided insertion trigger event to reality Border output attribute value has an impact.
It is readily appreciated that, triggering moment corresponding to different trigger events is different, therefore, in order to obtain required attribute column Table needs to select suitable trigger event.To obtain the attribute at some attribute-name corresponding multiple moment in program to be debugged Value, then at the time of can choose that preset multiple and different trigger event is as attribute list is obtained in program to be debugged.
102: according to the corresponding attribute value of attribute-name each in attribute list described in key assignments coding dynamic acquisition.
Key assignments mentioned here coding (Key Value Coding, KVC) mode can with the attribute of dynamic access object and Attribute value.In practical applications, after the attribute list comprising attribute-name being obtained by the library Runtime, further, key assignments is utilized Coding searches corresponding attribute value according to attribute-name from program to be debugged.It should be noted that utilizing key assignments coding lookup category Property value be also in response trigger event moment corresponding attribute value.
For example, it is assumed that user goes for the view properties name and attribute value of some view, the specifically length of view Wide numerical value corresponding with length and width.The control that view is shown is controlled assuming that having on interactive interface, when the user clicks the control Later, it shows some view, view association attributes classification is got first with the library Runtime, for example, view length and width, view Coordinate, view color, view title etc., collectively form attribute list.Based on the attribute-name in above-mentioned attribute list, further Ground can get corresponding attribute value in the corresponding program to be debugged of view, for example, length and width numerical value, the view of view Coordinate values, the color data of view, the title byte number value of view etc..Obtain attribute list or attribute value when It waits, required attribute-name and attribute value can be specified by staff, also the relevant attribute-name of available whole and attribute value, So that staff selects in the later period as needed.So as to staff, it can not only see the bandwagon effect of view, may be used also More intuitively to see each attribute value of view, so that attribute-name and attribute value visualization.
103: by the attribute-name and attribute value classification storage to showing file, with according to the displaying file to it is described to Debugging routine is debugged.
According to the classification of attribute-name, corresponding displaying file or file can be established respectively.For example, can be by correspondence It, further, can be according to attribute type in this document folder in the attribute storage of same target is pressed from both sides to same file (for example, model class data or array class data) establish file or file respectively.
It further include the determining and institute according to the attribute data at required moment in one or more embodiment of the invention State the associated trigger event of program to be debugged;The trigger event includes: that clicking trigger event, data callback events, the page disappear Have an accident any of part.
As can be seen from the foregoing, program to be debugged may include multiple preset trigger events, multiple preset touchings simultaneously The corresponding triggering moment of hair event may be different, and attribute value corresponding to different triggering moments may also be different.Therefore, it is selecting When trigger event, need to be made a choice according to actual attribute value demand.Trigger event mentioned here includes: clicking trigger thing Any of part, data callback events, page disappearance event.For example, clicking trigger event, which can be understood as user, passes through interaction Controls such as " confirmation " " transmissions " in interface are clicked and trigger the event;Data callback events can be understood as user to The preset trigger event for carrying out data return in debugging routine;Page disappearance event can be understood as the disappearance of interactive interface view It is (previously described that the different display states or effect of event perhaps view handover event view correspond to different view parameters Attribute value).
It is described that associated attribute lists are obtained based on the library Runtime in one or more embodiment of the invention, specifically It may include: in response to being traversed described wait adjust with the associated trigger event of program to be debugged based on the library Runtime The attribute data that examination program includes;Remove layout character in the attribute data;It generates described comprising the attribute-name Attribute list.
The mentioned here and associated trigger event of program to be debugged, it can be understood as the preset touching in program to be debugged Hair event or routine call to be debugged or called trigger event.
In practical applications, usually original based on attribute data obtained after the library Runtime traversal program to be debugged The attribute data of data format, raw data format mentioned here such as may include the layout characters such as "@", "/".In order to Convenient for post-processing, need to delete these layout characters.It in the case of necessary, can also be to the category after the character that clears format Property data carry out language format conversion, for example, being converted to JSON format or array formats.
It is described by the attribute-name and corresponding attribute value classification storage in one or more embodiment of the invention It to file is shown, can specifically include: if the attribute data type is numerical value, the attribute-name stored in the form of key-value pair With the attribute value to displaying file.
It in practical applications, can be according to attribute data class in order to more intuitive displaying attribute-name and attribute value Type uses corresponding exhibition method.For example, if attribute data type is value type, by attribute-name and corresponding attribute value with In the form storage to displaying file of key-value pair (key:value).Staff can be intuitively by showing file in this way Recognize attribute value corresponding to each attribute-name.
It is described by the attribute-name and corresponding attribute value classification storage in one or more embodiment of the invention It to file is shown, can specifically include: if the attribute data type is model, multiple attributes being stored with dictionary format Name and the corresponding attribute value to displaying file.
It in practical applications, can be according to attribute data class in order to more intuitive displaying attribute-name and attribute value Type uses corresponding exhibition method.For example, if attribute data type is types of models, by attribute-name and corresponding attribute value with In dictionary format storage to displaying file.
In one or more embodiment of the invention, if can also include: the attribute in the displaying file The corresponding attribute value of name does not meet preset value, then re-starts dynamic assignment to the attribute-name based on key assignments coding.
In practical applications, it also may be implemented to carry out attribute value dynamic modification assignment by key assignments coding.For example, it is assumed that It is L=X1 by the dimensional parameters of some view obtained by the above method, W=Y1, in actual design, the dimensional parameters needed are L=X1, W=Y2 (wherein, L indicates that the attribute-name of length, W indicate the attribute-name of width).Key assignments coding so be can use to L Corresponding attribute value is modified.
Based on same thinking, as shown in Fig. 2, the embodiment of the present invention also provides a kind of program debugging device, the device packet It includes:
Module 21 is obtained, for obtaining triggering based on the library Runtime in response to preset trigger event in program to be debugged The attribute list at moment;
Assignment module 22, for the corresponding attribute of attribute-name each in the attribute list according to key assignments coding dynamic acquisition Value;
Memory module 23 is used for the attribute-name and attribute value classification storage to file is shown, according to the displaying File debugs the program to be debugged.
Further, according to the attribute data at required moment, the determining and associated trigger event of program to be debugged;Institute Stating trigger event includes: any of clicking trigger event, data callback events, page disappearance event.
Further, the acquisition module 21, in response to the associated trigger event of program to be debugged, be based on The library Runtime traverses the attribute data that the program to be debugged includes;
Remove layout character in the attribute data;
Generate the attribute list comprising the attribute-name.
Further, the memory module 23 is deposited in the form of key-value pair if being numerical value for the attribute data type The attribute-name and the attribute value are stored up to displaying file.
Further, the memory module 23 is stored if being model for the attribute data type with dictionary format Multiple attribute-names and the corresponding attribute value are to showing file.
Further, further includes: if described show that the corresponding attribute value of the attribute-name in file does not meet preset value, Dynamic assignment is then re-started to the attribute-name based on key assignments coding.
Based on same thinking, as shown in figure 3, the embodiment of the present invention also provides a kind of electronic equipment, including processor 31, Memory 32, the memory 32 is for storing one or more computer instruction, wherein one or more computer refers to It enables and being realized when being executed by the processor 31:
In response to preset trigger event in program to be debugged, the attribute list of triggering moment is obtained based on the library Runtime;
According to the corresponding attribute value of attribute-name each in attribute list described in key assignments coding dynamic acquisition;
By the attribute-name and attribute value classification storage to showing file, with according to the displaying file to described to be debugged Program is debugged.
In addition, the embodiment of the invention provides a kind of computer storage medium, for computer software used in server Instruction, it includes for executing program involved in program debugging method in embodiment of the method shown in above-mentioned Fig. 1.
It is determining to be closed with program to be debugged based on the various embodiments described above it can be appreciated that according to the attribute data at required moment The trigger event of connection, to obtain the attribute list comprising attribute-name based on the library Runtime.Further, according to attribute-name root According to corresponding attribute value in key assignments coding dynamic acquisition program to be debugged, thus attribute data type storage attribute-name and corresponding Attribute value is to file is shown, in other words, can be intuitive by numerical approach by the attribute value at the attribute-name of object and corresponding moment Displaying.Based on the above-mentioned technical proposal, in the case where being not inserted into breakpoint, the category of required object in program to be debugged can be obtained Property name and attribute value, not needing to interrupt development progress can while meeting the attribute data of dynamic acquisition program to be debugged Effectively improve development efficiency.
The apparatus embodiments described above are merely exemplary, wherein described, unit can as illustrated by the separation member It is physically separated with being or may not be, component shown as a unit may or may not be physics list Member, it can it is in one place, or may be distributed over multiple network units.It can be selected according to the actual needs In some or all of the modules achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying creativeness Labour in the case where, it can understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can It is realized by the mode of required general hardware platform is added, naturally it is also possible to which reality is come in conjunction with by way of hardware and software It is existing.Based on this understanding, substantially the part that contributes to existing technology can be to calculate in other words for above-mentioned technical proposal The form of machine product embodies, and it wherein includes the meter of computer usable program code that the present invention, which can be used in one or more, The computer journey implemented in calculation machine usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of sequence product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable resources more new equipment to produce A raw machine, so that being generated by the instruction that the processor of computer or other programmable resources more new equipment executes for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable resources more new equipment with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions can also be loaded on computer or other programmable resources more new equipment, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (f l ash RAM).Memory is computer-readable medium Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features; And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit and Range.

Claims (9)

1. a kind of program debugging method, which is characterized in that the described method includes:
In response to preset trigger event in program to be debugged, the attribute list of triggering moment is obtained based on the library Runtime;
According to the corresponding attribute value of attribute-name each in attribute list described in key assignments coding dynamic acquisition;
By the attribute-name and attribute value classification storage to showing file, with according to the displaying file to the program to be debugged It is debugged.
2. the method according to claim 1, wherein the method also includes:
According to the attribute data at required moment, the determining and associated trigger event of program to be debugged;The trigger event packet It includes: any of clicking trigger event, data callback events, page disappearance event.
3. according to the method described in claim 2, it is characterized in that, described obtain associated attribute lists, packet based on the library Runtime It includes:
In response to the associated trigger event of program to be debugged, the program to be debugged is traversed based on the library Runtime The attribute data for including;
Remove layout character in the attribute data;
Generate the attribute list comprising the attribute-name.
4. the method according to claim 1, wherein described deposit the attribute-name and the classification of corresponding attribute value It stores up and shows file, comprising:
If the attribute data type is numerical value, it is literary to showing that the attribute-name and the attribute value are stored in the form of key-value pair Part.
5. the method according to claim 1, wherein described deposit the attribute-name and the classification of corresponding attribute value It stores up and shows file, comprising:
If the attribute data type is model, multiple attribute-names and the corresponding attribute value are stored with dictionary format To displaying file.
6. method according to claim 4 or 5, which is characterized in that further include:
If described show that the corresponding attribute value of the attribute-name in file does not meet preset value, encoded based on key assignments to described Attribute-name re-starts dynamic assignment.
7. a kind of program debugging device, which is characterized in that described device includes:
Module is obtained, for obtaining triggering moment based on the library Runtime in response to preset trigger event in program to be debugged Attribute list;
Assignment module, for the corresponding attribute value of attribute-name each in the attribute list according to key assignments coding dynamic acquisition;
Memory module is used for the attribute-name and attribute value classification storage to file is shown, according to the displaying file pair The program to be debugged is debugged.
8. a kind of computer storage medium, for storing computer program, the realization when computer program executes computer The above-mentioned program debugging method as described in right 1 to 6.
9. a kind of electronic equipment, which is characterized in that including processor, memory, the memory is for storing one or more Computer instruction, wherein one or more computer instruction is realized when being executed by the processor:
In response to preset trigger event in program to be debugged, the attribute list of triggering moment is obtained based on the library Runtime;
According to the corresponding attribute value of attribute-name each in attribute list described in key assignments coding dynamic acquisition;
By the attribute-name and attribute value classification storage to showing file, with according to the displaying file to the program to be debugged It is debugged.
CN201910183623.XA 2019-03-12 2019-03-12 Program debugging method, device, equipment and storage medium Active CN110058996B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910183623.XA CN110058996B (en) 2019-03-12 2019-03-12 Program debugging method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910183623.XA CN110058996B (en) 2019-03-12 2019-03-12 Program debugging method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110058996A true CN110058996A (en) 2019-07-26
CN110058996B CN110058996B (en) 2023-06-02

Family

ID=67316186

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910183623.XA Active CN110058996B (en) 2019-03-12 2019-03-12 Program debugging method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110058996B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110879781A (en) * 2019-11-06 2020-03-13 北京奇艺世纪科技有限公司 Program debugging method and device, electronic equipment and computer readable storage medium
CN111176257A (en) * 2019-12-27 2020-05-19 南京国电南自电网自动化有限公司 New energy control system parameter debugging method and system

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090198787A1 (en) * 2008-02-06 2009-08-06 Oracle International Corporation Data streaming to multiple browser windows
US20100162207A1 (en) * 2008-12-18 2010-06-24 Microsoft Corporation Behavior-first event programming model
US9454539B1 (en) * 2013-03-13 2016-09-27 Ca, Inc. System and method for protecting operating system zones
CN106227554A (en) * 2016-07-08 2016-12-14 百度在线网络技术(北京)有限公司 A kind of method and apparatus carrying out applying heat renewal in ios system
CN106294776A (en) * 2016-08-12 2017-01-04 北京东方车云信息技术有限公司 A kind of data processing method and device
US20170185460A1 (en) * 2015-12-29 2017-06-29 Sap Se Generic callback handling
CN107038112A (en) * 2016-10-13 2017-08-11 腾讯科技(北京)有限公司 The adjustment method and device of application interface
US20180089706A1 (en) * 2016-09-29 2018-03-29 Chian Chiu Li Systems And Methods for Generating Surveys
CN109446092A (en) * 2018-10-31 2019-03-08 北京微播视界科技有限公司 The method, apparatus and electronic equipment be identified to user interface UI element

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090198787A1 (en) * 2008-02-06 2009-08-06 Oracle International Corporation Data streaming to multiple browser windows
US20100162207A1 (en) * 2008-12-18 2010-06-24 Microsoft Corporation Behavior-first event programming model
US9454539B1 (en) * 2013-03-13 2016-09-27 Ca, Inc. System and method for protecting operating system zones
US20170185460A1 (en) * 2015-12-29 2017-06-29 Sap Se Generic callback handling
CN106227554A (en) * 2016-07-08 2016-12-14 百度在线网络技术(北京)有限公司 A kind of method and apparatus carrying out applying heat renewal in ios system
CN106294776A (en) * 2016-08-12 2017-01-04 北京东方车云信息技术有限公司 A kind of data processing method and device
US20180089706A1 (en) * 2016-09-29 2018-03-29 Chian Chiu Li Systems And Methods for Generating Surveys
CN107038112A (en) * 2016-10-13 2017-08-11 腾讯科技(北京)有限公司 The adjustment method and device of application interface
CN109446092A (en) * 2018-10-31 2019-03-08 北京微播视界科技有限公司 The method, apparatus and electronic equipment be identified to user interface UI element

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
DDAVIDXU: "runtime理论知识", 《HTTPS://WWW.BBSMAX.COM/A/LK5AN1LD1O/》 *
DDAVIDXU: "runtime理论知识", 《HTTPS://WWW.BBSMAX.COM/A/LK5AN1LD1O/》, 30 September 2016 (2016-09-30), pages 2 *
周泊宁: "iOS Runtime System安全性研究", 《计算机应用与软件》 *
周泊宁: "iOS Runtime System安全性研究", 《计算机应用与软件》, no. 01, 15 January 2018 (2018-01-15) *
陈锦富等: "一个组件安全自动化测试平台的设计与实现", 《计算机科学》 *
陈锦富等: "一个组件安全自动化测试平台的设计与实现", 《计算机科学》, no. 12, 25 December 2008 (2008-12-25) *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110879781A (en) * 2019-11-06 2020-03-13 北京奇艺世纪科技有限公司 Program debugging method and device, electronic equipment and computer readable storage medium
CN110879781B (en) * 2019-11-06 2023-10-03 北京奇艺世纪科技有限公司 Program debugging method, device, electronic equipment and computer readable storage medium
CN111176257A (en) * 2019-12-27 2020-05-19 南京国电南自电网自动化有限公司 New energy control system parameter debugging method and system

Also Published As

Publication number Publication date
CN110058996B (en) 2023-06-02

Similar Documents

Publication Publication Date Title
Jensen et al. Coloured Petri Nets and CPN Tools for modelling and validation of concurrent systems
WO2021088724A1 (en) Testing method and apparatus
US8065658B1 (en) Tool for visualizing software architecture
US20170091317A1 (en) Location correlation between query script and data flow
Steinarsson Downsampling time series for visual representation
US9471213B2 (en) Chaining applications
CN106657192B (en) Method and equipment for presenting service calling information
US20130346647A1 (en) Data sharing in high-fidelity simulation and real-time multi-core execution
Salihoglu et al. Graft: A debugging tool for apache giraph
Courtieu et al. Certified universal gathering in for oblivious mobile robots
Cito et al. Runtime metric meets developer: building better cloud applications using feedback
CN113268227A (en) Zero-code visualization software development platform and development method
CN110058996A (en) Program debugging method, device, equipment and storage medium
Dashuber et al. A Layered Software City for Dependency Visualization.
US20160357890A1 (en) Verification Log Analysis
Wijaya et al. A Brief of Review: Multimedia Authoring Tool Attributes.
CN107895282A (en) A kind of tobacco market big data method for visualizing based on space-time grid
Hahn et al. Thread city: Combined visualization of structure and activity for the exploration of multi-threaded software systems
US7712060B1 (en) Method and system for handling assertion libraries in functional verification
Ledur et al. A high-level dsl for geospatial visualizations with multi-core parallelism support
Dos Santos et al. Spatio-temporal validation of multimedia documents
CN106873982B (en) Software search multiplexing method and system based on graphical user interface
Fittkau Live trace visualization for system and program comprehension in large software landscapes
Zhang et al. A database for developing machine learning based disruption predictors
Kress In-line vs. in-transit in situ: Which technique to use at scale?

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