CN110096442A - Code debugging method, user equipment, storage medium and device - Google Patents

Code debugging method, user equipment, storage medium and device Download PDF

Info

Publication number
CN110096442A
CN110096442A CN201910349241.XA CN201910349241A CN110096442A CN 110096442 A CN110096442 A CN 110096442A CN 201910349241 A CN201910349241 A CN 201910349241A CN 110096442 A CN110096442 A CN 110096442A
Authority
CN
China
Prior art keywords
instruction
code
operational order
default
character
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
CN201910349241.XA
Other languages
Chinese (zh)
Other versions
CN110096442B (en
Inventor
高宇峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Code Learning Technology Co ltd
Original Assignee
Shenzhen Code Interesting Science And 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 Shenzhen Code Interesting Science And Technology Co Ltd filed Critical Shenzhen Code Interesting Science And Technology Co Ltd
Priority to CN201910349241.XA priority Critical patent/CN110096442B/en
Publication of CN110096442A publication Critical patent/CN110096442A/en
Application granted granted Critical
Publication of CN110096442B publication Critical patent/CN110096442B/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
    • G06F11/3628Software debugging of optimised code
    • 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

Landscapes

  • Engineering & Computer Science (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)
  • Stored Programmes (AREA)

Abstract

The present invention relates to code debugging technical field, a kind of code debugging method, user equipment, storage medium and device are disclosed.In the present invention traverse instruction sequence in respectively to operational order, will be matched to operational order with default valid instruction;In successful match, whether detection meets the first instruction format to operational order;When meeting the first instruction format, first object instruction is read to operational order;First object instruction is compiled, to obtain instruction operation result;When there is miscue in instructing operation result, label first object instruction.Significantly, the present invention is compiling respectively when operational order, the legitimacy of instruction type will first be proofreaded, whether decision instruction format meets the requirements again, finally, instruction is seriatim read from instruction sequence, and single instruction is individually run, so as to directly mark the location of instruction for run-time error occur, the automatic investigation of run-time error is realized, solves the technical issues of being difficult to location code operation troubles.

Description

Code debugging method, user equipment, storage medium and device
Technical field
The present invention relates to code debugging technical field more particularly to code debugging method, user equipment, storage medium and dresses It sets.
Background technique
In view of easily there is the phenomenon that code input error, this eventually results in code during daily programming Operation error.For being unfamiliar with the people of programing work, code operation error is more easily led to.
But code operation error after, it tends to be difficult to determine occur mistake specific code position, need more it is artificial from Dynamic investigation, this greatly reduces programming efficiencies.
As it can be seen that there is technical issues that be difficult to positioning trip in code operation.
Above content is only used to facilitate the understanding of the technical scheme, and is not represented and is recognized that above content is existing skill Art.
Summary of the invention
The main purpose of the present invention is to provide code debugging method, user equipment, storage medium and devices, it is intended to solve The technical issues of being difficult to location code operation troubles.
To achieve the above object, the present invention provides a kind of code debugging method, and the code debugging method includes following step It is rapid:
Obtain the instruction sequence stored in default stack;
Traverse in described instruction sequence respectively to operational order, described will be carried out to operational order and default valid instruction Match;
In successful match, whether detection is described meets the first instruction format to operational order;
When meeting first instruction format, from described to read first object instruction in operational order;
The first object instruction is compiled, in default running environment to obtain instruction operation result;
When including default run-time error prompt in described instruction operation result, institute is marked in pre-set code input page State first object instruction.
Preferably, described in successful match, whether detection is described meets the first instruction format to operational order, specific to wrap It includes:
In successful match, identification is described to the first instruction type belonging to operational order;
Whether detection is described meets corresponding first instruction format of first instruction type to operational order.
Preferably, before the instruction sequence stored in the default stack of the acquisition, the code debugging method further include:
When receiving the present instruction of user's input, the instruction of input in pre-set code input interface is read, and really The fixed instruction end position for having inputted instruction;
Judge whether described instruction end position is in preset loop structure;
When in the preset loop structure, composing structure corresponding with the preset loop structure is determined;
The present instruction is filled by the composing structure in the pre-set code input interface;
The input filled in pre-set code input interface instruction and the present instruction are inserted in default stack, with Constitute the instruction sequence in the default stack.
Preferably, described when receiving the present instruction of user's input, it reads defeated in pre-set code input interface Enter instruction, and inputted before the instruction end position of instruction described in determination, the code debugging method further include:
When detecting the first click event, the corresponding click component of the first click event is determined;
Corresponding present instruction, the preset group are inquired in description components command mappings relationship according to the click component It include the corresponding relationship between the click component and instruction in part command mappings relationship.
Preferably, described when receiving the present instruction of user's input, it reads defeated in pre-set code input interface Enter instruction, and inputted before the instruction end position of instruction described in determination, the code debugging method further include:
When detecting the second click event, determine that the second click event is corresponding in pre-set code viewable area Visualization component;
Corresponding character to be entered is inquired in description components character mapping relations according to the visualization component, it is described pre- If in component command mappings relationship including the corresponding relationship between the visualization component and the character to be entered;
Present instruction is constituted by the character to be entered.
Preferably, it is described inquired in description components character mapping relations according to the visualization component it is corresponding to be entered After character, the code debugging method further include:
Instruction to be entered is chosen in the instruction of input of pre-set code input interface, and identifies the instruction to be entered Target instruction target word format;
Correspondingly, described that present instruction is constituted by the character to be entered, it specifically includes:
When in the target instruction target word format there are first when inserting character field, will the character to be entered filling described in First wait insert in character field, to obtain new instruction to be entered, and using new instruction to be entered as present instruction.
Preferably, it is described in the pre-set code input interface by the composing structure fill the present instruction it Afterwards, the code debugging method further include:
It identifies the second instruction type of the present instruction, and determines that corresponding second refers to according to second instruction type Enable format;
Judge in second instruction format with the presence or absence of the second character field to be inserted;
When in second instruction format there are described second when inserting character field, default cursor is moved to described Second character field to be inserted;
It is receiving when inserting character, the character to be inserted is inserted described the second of the present instruction wait insert In character field, to obtain new present instruction;
Correspondingly, described to insert the input filled in pre-set code input interface instruction with the present instruction In default stack, to constitute the instruction sequence in the default stack, specifically include:
The instruction that inputted filled in the pre-set code input interface is inserted in default stack with new present instruction, with Constitute the instruction sequence in the default stack.
In addition, to achieve the above object, the present invention also proposes a kind of user equipment, the user equipment include memory, Processor and it is stored in the code debugging program that can be run on the memory and on the processor, the code debugging journey Sequence is arranged for carrying out the step of code debugging method as described above.
In addition, to achieve the above object, the present invention also proposes a kind of storage medium, code is stored on the storage medium The step of debugging routine, the code debugging program realizes code debugging method as described above when being executed by processor.
In addition, to achieve the above object, the present invention also proposes a kind of code debugging device, the code debugging device packet It includes:
Instruction acquisition module, for obtaining the instruction sequence stored in default stack;
Instructions match module, for traverse in described instruction sequence respectively to operational order, will it is described to operational order with Default valid instruction is matched;
Format detection module, for whether meeting the first instruction format to operational order described in detection in successful match;
Module is chosen in instruction, for when meeting first instruction format, from described to read first in operational order Target instruction target word;
Compiling of instruction module, for compiling the first object instruction in default running environment, to obtain instruction operation As a result;
Cue mark module, when for including default run-time error prompt in described instruction operation result, in default generation The first object is marked to instruct in code input page.
The instruction sequence stored in default stack is obtained in the present invention;Traverse in instruction sequence respectively to operational order, will be to Operational order is matched with default valid instruction;In successful match, whether detection meets the first instruction lattice to operational order Formula;When meeting the first instruction format, first object instruction is read to operational order;The is compiled in default running environment One target instruction target word, to obtain instruction operation result;When including default run-time error prompt in instructing operation result, in default generation Label first object instruction in code input page.It is apparent that the present invention compile in default stack respectively when operational order, will be first The legitimacy of instruction type is proofreaded, to prevent there is false command, then whether decision instruction format meets the requirements, to prevent fortune Row failure finally seriatim reads instruction, and individually run to single instruction, so as to direct from instruction sequence There is the location of instruction of run-time error in label, realizes the automatic investigation for run-time error, improves search efficiency, solve The technical issues of being difficult to location code operation troubles.
Detailed description of the invention
Fig. 1 is the user device architecture schematic diagram for the hardware running environment that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram of code debugging method first embodiment of the present invention;
Fig. 3 is the flow diagram of code debugging method second embodiment of the present invention;
Fig. 4 is the display interface schematic diagram of code debugging method second embodiment of the present invention;
Fig. 5 is the flow diagram of code debugging method 3rd embodiment of the present invention;
Fig. 6 is the structural block diagram of code debugging device first embodiment of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Referring to Fig.1, Fig. 1 is the user device architecture schematic diagram for the hardware running environment that the embodiment of the present invention is related to.
As shown in Figure 1, the user equipment may include: processor 1001, such as central processing unit (Central Processing Unit, CPU), communication bus 1002, user interface 1003, network interface 1004, memory 1005.Wherein, Communication bus 1002 is for realizing the connection communication between these components.User interface 1003 may include display screen (Display), optional user interface 1003 can also include the wireline interface and wireless interface of standard, and user interface 1003 Wireline interface in the present invention can be universal serial bus (Universal Serial Bus, USB) interface.Network interface 1004 optionally may include the wireline interface and wireless interface (such as WI-FI interface) of standard.Memory 1005 can be height Fast random access memory (Random Access Memory, RAM);It is also possible to stable memory, for example, non-volatile deposit Reservoir (Non-volatile Memory), concretely, magnetic disk storage.Memory 1005 optionally can also be independently of The storage device of aforementioned processor 1001.
It will be understood by those skilled in the art that structure shown in Fig. 1 does not constitute the restriction to user equipment, can wrap It includes than illustrating more or fewer components, perhaps combines certain components or different component layouts.
As shown in Figure 1, as may include that operating system, network are logical in a kind of memory 1005 of computer storage medium Believe module, Subscriber Interface Module SIM and code debugging program.
In user equipment shown in Fig. 1, network interface 1004 is mainly used for connecting background server, takes with the backstage Business device carries out data communication;User interface 1003 is mainly used for connecting peripheral hardware;The user equipment is called by processor 1001 The code debugging program stored in memory 1005, and execute following operation:
Obtain the instruction sequence stored in default stack;
Traverse in described instruction sequence respectively to operational order, described will be carried out to operational order and default valid instruction Match;
In successful match, whether detection is described meets the first instruction format to operational order;
When meeting first instruction format, from described to read first object instruction in operational order;
The first object instruction is compiled, in default running environment to obtain instruction operation result;
When including default run-time error prompt in described instruction operation result, institute is marked in pre-set code input page State first object instruction.
Further, processor 1001 can call the code debugging program stored in memory 1005, also execute following Operation:
In successful match, identification is described to the first instruction type belonging to operational order;
Whether detection is described meets corresponding first instruction format of first instruction type to operational order.
Further, processor 1001 can call the code debugging program stored in memory 1005, also execute following Operation:
When receiving the present instruction of user's input, the instruction of input in pre-set code input interface is read, and really The fixed instruction end position for having inputted instruction;
Judge whether described instruction end position is in preset loop structure;
When in the preset loop structure, composing structure corresponding with the preset loop structure is determined;
The present instruction is filled by the composing structure in the pre-set code input interface;
The input filled in pre-set code input interface instruction and the present instruction are inserted in default stack, with Constitute the instruction sequence in the default stack.
Further, processor 1001 can call the code debugging program stored in memory 1005, also execute following Operation:
When detecting the first click event, the corresponding click component of the first click event is determined;
Corresponding present instruction, the preset group are inquired in description components command mappings relationship according to the click component It include the corresponding relationship between the click component and instruction in part command mappings relationship.
Further, processor 1001 can call the code debugging program stored in memory 1005, also execute following Operation:
When detecting the second click event, determine that the second click event is corresponding in pre-set code viewable area Visualization component;
Corresponding character to be entered is inquired in description components character mapping relations according to the visualization component, it is described pre- If in component command mappings relationship including the corresponding relationship between the visualization component and the character to be entered;
Present instruction is constituted by the character to be entered.
Further, processor 1001 can call the code debugging program stored in memory 1005, also execute following Operation:
Instruction to be entered is chosen in the instruction of input of pre-set code input interface, and identifies the instruction to be entered Target instruction target word format;
Correspondingly, following operation is also executed:
When in the target instruction target word format there are first when inserting character field, will the character to be entered filling described in First wait insert in character field, to obtain new instruction to be entered, and using new instruction to be entered as present instruction.
Further, processor 1001 can call the code debugging program stored in memory 1005, also execute following Operation:
It identifies the second instruction type of the present instruction, and determines that corresponding second refers to according to second instruction type Enable format;
Judge in second instruction format with the presence or absence of the second character field to be inserted;
When in second instruction format there are described second when inserting character field, default cursor is moved to described Second character field to be inserted;
It is receiving when inserting character, the character to be inserted is inserted described the second of the present instruction wait insert In character field, to obtain new present instruction;
Correspondingly, following operation is also executed:
The instruction that inputted filled in the pre-set code input interface is inserted in default stack with new present instruction, with Constitute the instruction sequence in the default stack.
The instruction sequence stored in default stack is obtained in the present embodiment;Traverse in instruction sequence respectively to operational order, will It is matched to operational order with default valid instruction;In successful match, whether detection meets the first instruction to operational order Format;When meeting the first instruction format, first object instruction is read to operational order;It is compiled in default running environment First object instruction, to obtain instruction operation result;When including default run-time error prompt in instructing operation result, default First object instruction is marked in code input page.It is apparent that the present embodiment compile in default stack respectively when operational order, The legitimacy of instruction type will be first proofreaded, to prevent there is false command, then whether decision instruction format meets the requirements, to prevent out Existing operation troubles finally seriatim reads instruction, and individually run to single instruction from instruction sequence, so as to Directly there is the location of instruction of run-time error in label, realizes the automatic investigation for run-time error, improves search efficiency, solves It has determined the technical issues of being difficult to location code operation troubles.
Based on above-mentioned hardware configuration, the embodiment of code debugging method of the present invention is proposed.
It is the flow diagram of code debugging method first embodiment of the present invention referring to Fig. 2, Fig. 2.
In the first embodiment, the code debugging method the following steps are included:
Step S10: the instruction sequence stored in default stack is obtained.
It is understood that the instruction received can be handled by the way that default stack is arranged, instruction can be sequentially stored in pre- If in stack, a large amount of instruction constitutes instruction sequence.As for instruction one by one mentioned herein, it will be appreciated that be independent operation row For.Specifically, one can be one section of code to operational order, for example, one can be for once for some letter to operational order Several calling behaviors.
In the concrete realization, for example, can be move (5) to operational order, move () can be prespecified legal function.
Step S20: in traversal described instruction sequence respectively to operational order, to operational order and preset legal finger for described Order is matched.
It should be understood that for example, in instruction sequence it is multiple to operational order may be followed successively by move (5), These can be waited for operational order to rapidly lock the code of possible input error by turnLeft () and press () etc. It is matched one by one with default valid instruction, whether multiple in decision instruction sequence belong to preset legal finger to operational order It enables.Wherein, preset valid instruction be it is prespecified can normal use type function, for example, default valid instruction may wrap Move, turnLeft and press are included.
Step S30: in successful match, whether detection is described meets the first instruction format to operational order.
It is understood that if successful match, show in instruction sequence belonged to operational order preset legal finger It enables, then can carry out the automatic detection of instruction format.Specifically, for example, being move (5), the first instruction lattice to operational order Formula requires move (A), and A is integer.
Step S40: when meeting first instruction format, from described to read first object instruction in operational order.
It in the concrete realization, is integer since the A value in move (5) is 5, then it is assumed that meet the first instruction format, it can be just This often is run to operational order.
Step S50: the first object instruction is compiled, in default running environment to obtain instruction operation result.
It is understood that being proofreaded completing the automation for instruction type and instruction format to operational order Afterwards, can formal entry instruction compiling link.In compiling link, it can be compiled one by one by the default running environment voluntarily built Translate in default stack to operational order, for example, can run the first object instruction move (5), to obtain the finger under current schedules Enable operation result.
In addition, if first object is instructed, there are corresponding visualization behaviors, can also show in pre-set code viewable area Show the visualization behavior, to realize that the visualization to operational order is presented.
Step S60: including when presetting run-time error prompt, in pre-set code input page in described instruction operation result The middle label first object instruction.
It should be understood that if being also found that, operation troubles is had occurred in first object instruction move (5) herein, will be automatic Generation error prompt includes default run-time error prompt in the instruction operation result of first object instruction move (5), can be automatic Highlight mark first object instructs move (5) position in pre-set code input page, in order to which quick lock in runs event Barrier.This may be because of influencing each other between instruction, alternatively, prespecified goal task, instruction in default running environment Operation result does not complete the goal task, then will generate default run-time error prompt.
It is understood that can seriatim be read from instruction sequence by being compiled in default running environment Instruction, and seriatim operating instruction is to obtain the corresponding operation result of single instruction, this results in the frameworks of locking faulting instruction Basis can quickly locate faulting instruction and mark it.
The instruction sequence stored in default stack is obtained in the present embodiment;Traverse in instruction sequence respectively to operational order, will It is matched to operational order with default valid instruction;In successful match, whether detection meets the first instruction to operational order Format;When meeting the first instruction format, first object instruction is read to operational order;It is compiled in default running environment First object instruction, to obtain instruction operation result;When including default run-time error prompt in instructing operation result, default First object instruction is marked in code input page.It is apparent that the present embodiment compile in default stack respectively when operational order, The legitimacy of instruction type will be first proofreaded, to prevent there is false command, then whether decision instruction format meets the requirements, to prevent out Existing operation troubles finally seriatim reads instruction, and individually run to single instruction from instruction sequence, so as to Directly there is the location of instruction of run-time error in label, realizes the automatic investigation for run-time error, improves search efficiency, solves It has determined the technical issues of being difficult to location code operation troubles.
It is the flow diagram of code debugging method second embodiment of the present invention referring to Fig. 3, Fig. 3, based on shown in above-mentioned Fig. 2 First embodiment, propose the second embodiment of code debugging method of the present invention.
In second embodiment, when in instructing operation result including default run-time error prompt, in addition to can be in pre-set code It marks first object instruction outer in input page, visual mode also can be used and show the default run-time error prompt.
Further, described in successful match, whether detection is described meets the first instruction format to operational order, specifically Include:
In successful match, identification is described to the first instruction type belonging to operational order;
Whether detection is described meets corresponding first instruction format of first instruction type to operational order.
In the concrete realization, if being move (5) to operational order, the first instruction type of move (5) is move, and first refers to Enabling corresponding first instruction format of type is move (A), and A is integer.As it can be seen that be integer since the A value in move (5) is 5, Then think to meet the first instruction format.If being turnLeft () to operational order, the first instruction type of turnLeft () is TurnLeft, corresponding first instruction format of the first instruction type are turnLeft ().As it can be seen that meeting the first instruction format.
Certainly, if being turnLeft (2) to operational order, instruction format turnLeft () is not met.
It is understood that when not meeting the first instruction format instruction errors prompt will be generated, and highlight mark is not inconsistent Close the first instruction format to operational order.
Further, before the step S10, the code debugging method further include:
Step S101: when receiving the present instruction of user's input, the input in pre-set code input interface is read Instruction, and determine the instruction end position for having inputted instruction.
It is understood that other than location code operation troubles, can also simplified code input process, to improve input Efficiency.
It should be understood that each instruction in instruction sequence can be input in pre-set code input interface, and in default generation Intuitively idsplay order in code input interface, so that programming personnel checks.It can be complete by what is inputted in pre-set code input interface Portion's instruction, which is denoted as, has inputted instruction, the end position for having inputted the instruction recently entered in instruction can be denoted as instruction stop bits It sets.
In the concrete realization, it is if having inputted instruction,
“move(-4)
repeat(2):
move(4)
move(-4)".Instructing end position is the end position of " move (- 4) ".
Step S102: judge whether described instruction end position is in preset loop structure.
It is understood that the instruction of subsequent input will if instruction end position is still in preset loop structure It is inputted according to the composing structure of preset loop structure.
In the concrete realization, it has inputted in instruction and has included " repeat (2): ", it is believed that, the stop bits of " move (- 4) " It sets and is still in the preset loop structure of preset loop instruction " repeat (2): ".
Step S103: when in the preset loop structure, typesetting corresponding with the preset loop structure is determined Structure.
In the concrete realization, can the corresponding composing structure of prespecified preset loop structure, for example, preset loop instructs The composing structure of " repeat (2): " can be, on the basis of the location of instruction of preset loop instruction, next line is inputted next Instruction will instruct than preset loop and retreat preset characters number.
Step S104: the present instruction is filled by the composing structure in the pre-set code input interface.
In the concrete realization, if the present instruction inputted at this time is turnLeft (), present instruction can be added and is instructed Sequence is placed in and has inputted after instruction.
Step S105: the input filled in pre-set code input interface instruction is inserted in advance with the present instruction If in stack, to constitute the instruction sequence in the default stack.
In the concrete realization, it is as follows to have inputted the instruction sequence that instruction and present instruction are constituted,
“move(-4)
repeat(2):
move(4)
move(-4)
turnLeft()”。
It is apparent that turnLeft () and move (- 4) the vacant equal number of characters in pre-set code input interface, TurnLeft () is instructed than preset loop has retreated preset characters number again, and preset characters number can be 2 characters, can be presented as 2 Space.
It is understood that in pre-set code input interface when input code, if considering the shadow of preset loop structure It rings, preset loop structure is that preset loop instructs corresponding typesetting range, for example, the typesetting row that preset loop instruction influences Number, the code inputted within the scope of the typesetting will be according to specific composing structure.The Automatic Typesetting side described through this embodiment The efficiency of code input can be improved in formula, and automatic identification needs the range of typesetting, and carries out Automatic Typesetting.
Further, described when receiving the present instruction of user's input, it reads in pre-set code input interface Input instruction, and inputted before the instruction end position of instruction described in determination, the code debugging method further include:
When detecting the first click event, the corresponding click component of the first click event is determined;
Corresponding present instruction, the preset group are inquired in description components command mappings relationship according to the click component It include the corresponding relationship between the click component and instruction in part command mappings relationship.
It is understood that for the mode of input code, for simplified code editing process, it is easier to program beginner Programing work is completed, user can automatically generate corresponding code by clicking component, without being manually entered specific character.
It in the concrete realization, may include that pre-set code is defeated in display interface reference can be made to display interface schematic diagram shown in Fig. 4 Enter interface and description components choose interface, description components, which are chosen in interface, can show multiple click components.For example, if user clicks Some, which is clicked component and generates first, clicks event, which can be turnLeft (), then can be default TurnLeft () is automatically entered in code entry interface, substantially increases input efficiency.
In the present embodiment in pre-set code input interface when input code, can automatic identification need the range of typesetting, and Automatic Typesetting is carried out, the input process of code is simplified, improves input efficiency.Moreover, being also additionally arranged in the present embodiment default Component command mappings relationship and description components choose each click component in interface, so that user is not necessarily to be manually entered character, Code Edit behavior can be substituted by click behavior, further increase the efficiency of code input.
It is the flow diagram of code debugging method 3rd embodiment of the present invention referring to 5, Fig. 5, based on above-mentioned shown in Fig. 3 Second embodiment proposes the 3rd embodiment of code debugging method of the present invention.
In 3rd embodiment, before the step S101, the code debugging method further include:
Step S1011: when detecting the second click event, determine that the second click event is visualized in pre-set code Corresponding visualization component in region.
It in the concrete realization, referring to fig. 4, may include pre-set code input interface, description components selection circle in display interface Face and pre-set code viewable area can show multiple visualization components, user Ke Tong in pre-set code viewable area It crosses and clicks some visualization component, to input corresponding character.
Step S1012: it is inquired in description components character mapping relations according to the visualization component corresponding to be entered Character includes that corresponding between the visualization component and the character to be entered is closed in the description components command mappings relationship System.
It is understood that being more suitble to compile by showing that visualization component completes the input of character for user's click Journey catechumen, meanwhile, also improve programming efficiency.
In the concrete realization, common character to be entered is box if it exists, means chest in view of the Chinese of box, then can be Automatically the visualization component of a boxed-section shape is shown in pre-set code viewable area.User is by clicking the boxed-section shape Visualization component, can automatically retrieval go out character to be entered box and automatically enter.
Step S1013: present instruction is constituted by the character to be entered.
Further, it is described inquired in description components character mapping relations according to the visualization component it is corresponding to defeated After entering character, the code debugging method further include:
Instruction to be entered is chosen in the instruction of input of pre-set code input interface, and identifies the instruction to be entered Target instruction target word format;
Correspondingly, described that present instruction is constituted by the character to be entered, it specifically includes:
When in the target instruction target word format there are first when inserting character field, will the character to be entered filling described in First wait insert in character field, to obtain new instruction to be entered, and using new instruction to be entered as present instruction.
It is understood that in such a way that character to be entered constitutes present instruction, in addition to directly by input to Input character directly as present instruction outside, it is contemplated that one instruction code integrity, the character to be entered that may be got Can not direct compilation obtain a corresponding instruction operation result, may also be combined with and inputted instruction to cooperate.
In the concrete realization, for example, the last one instruction inputted in instruction is goto (), goto () can be chosen For instruction to be entered.If showing including for goto () there are the first character field to be inserted in the target instruction target word format of goto () Input character is needed in number also to complete primary complete instruction operation action.For example, if the character to be entered obtained is this moment Box will be then automatically filled in goto (), be obtained goto (box) and be used as present instruction.
Certainly, character to be entered can also independently be used as object name other than it can insert and input in instruction, with later input Function form a complete instruction.
In addition, again using new instruction to be entered as present instruction after, can from inputted instruction in leave out instruction to be entered.
Further, described that the present instruction is filled by the composing structure in the pre-set code input interface Later, the code debugging method further include:
It identifies the second instruction type of the present instruction, and determines that corresponding second refers to according to second instruction type Enable format;
Judge in second instruction format with the presence or absence of the second character field to be inserted;
When in second instruction format there are described second when inserting character field, default cursor is moved to described Second character field to be inserted;
It is receiving when inserting character, the character to be inserted is inserted described the second of the present instruction wait insert In character field, to obtain new present instruction;
Correspondingly, described to insert the input filled in pre-set code input interface instruction with the present instruction In default stack, to constitute the instruction sequence in the default stack, specifically include:
The instruction that inputted filled in the pre-set code input interface is inserted in default stack with new present instruction, with Constitute the instruction sequence in the default stack.
It is understood that will can intelligently move pre-set code input interface to improve the efficiency of code input In cursor position.
In the concrete realization, for example, the corresponding instruction type of present instruction is move if present instruction is move (), and Determine that corresponding instruction format, instruction format can be move (A) according to instruction type move, A is integer.It is apparent that instruction lattice There are the second character field A to be inserted in formula, then default cursor can be moved at " move (", for inputting word in bracket Symbol, rather than default cursor is moved to the end position of move ().Then, it is receiving when inserting character is -2, is obtaining The new present instruction obtained is move (- 2).
Certainly, default cursor can not be moved to the end position of instruction, default cursor can also be moved to the knot of instruction Beam position, this depends on instruction format.After all, some instructions character field not inserted.
It should be understood that new present instruction can be sequentially added in default stack after obtaining new present instruction, with Generate instruction sequence.
The visualization component being additionally arranged in pre-set code visualization area and pre-set code visualization area in the present embodiment, can The input that character is completed for user's click, improves programming efficiency, without being manually entered character.In addition, in the present embodiment Cursor can adaptively change cursor position according to instruction format, convenient for automatically entering character to be inserted, change manually without user Darkening cursor position further increases code input efficiency.
In addition, the embodiment of the present invention also proposes a kind of storage medium, code debugging program is stored on the storage medium, Following operation is realized when the code debugging program is executed by processor:
Obtain the instruction sequence stored in default stack;
Traverse in described instruction sequence respectively to operational order, described will be carried out to operational order and default valid instruction Match;
In successful match, whether detection is described meets the first instruction format to operational order;
When meeting first instruction format, from described to read first object instruction in operational order;
The first object instruction is compiled, in default running environment to obtain instruction operation result;
When including default run-time error prompt in described instruction operation result, institute is marked in pre-set code input page State first object instruction.
Further, following operation is also realized when the code debugging program is executed by processor:
In successful match, identification is described to the first instruction type belonging to operational order;
Whether detection is described meets corresponding first instruction format of first instruction type to operational order.
Further, following operation is also realized when the code debugging program is executed by processor:
When receiving the present instruction of user's input, the instruction of input in pre-set code input interface is read, and really The fixed instruction end position for having inputted instruction;
Judge whether described instruction end position is in preset loop structure;
When in the preset loop structure, composing structure corresponding with the preset loop structure is determined;
The present instruction is filled by the composing structure in the pre-set code input interface;
The input filled in pre-set code input interface instruction and the present instruction are inserted in default stack, with Constitute the instruction sequence in the default stack.
Further, following operation is also realized when the code debugging program is executed by processor:
When detecting the first click event, the corresponding click component of the first click event is determined;
Corresponding present instruction, the preset group are inquired in description components command mappings relationship according to the click component It include the corresponding relationship between the click component and instruction in part command mappings relationship.
Further, following operation is also realized when the code debugging program is executed by processor:
When detecting the second click event, determine that the second click event is corresponding in pre-set code viewable area Visualization component;
Corresponding character to be entered is inquired in description components character mapping relations according to the visualization component, it is described pre- If in component command mappings relationship including the corresponding relationship between the visualization component and the character to be entered;
Present instruction is constituted by the character to be entered.
Further, following operation is also realized when the code debugging program is executed by processor:
Instruction to be entered is chosen in the instruction of input of pre-set code input interface, and identifies the instruction to be entered Target instruction target word format;
Correspondingly, described that present instruction is constituted by the character to be entered, it specifically includes:
When in the target instruction target word format there are first when inserting character field, will the character to be entered filling described in First wait insert in character field, to obtain new instruction to be entered, and using new instruction to be entered as present instruction.
Further, following operation is also realized when the code debugging program is executed by processor:
It identifies the second instruction type of the present instruction, and determines that corresponding second refers to according to second instruction type Enable format;
Judge in second instruction format with the presence or absence of the second character field to be inserted;
When in second instruction format there are described second when inserting character field, default cursor is moved to described Second character field to be inserted;
It is receiving when inserting character, the character to be inserted is inserted described the second of the present instruction wait insert In character field, to obtain new present instruction;
Correspondingly, described to insert the input filled in pre-set code input interface instruction with the present instruction In default stack, to constitute the instruction sequence in the default stack, specifically include:
The instruction that inputted filled in the pre-set code input interface is inserted in default stack with new present instruction, with Constitute the instruction sequence in the default stack.
The instruction sequence stored in default stack is obtained in the present embodiment;Traverse in instruction sequence respectively to operational order, will It is matched to operational order with default valid instruction;In successful match, whether detection meets the first instruction to operational order Format;When meeting the first instruction format, first object instruction is read to operational order;It is compiled in default running environment First object instruction, to obtain instruction operation result;When including default run-time error prompt in instructing operation result, default First object instruction is marked in code input page.It is apparent that the present embodiment compile in default stack respectively when operational order, The legitimacy of instruction type will be first proofreaded, to prevent there is false command, then whether decision instruction format meets the requirements, to prevent out Existing operation troubles finally seriatim reads instruction, and individually run to single instruction from instruction sequence, so as to Directly there is the location of instruction of run-time error in label, realizes the automatic investigation for run-time error, improves search efficiency, solves It has determined the technical issues of being difficult to location code operation troubles.
In addition, the embodiment of the present invention also proposes that a kind of code debugging device, the code debugging device include: referring to Fig. 6
Instruction acquisition module 10, for obtaining the instruction sequence stored in default stack.
It is understood that the instruction received can be handled by the way that default stack is arranged, instruction can be sequentially stored in pre- If in stack, a large amount of instruction constitutes instruction sequence.As for instruction one by one mentioned herein, it will be appreciated that be independent operation row For.Specifically, one can be one section of code to operational order, for example, one can be for once for some letter to operational order Several calling behaviors.
In the concrete realization, for example, can be move (5) to operational order, move () can be prespecified legal function.
Instructions match module 20, for traverse in described instruction sequence respectively to operational order, will be described to operational order It is matched with default valid instruction.
It should be understood that for example, in instruction sequence it is multiple to operational order may be followed successively by move (5), These can be waited for operational order to rapidly lock the code of possible input error by turnLeft () and press () etc. It is matched one by one with default valid instruction, whether multiple in decision instruction sequence belong to preset legal finger to operational order It enables.Wherein, preset valid instruction be it is prespecified can normal use type function, for example, default valid instruction may wrap Move, turnLeft and press are included.
Format detection module 30, for whether meeting the first instruction lattice to operational order described in detection in successful match Formula.
It is understood that if successful match, show in instruction sequence belonged to operational order preset legal finger It enables, then can carry out the automatic detection of instruction format.Specifically, for example, being move (5), the first instruction lattice to operational order Formula requires move (A), and A is integer.
Module 40 is chosen in instruction, for when meeting first instruction format, from described to read the in operational order One target instruction target word.
It in the concrete realization, is integer since the A value in move (5) is 5, then it is assumed that meet the first instruction format, it can be just This often is run to operational order.
Compiling of instruction module 50, for compiling the first object instruction in default running environment, to obtain instruction fortune Row result.
It is understood that being proofreaded completing the automation for instruction type and instruction format to operational order Afterwards, can formal entry instruction compiling link.In compiling link, it can be compiled one by one by the default running environment voluntarily built Translate in default stack to operational order, for example, can run the first object instruction move (5), to obtain the finger under current schedules Enable operation result.
In addition, if first object is instructed, there are corresponding visualization behaviors, can also show in pre-set code viewable area Show the visualization behavior, to realize that the visualization to operational order is presented.
Cue mark module 60, when for including default run-time error prompt in described instruction operation result, default The first object is marked to instruct in code input page.
It should be understood that if being also found that, operation troubles is had occurred in first object instruction move (5) herein, will be automatic Generation error prompt includes default run-time error prompt in the instruction operation result of first object instruction move (5), can be automatic Highlight mark first object instructs move (5) position in pre-set code input page, in order to which quick lock in runs event Barrier.This may be because of influencing each other between instruction, alternatively, prespecified goal task, instruction in default running environment Operation result does not complete the goal task, then will generate default run-time error prompt.
It is understood that can seriatim be read from instruction sequence by being compiled in default running environment Instruction, and seriatim operating instruction is to obtain the corresponding operation result of single instruction, this results in the frameworks of locking faulting instruction Basis can quickly locate faulting instruction and mark it.
The instruction sequence stored in default stack is obtained in the present embodiment;Traverse in instruction sequence respectively to operational order, will It is matched to operational order with default valid instruction;In successful match, whether detection meets the first instruction to operational order Format;When meeting the first instruction format, first object instruction is read to operational order;It is compiled in default running environment First object instruction, to obtain instruction operation result;When including default run-time error prompt in instructing operation result, default First object instruction is marked in code input page.It is apparent that the present embodiment compile in default stack respectively when operational order, The legitimacy of instruction type will be first proofreaded, to prevent there is false command, then whether decision instruction format meets the requirements, to prevent out Existing operation troubles finally seriatim reads instruction, and individually run to single instruction from instruction sequence, so as to Directly there is the location of instruction of run-time error in label, realizes the automatic investigation for run-time error, improves search efficiency, solves It has determined the technical issues of being difficult to location code operation troubles.
In one embodiment, the format detection module 30, is also used in successful match, and identification is described to operational order The first affiliated instruction type;Whether detection is described meets the corresponding first instruction lattice of first instruction type to operational order Formula.
In one embodiment, the code debugging device includes:
Instruction sequence constitutes module, for reading pre-set code and inputting boundary when receiving the present instruction of user's input The instruction of input in face, and determine the instruction end position for having inputted instruction;Whether judge described instruction end position In preset loop structure;When in the preset loop structure, row corresponding with the preset loop structure is determined Plate structure;The present instruction is filled by the composing structure in the pre-set code input interface;By the default generation The instruction of input and the present instruction filled in code input interface are inserted in default stack, to constitute the finger in the default stack Enable sequence.
In one embodiment, the code debugging device includes:
First present instruction generation module, for when detecting the first click event, determining the first click event Corresponding click component;Corresponding present instruction, institute are inquired in description components command mappings relationship according to the click component State the corresponding relationship between including the click component in description components command mappings relationship and instructing.
In one embodiment, the code debugging device includes:
Second present instruction generation module, for when detecting the second click event, determining the second click event The corresponding visualization component in pre-set code viewable area;It is mapped and is closed in description components character according to the visualization component Inquire corresponding character to be entered in system, include in the description components command mappings relationship visualization component and it is described to Input the corresponding relationship between character;Present instruction is constituted by the character to be entered.
In one embodiment, the code debugging device includes:
Format recognizer module for choosing instruction to be entered in the input of pre-set code input interface instruction, and is known The target instruction target word format of the not described instruction to be entered;
The second present instruction generation module is also used to when there are the first characters to be inserted in the target instruction target word format When field, by character to be entered filling described first wait insert in character field, to obtain new instruction to be entered, and will New instruction to be entered is as present instruction.
In one embodiment, the code debugging device includes:
Editor module is instructed, for identification the second instruction type of the present instruction, and according to second instruction class Type determines corresponding second instruction format;Judge in second instruction format with the presence or absence of the second character field to be inserted;When In second instruction format there are described second when inserting character field, default cursor is moved to described second wait insert Character field;It is receiving when inserting character, the character to be inserted is inserted described the second of the present instruction wait fill out Enter in character field, to obtain new present instruction;
Described instruction Sequence composition module, be also used to by the input filled in the pre-set code input interface instruct with New present instruction is inserted in default stack, to constitute the instruction sequence in the default stack.
The other embodiments or specific implementation of code debugging device of the present invention can refer to above-mentioned each method and implement Example, details are not described herein again.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.If listing equipment for drying Unit claim in, several in these devices, which can be, to be embodied by the same item of hardware.Word first, Second and the use of third etc. do not indicate any sequence, can be title by these word explanations.
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, technical solution of the present invention 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 read-only memory, RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, count Calculation machine, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of code debugging method, which is characterized in that the code debugging method the following steps are included:
Obtain the instruction sequence stored in default stack;
Traverse described instruction sequence in respectively to operational order, matched described to operational order with default valid instruction;
In successful match, whether detection is described meets the first instruction format to operational order;
When meeting first instruction format, from described to read first object instruction in operational order;
The first object instruction is compiled, in default running environment to obtain instruction operation result;
When including default run-time error prompt in described instruction operation result, described the is marked in pre-set code input page One target instruction target word.
2. code debugging method as described in claim 1, which is characterized in that described in successful match, detection is described wait grasp It instructs and whether meets the first instruction format, specifically include:
In successful match, identification is described to the first instruction type belonging to operational order;
Whether detection is described meets corresponding first instruction format of first instruction type to operational order.
3. code debugging method as described in claim 1, which is characterized in that described to obtain the instruction sequence stored in default stack Before, the code debugging method further include:
When receiving the present instruction of user's input, the instruction of input in pre-set code input interface is read, and determine institute State the instruction end position for having inputted instruction;
Judge whether described instruction end position is in preset loop structure;
When in the preset loop structure, composing structure corresponding with the preset loop structure is determined;
The present instruction is filled by the composing structure in the pre-set code input interface;
The input filled in pre-set code input interface instruction and the present instruction are inserted in default stack, to constitute Instruction sequence in the default stack.
4. code debugging method as claimed in claim 3, which is characterized in that described in the present instruction for receiving user's input When, the instruction of input in pre-set code input interface is read, and inputted before the instruction end position of instruction described in determination, The code debugging method further include:
When detecting the first click event, the corresponding click component of the first click event is determined;
Corresponding present instruction is inquired in description components command mappings relationship according to the click component, the description components refer to Enable the corresponding relationship between including the click component in mapping relations and instructing.
5. code debugging method as claimed in claim 3, which is characterized in that described in the present instruction for receiving user's input When, the instruction of input in pre-set code input interface is read, and inputted before the instruction end position of instruction described in determination, The code debugging method further include:
When detecting the second click event, determining that the second click event is corresponding in pre-set code viewable area can Depending on changing component;
Corresponding character to be entered, the preset group are inquired in description components character mapping relations according to the visualization component It include the corresponding relationship between the visualization component and the character to be entered in part command mappings relationship;
Present instruction is constituted by the character to be entered.
6. code debugging method as claimed in claim 5, which is characterized in that it is described according to the visualization component in preset group It is inquired after corresponding character to be entered in part character mapping relations, the code debugging method further include:
Instruction to be entered is chosen in the instruction of input of pre-set code input interface, and identifies the target of the instruction to be entered Instruction format;
Correspondingly, described that present instruction is constituted by the character to be entered, it specifically includes:
When in the target instruction target word format there are first when inserting character field, by the character to be entered insert described first Wait insert in character field, to obtain new instruction to be entered, and using new instruction to be entered as present instruction.
7. code debugging method as claimed in claim 3, which is characterized in that described to lead in the pre-set code input interface It crosses after the composing structure filling present instruction, the code debugging method further include:
It identifies the second instruction type of the present instruction, and corresponding second instruction lattice is determined according to second instruction type Formula;
Judge in second instruction format with the presence or absence of the second character field to be inserted;
When in second instruction format there are described second when inserting character field, default cursor is moved to described second Character field to be inserted;
It is receiving when inserting character, the character to be inserted is inserted to the described second character to be inserted of the present instruction In field, to obtain new present instruction;
Correspondingly, described insert the input filled in pre-set code input interface instruction with the present instruction is preset In stack, to constitute the instruction sequence in the default stack, specifically include:
The instruction that inputted filled in the pre-set code input interface is inserted in default stack with new present instruction, to constitute Instruction sequence in the default stack.
8. a kind of user equipment, which is characterized in that the user equipment includes: memory, processor and is stored in the storage Code debugging program can be run on device and on the processor, the code debugging program is realized when being executed by the processor The step of code debugging method as described in any one of claims 1 to 7.
9. a kind of storage medium, which is characterized in that be stored with code debugging program, the code debugging journey on the storage medium The step of code debugging method as described in any one of claims 1 to 7 is realized when sequence is executed by processor.
10. a kind of code debugging device, which is characterized in that the code debugging device includes:
Instruction acquisition module, for obtaining the instruction sequence stored in default stack;
Instructions match module, for traverse in described instruction sequence respectively to operational order, will be described to operational order and default Valid instruction is matched;
Format detection module, for whether meeting the first instruction format to operational order described in detection in successful match;
Module is chosen in instruction, for when meeting first instruction format, from described to read first object in operational order Instruction;
Compiling of instruction module, for compiling the first object instruction in default running environment, to obtain instruction operation result;
Cue mark module, it is defeated in pre-set code when for including default run-time error prompt in described instruction operation result Enter and the first object is marked to instruct in the page.
CN201910349241.XA 2019-04-25 2019-04-25 Code debugging method, user equipment, storage medium and device Active CN110096442B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910349241.XA CN110096442B (en) 2019-04-25 2019-04-25 Code debugging method, user equipment, storage medium and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910349241.XA CN110096442B (en) 2019-04-25 2019-04-25 Code debugging method, user equipment, storage medium and device

Publications (2)

Publication Number Publication Date
CN110096442A true CN110096442A (en) 2019-08-06
CN110096442B CN110096442B (en) 2023-06-30

Family

ID=67446036

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910349241.XA Active CN110096442B (en) 2019-04-25 2019-04-25 Code debugging method, user equipment, storage medium and device

Country Status (1)

Country Link
CN (1) CN110096442B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112711523A (en) * 2019-10-24 2021-04-27 珠海格力电器股份有限公司 Program problem positioning method and device, electronic equipment and storage medium
CN113409653A (en) * 2021-06-16 2021-09-17 北京猿力未来科技有限公司 Information display method of programming interface and related equipment
CN114153750A (en) * 2022-02-10 2022-03-08 北京壁仞科技开发有限公司 Code checking method and device, code compiling method and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100218049A1 (en) * 2009-02-24 2010-08-26 International Business Machines Corporation Method of Creating Signatures for Classifying Program Failures
CN102855186A (en) * 2012-07-24 2013-01-02 飞天诚信科技股份有限公司 Method for processing Java card debugging information
CN103197929A (en) * 2013-03-25 2013-07-10 中国科学院软件研究所 System and method for graphical programming facing children
CN107577611A (en) * 2017-11-01 2018-01-12 四川久远银海软件股份有限公司 Using debugging apparatus and method
CN109471634A (en) * 2018-08-28 2019-03-15 上海思立微电子科技有限公司 The inspection method and equipment of source code format

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100218049A1 (en) * 2009-02-24 2010-08-26 International Business Machines Corporation Method of Creating Signatures for Classifying Program Failures
CN102855186A (en) * 2012-07-24 2013-01-02 飞天诚信科技股份有限公司 Method for processing Java card debugging information
CN103197929A (en) * 2013-03-25 2013-07-10 中国科学院软件研究所 System and method for graphical programming facing children
CN107577611A (en) * 2017-11-01 2018-01-12 四川久远银海软件股份有限公司 Using debugging apparatus and method
CN109471634A (en) * 2018-08-28 2019-03-15 上海思立微电子科技有限公司 The inspection method and equipment of source code format

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112711523A (en) * 2019-10-24 2021-04-27 珠海格力电器股份有限公司 Program problem positioning method and device, electronic equipment and storage medium
CN113409653A (en) * 2021-06-16 2021-09-17 北京猿力未来科技有限公司 Information display method of programming interface and related equipment
CN114153750A (en) * 2022-02-10 2022-03-08 北京壁仞科技开发有限公司 Code checking method and device, code compiling method and electronic equipment

Also Published As

Publication number Publication date
CN110096442B (en) 2023-06-30

Similar Documents

Publication Publication Date Title
CN110096442A (en) Code debugging method, user equipment, storage medium and device
CN102609241B (en) hot patch method and device
US8185877B1 (en) System and method for testing applications
US6353896B1 (en) Method and apparatus for testing event driven software
CN108197114B (en) Method and device for detecting table data, storage medium and electronic device
CN104572043A (en) Method and device for embedding points for controls of client application in real time
JP4877068B2 (en) Software development support program, software development support method
CN1938679A (en) System and method for program execution
CN106055462A (en) Method and device for duration acquisition
CN106126423A (en) The method of testing of game application, Apparatus and system
CN102541521A (en) Automatic operating instruction generating device based on structured query language and method
CN109240661A (en) A kind of code generating method and device
CN108647147B (en) Automatic testing robot implemented by using atlas analysis and use method thereof
CN108399124A (en) Application testing method, device, computer equipment and storage medium
CN103677862A (en) Upgrading method and device of EPLD program
CN104731566A (en) Testing device, method and system for IDE (Integrated Development Environment)
CN107797996B (en) Entry translation method and device
CN105589729A (en) Dynamic compiling method and device based on embedded virtual machine
US20050010899A1 (en) Recovery and representation of object interaction in an object oriented program
CN111931471A (en) Form collection method and device, electronic equipment and storage medium
CN102063367B (en) Off-line analysis method and device aiming at computer crash program
CN114924737A (en) Battery management system source code integration test method and device and electronic equipment
JP2000216855A (en) Method, editor, computer, control module and storage medium for editing configuration data for communication system
CN108037944B (en) EPROM automatic reburning method
CN112416329A (en) Data editing method and device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20200422

Address after: 100089 b801-014, block B, Tsinghua University research complex, Tsinghua garden, Haidian District, Beijing

Applicant after: Beijing code Learning Technology Co.,Ltd.

Address before: 518000 Room 1309, Four Blocks, Fang Da Square, No. 2 Xili Longzhu Road, Taoyuan Street, Nanshan District, Shenzhen City, Guangdong Province

Applicant before: Shenzhen Code Interesting Science and Technology Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant