CN112380109A - Debugging system and method for application program development - Google Patents

Debugging system and method for application program development Download PDF

Info

Publication number
CN112380109A
CN112380109A CN202011041306.3A CN202011041306A CN112380109A CN 112380109 A CN112380109 A CN 112380109A CN 202011041306 A CN202011041306 A CN 202011041306A CN 112380109 A CN112380109 A CN 112380109A
Authority
CN
China
Prior art keywords
debugging
program
unit
instruction
module
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.)
Withdrawn
Application number
CN202011041306.3A
Other languages
Chinese (zh)
Inventor
蔡中挺
刘仕强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hengyang Spark Information Technology Co ltd
Original Assignee
Hengyang Spark Information 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 Hengyang Spark Information Technology Co ltd filed Critical Hengyang Spark Information Technology Co ltd
Priority to CN202011041306.3A priority Critical patent/CN112380109A/en
Publication of CN112380109A publication Critical patent/CN112380109A/en
Withdrawn legal-status Critical Current

Links

Images

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a debugging system for application program development, which comprises a program debugging chip, a debugging instruction module, a debugging program module and a debugging result output module, wherein the debugging instruction module and the debugging program module are respectively connected with a data input end of the program debugging chip, and a data output end of the program debugging chip is connected with the debugging result output module. The debugging instruction module and the debugging program module are respectively used for inputting debugging instructions and programs to be debugged to the program debugging chip, the program debugging chip outputs results to a user through the debugging result output module after debugging the programs according to the input instructions, the user inputs feedback information of debugging results through the feedback unit, the debugging instructions are modified, and the method and the type of program debugging are changed, so that the program debugging is more accurate and comprehensive.

Description

Debugging system and method for application program development
Technical Field
The invention relates to the technical field of program debugging, in particular to a debugging system and method for application program development.
Background
Program debugging is a process of testing by manual or compiler methods before putting a programmed program into actual operation, and correcting syntax errors and logic errors. This is an essential step in ensuring the correctness of the computer information system. After the computer program is programmed, the computer program must be sent to a computer for testing.
The invention patent with the application number of CN201510493325.2 discloses a program debugging method and a device thereof by retrieval, and particularly discloses a technical scheme that' the debugging position in debugging information set according to a loaded Debug version program is converted into a corresponding memory address, and the Debug version program corresponds to a Release version program to be tested;
sending the memory address and debugging action information in the corresponding debugging information to a program debugging device where the Release version program is located, so that the program debugging device carries out debugging processing corresponding to the debugging action information at the memory address of the Release version program; the method comprises the steps of receiving a debugging processing result returned by the program debugging device, wherein the debugging processing result comprises the memory address and result information, converting the memory address into the debugging position of the Debug version program, and obtaining the result information at the debugging position, and although the technical problem that the problem of guessing and solving is solved by a positioning person according to experience and communication when there is no dump file is solved, the problem positioning efficiency of the Release version program is low due to the modes, the problem of equipment use is influenced due to the difficulty caused by fault repair of equipment (such as the router and the switch) where the Release version operates, the debugging result cannot be output and displayed in time, and a user cannot modify a debugging instruction in the program debugging process, so that the program debugging efficiency is influenced.
Therefore, in view of the above situation, there is a need to develop a debugging system and method for application program development to overcome the shortcomings in the current practical application.
Disclosure of Invention
The present invention is directed to a debugging system and method for application program development to solve the problems set forth in the background art.
In order to achieve the purpose, the invention provides the following technical scheme:
the utility model provides a debugging system of application program development, includes program debugging chip, debugging instruction module, debugging program module and debugging result output module, debugging instruction module and debugging program module are connected in program debugging chip's data input end respectively, and program debugging chip's data output end is connected with debugging result output module, debugging instruction module and debugging program module are used for respectively to program debugging chip input debugging instruction and the program of waiting to debug, and program debugging chip passes through debugging result output module to user output result after according to input instruction to program debugging.
As a further scheme of the invention: the program debugging chip comprises an instruction receiving unit, a parameter configuration unit, a memory allocation unit, a debugging execution unit and an output unit, wherein the instruction receiving unit, the parameter configuration unit, the memory allocation unit, the debugging execution unit and the output unit are sequentially connected.
As a further scheme of the invention: the instruction receiving unit is used for receiving and confirming the debugging instruction and the program to be debugged, the program parameter is configured through the parameter configuration unit and the memory allocation unit after confirmation to set the memory for executing the debugging instruction, the parameter setting and the memory configuration are completed, the program debugging chip executes the debugging instruction on the chip to be debugged through the debugging execution unit, and the debugging result is output through the output unit after the debugging is completed.
As a further scheme of the invention: the debugging device also comprises an operation interface, the operation interface is respectively connected with the debugging result output module, the debugging instruction module and the debugging program module, the operation interface inputs a debugging instruction and a program to be debugged to the program debugging chip through the debugging instruction module and the debugging program module, debugging is started, and the debugging result is displayed after debugging is finished.
As a further scheme of the invention: the operation interface comprises a result display unit, a feedback unit and a program operation unit, and the result display unit, the feedback unit and the program operation unit are sequentially connected.
As a further scheme of the invention: the program operation unit is used for operating the program to be debugged, and the operation mode comprises program input before debugging, program closing during debugging and program starting after debugging.
As a further scheme of the invention: the debugging instruction module comprises a debugging task determining unit, a debugging program generating unit and a program importing unit which are sequentially connected.
A debugging method of a debugging system for application program development comprises the following steps:
s1, the user firstly determines and refines the debugging purpose, the debugging mode and the debugging execution step through the debugging task determining unit, then generates a corresponding debugging instruction through the debugging program generating unit, and finally introduces the debugging instruction into the program debugging chip through the program introducing unit;
s2, the program debugging chip receives and obtains a debugging instruction module and a debugging instruction and a program to be debugged which are led in by the debugging instruction module and the debugging program module, starts to debug the program, and outputs a debugging result through the output unit after debugging is finished;
and S3, after debugging is completed, displaying the debugging result by the result display unit, displaying the debugging success after the debugging is successful, and after the debugging is failed, inputting the feedback information of the debugging result by the user through the feedback unit, modifying the debugging instruction, changing the method and the type of program debugging, and continuously debugging until the debugging is successful.
Compared with the prior art, the invention has the beneficial effects that:
1. the debugging method comprises the steps that a program debugging chip, a debugging instruction module, a debugging program module and a debugging result output module are arranged, wherein the debugging instruction module and the debugging program module are respectively used for inputting a debugging instruction and a program to be debugged to the program debugging chip, and the program debugging chip debugs the program according to the input instruction and then outputs a result to a user through the debugging result output module;
2. the debugging device is characterized by also comprising an operation interface, wherein the operation interface comprises a result display unit, a feedback unit and a program operation unit, the result display unit is used for displaying the debugging result for a user to check, the user inputs the feedback information of the debugging result through the feedback unit, modifies the debugging instruction and changes the method and the type of program debugging, so that the program debugging is more accurate and comprehensive.
Drawings
Fig. 1 is a block diagram of a debugging system for application development.
Fig. 2 is a block diagram of a program debugging chip in a debugging system for application development.
FIG. 3 is a block diagram of a debug instruction module in a debug system for application development.
Fig. 4 is a block diagram showing the structure of an operation interface in a debugging system for application program development.
FIG. 5 is a flow diagram in a debugging system for application development.
In the figure: 1-a program debugging chip, 11-an instruction receiving unit, 12-a parameter configuration unit, 13-a memory allocation unit, 14-a debugging execution unit, 15-an output unit, 2-a debugging instruction module, 21-a debugging task determination unit, 22-a debugging program generation unit, 23-a program import unit, 3-a debugging program module, 4-a debugging result output module, 5-an operation interface, 51-a result display unit, 52-a feedback unit and 53-a program operation unit.
Detailed Description
The technical solution of the present patent will be described in further detail with reference to the following embodiments.
Reference will now be made in detail to embodiments of the present patent, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of explaining the present patent and are not to be construed as limiting the present patent.
Example 1
Referring to fig. 1, 3 and 4, in an embodiment of the present invention, a debugging system for application program development includes a program debugging chip 1, a debugging instruction module 2, a debugging program module 3 and a debugging result output module 4, where the debugging instruction module 2 and the debugging program module 3 are respectively connected to a data input end of the program debugging chip 1, a data output end of the program debugging chip 1 is connected to the debugging result output module 4, the debugging instruction module 2 and the debugging program module 3 are respectively used to input a debugging instruction and a program to be debugged to the program debugging chip 1, and the program debugging chip 1 outputs a result to a user through the debugging result output module 4 after debugging the program according to the input instruction;
the program debugging chip 1 comprises an instruction receiving unit 11, a parameter configuration unit 12, a memory allocation unit 13, a debugging execution unit 14 and an output unit 15, wherein the instruction receiving unit 11, the parameter configuration unit 12, the memory allocation unit 13, the debugging execution unit 14 and the output unit 15 are sequentially connected;
the instruction receiving unit 11 is configured to receive a debugging instruction and a program to be debugged and perform confirmation, configure a program parameter setting memory for executing the debugging instruction through the parameter configuration unit 12 and the memory allocation unit 13 after confirmation, complete parameter setting and memory configuration, execute the debugging instruction on the chip to be debugged through the debugging execution unit 14 by the program debugging chip 1, and output a debugging result through the output unit 15 after debugging is completed;
the debugging result output module 4 is used for receiving the debugging result, processing the debugging result data, and arranging the debugging result data into a table form for sending, so that a user can visually know the debugging result;
specifically, in this embodiment, the debugging device further includes an operation interface 5, where the operation interface 5 is connected to the debugging result output module 4, the debugging instruction module 2, and the debugging program module 3, respectively, and the operation interface 5 inputs a debugging instruction and a program to be debugged to the program debugging chip 1 through the debugging instruction module 2 and the debugging program module 3, starts debugging, and displays a debugging result after debugging is completed;
further, in this embodiment, the operation interface 5 includes a result display unit 51, a feedback unit 52 and a program operation unit 53, and the result display unit 51, the feedback unit 52 and the program operation unit 53 are sequentially connected;
the result display unit 51 is used for displaying the debugging result for the user to check, and the user inputs the feedback information of the debugging result through the feedback unit 52, modifies the debugging instruction, and changes the method and the type of program debugging, thereby enabling the program debugging to be more accurate and comprehensive; the program operation unit 52 is configured to operate a program to be debugged, where the operation mode includes program input before debugging, program shutdown during debugging, and program startup after debugging.
Example 2
Referring to fig. 1, 2 and 4, in an embodiment of the present invention, a debugging system for application program development includes a program debugging chip 1, a debugging instruction module 2, a debugging program module 3 and a debugging result output module 4, where the debugging instruction module 2 and the debugging program module 3 are respectively connected to a data input end of the program debugging chip 1, a data output end of the program debugging chip 1 is connected to the debugging result output module 4, the debugging instruction module 2 and the debugging program module 3 are respectively used to input a debugging instruction and a program to be debugged to the program debugging chip 1, and the program debugging chip 1 outputs a result to a user through the debugging result output module 4 after debugging the program according to the input instruction;
the program debugging chip 1 comprises an instruction receiving unit 11, a parameter configuration unit 12, a memory allocation unit 13, a debugging execution unit 14 and an output unit 15, wherein the instruction receiving unit 11, the parameter configuration unit 12, the memory allocation unit 13, the debugging execution unit 14 and the output unit 15 are sequentially connected;
the instruction receiving unit 11 is configured to receive a debugging instruction and a program to be debugged and perform confirmation, configure a program parameter setting memory for executing the debugging instruction through the parameter configuration unit 12 and the memory allocation unit 13 after confirmation, complete parameter setting and memory configuration, execute the debugging instruction on the chip to be debugged through the debugging execution unit 14 by the program debugging chip 1, and output a debugging result through the output unit 15 after debugging is completed;
the debugging result output module 4 is used for receiving the debugging result, processing the debugging result data, and arranging the debugging result data into a table form for sending, so that a user can visually know the debugging result;
specifically, in this embodiment, the debugging device further includes an operation interface 5, where the operation interface 5 is connected to the debugging result output module 4, the debugging instruction module 2, and the debugging program module 3, respectively, and the operation interface 5 inputs a debugging instruction and a program to be debugged to the program debugging chip 1 through the debugging instruction module 2 and the debugging program module 3, starts debugging, and displays a debugging result after debugging is completed;
further, in this embodiment, the operation interface 5 includes a result display unit 51, a feedback unit 52 and a program operation unit 53, and the result display unit 51, the feedback unit 52 and the program operation unit 53 are sequentially connected;
the result display unit 51 is used for displaying the debugging result for the user to check, and the user inputs the feedback information of the debugging result through the feedback unit 52, modifies the debugging instruction, and changes the method and the type of program debugging, thereby enabling the program debugging to be more accurate and comprehensive; the program operation unit 52 is configured to operate a program to be debugged, where the operation mode includes program input before debugging, program shutdown during debugging, and program startup after debugging.
Referring to fig. 3, the difference between the present embodiment and embodiment 1 is:
the debugging instruction module 2 comprises a debugging task determining unit 21, a debugging program generating unit 22 and a program importing unit 23, and the debugging task determining unit 21, the debugging program generating unit 22 and the program importing unit 23 are connected in sequence;
before debugging, a user determines and refines the debugging purpose, the debugging mode and the debugging execution step through the debugging task determining unit 21, then generates a corresponding debugging instruction through the debugging program generating unit 22, and finally introduces the debugging instruction into the program debugging chip 1 through the program introducing unit 23.
Example 3
Referring to fig. 5, a debugging method of a debugging system for application development includes the following steps:
s1, the user firstly determines and refines the debugging purpose, the debugging mode and the debugging execution step through the debugging task determining unit 21, then generates a corresponding debugging instruction through the debugging program generating unit 22, and finally introduces the debugging instruction into the program debugging chip 1 through the program introducing unit 23;
s2, the program debugging chip 1 receives the debugging instruction and the program to be debugged, which are imported by the debugging instruction module 2 and the debugging program module 3, and starts to perform program debugging, and after the debugging is finished, outputs the debugging result through the output unit 15;
and S3, after debugging is completed, displaying the debugging result by the result display unit 51, displaying the debugging success after the debugging is successful, and after the debugging is failed, inputting the feedback information of the debugging result by the user through the feedback unit 52, modifying the debugging instruction, changing the method and the type of program debugging, and continuously debugging until the debugging is successful.
The above is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, it is possible to make several variations and modifications without departing from the concept of the present invention, and these should be considered as the protection scope of the present invention, which will not affect the effect of the implementation of the present invention and the utility of the patent.

Claims (8)

1. The utility model provides a debugging system of application program development, its characterized in that, includes program debugging chip (1), debug instruction module (2), debugging program module (3) and debugging result output module (4), debug instruction module (2) and debugging program module (3) are connected in the data input end of program debugging chip (1) respectively, and the data output end and the debugging result output module (4) of program debugging chip (1) are connected, debug instruction module (2) and debugging program module (3) are used for respectively to program debugging chip (1) input debugging instruction and the program of waiting to debug, and program debugging chip (1) is according to input instruction to the program debugging back through debugging result output module (4) to user output result.
2. The debugging system for application development according to claim 1, wherein the program debugging chip (1) comprises an instruction receiving unit (11), a parameter configuration unit (12), a memory allocation unit (13), a debugging execution unit (14), and an output unit (15), and the instruction receiving unit (11), the parameter configuration unit (12), the memory allocation unit (13), the debugging execution unit (14), and the output unit (15) are sequentially connected.
3. The debugging system of claim 1, wherein the instruction receiving unit (11) is configured to receive and confirm the debugging instruction and the program to be debugged, configure the program parameter setting through the parameter configuration unit (12) and the memory allocation unit (13) for the memory used for the execution of the debugging instruction after confirmation, complete the parameter setting and the memory configuration, the program debugging chip (1) executes the debugging instruction on the chip to be debugged through the debugging execution unit (14), and output the debugging result through the output unit (15) after the debugging is completed.
4. The debugging system of application program development according to claim 3, further comprising an operation interface (5), wherein the operation interface (5) is connected to the debugging result output module (4), the debugging instruction module (2), and the debugging program module (3), respectively, the operation interface (5) inputs the debugging instruction and the program to be debugged to the program debugging chip (1) through the debugging instruction module (2) and the debugging program module (3), starts debugging, and displays the debugging result after debugging is completed.
5. The debugging system for application program development according to claim 4, wherein the operation interface (5) comprises a result display unit (51), a feedback unit (52) and a program operation unit (53), and the result display unit (51), the feedback unit (52) and the program operation unit (53) are connected in sequence.
6. The debugging system for application program development according to claim 5, wherein the result display unit (51) is configured to display the debugging result for the user to view, the user inputs the feedback information of the debugging result through the feedback unit (52), modifies the debugging instruction, and changes the method and type of program debugging, the program operation unit (52) is configured to operate the program to be debugged, and the operation manner includes program input before debugging, program shutdown during debugging, and program startup after debugging.
7. The debugging system for application program development according to claim 6, wherein the debugging instruction module (2) comprises a debugging task determining unit (21), a debugging program generating unit (22) and a program importing unit (23), and the debugging task determining unit (21), the debugging program generating unit (22) and the program importing unit (23) are connected in sequence.
8. A debugging method of a debugging system for application development according to any one of claims 1 to 7, comprising the steps of:
s1, a user firstly determines and refines the steps of debugging purpose, debugging mode and debugging execution through a debugging task determining unit (21), then generates a corresponding debugging instruction through a debugging program generating unit (22), and finally introduces the debugging instruction into a program debugging chip (1) through a program introducing unit (23);
s2, the program debugging chip (1) receives and obtains debugging instructions and programs to be debugged which are imported by the debugging instruction module (2) and the debugging program module (3), starts program debugging, and outputs debugging results through the output unit (15) after debugging is finished;
s3, after debugging is completed, the result display unit (51) displays the debugging result, after debugging is successful, after debugging is failed, the user inputs the feedback information of the debugging result through the feedback unit (52), the debugging instruction is modified, the method and the type of program debugging are changed, and debugging is continued until the debugging is successful.
CN202011041306.3A 2020-09-28 2020-09-28 Debugging system and method for application program development Withdrawn CN112380109A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011041306.3A CN112380109A (en) 2020-09-28 2020-09-28 Debugging system and method for application program development

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011041306.3A CN112380109A (en) 2020-09-28 2020-09-28 Debugging system and method for application program development

Publications (1)

Publication Number Publication Date
CN112380109A true CN112380109A (en) 2021-02-19

Family

ID=74579937

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011041306.3A Withdrawn CN112380109A (en) 2020-09-28 2020-09-28 Debugging system and method for application program development

Country Status (1)

Country Link
CN (1) CN112380109A (en)

Similar Documents

Publication Publication Date Title
CN103365770B (en) Mobile terminal software test macro and method for testing software
US6197605B1 (en) Method and device for test vector analysis
CN104636254A (en) Method and device for generating test case, testing method and testing equipment
CN105512036A (en) Test template for automatically generating test case according to preset rules and test method
CN107015902B (en) Test method and test equipment
CN111859834B (en) UVM-based verification platform development method, system, terminal and storage medium
TW201312340A (en) Handheld electronic device testing system and method
CN102855175B (en) Automated testing method and device
CN110287113A (en) Automation interface test method
Simon et al. Automatic test case generation for PLC programs using coverage metrics
CN116090403A (en) Command processing system supporting multiple simulators
Iyenghar et al. Towards model-based test automation for embedded systems using UML and UTP
CN110737985A (en) Running data verification method and device, computer equipment and readable storage medium
CN114548027A (en) Method for tracking signal in verification system, electronic device and storage medium
CN113254054A (en) Intelligent contract one-stop development system and method
CN112380109A (en) Debugging system and method for application program development
KR20110037140A (en) System for providing virtual development environment for embedded software
TWI266070B (en) Chip-level design under test verification environment and method thereof
CN110795142B (en) Configuration file generation method and device
Velikic et al. A concept of an integrated development environment for reactive systems
CN112328493A (en) Matrix type test case generation method and system, electronic equipment and storage medium
CN106446400B (en) Method and device for testing performance of electromechanical system
CN111427762A (en) Automatic calling tool analysis techniques
JP5120103B2 (en) Debugging method and debugging program
CN110659215A (en) Open type industrial APP rapid development and test verification method

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20210219

WW01 Invention patent application withdrawn after publication