KR100291016B1 - How to add / remove debugging module - Google Patents

How to add / remove debugging module Download PDF

Info

Publication number
KR100291016B1
KR100291016B1 KR1019980056478A KR19980056478A KR100291016B1 KR 100291016 B1 KR100291016 B1 KR 100291016B1 KR 1019980056478 A KR1019980056478 A KR 1019980056478A KR 19980056478 A KR19980056478 A KR 19980056478A KR 100291016 B1 KR100291016 B1 KR 100291016B1
Authority
KR
South Korea
Prior art keywords
debugging
module
add
version
flag
Prior art date
Application number
KR1019980056478A
Other languages
Korean (ko)
Other versions
KR20000040754A (en
Inventor
최윤애
Original Assignee
윤종용
삼성전자주식회사
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 윤종용, 삼성전자주식회사 filed Critical 윤종용
Priority to KR1019980056478A priority Critical patent/KR100291016B1/en
Publication of KR20000040754A publication Critical patent/KR20000040754A/en
Application granted granted Critical
Publication of KR100291016B1 publication Critical patent/KR100291016B1/en

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/3648Software debugging using additional hardware
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/328Computer systems status display

Abstract

가. 청구범위에 기재된 발명이 속한 기술분야end. The technical field to which the invention described in the claims belongs

디버깅 모듈을 사용하는 시스템에서 디버깅 모듈을 추가하거나 삭제하는 방법에 관한 것이다.How to add or remove a debugging module in a system that uses a debugging module.

나. 발명이 해결하고자 하는 기술적 과제I. The technical problem to be solved by the invention

운용자가 용이하게 디버깅 모듈을 추가하거나 삭제할 수 있으며 버전 변경을 확인할 수 있는 디버깅 모듈 추가/삭제방법을 제공한다.The operator can easily add or delete debugging modules and provide a way to add / delete debugging modules to check the version change.

다. 발명의 해결방법의 요지All. Summary of Solution of the Invention

디버깅 프로세스는 디버깅 모듈들 각각에 부여되며 자신에 해당하는 디버깅 모듈의 추가/삭제에 대응되게 온/오프되는 모듈 플래그들의 온/오프상태를 확인하여, 온상태의 모듈 플래그에 대응하는 디버깅 모듈을 수행한다. 그리고 버전 디스플레이 프로세스는 모듈 플래그들의 온/오프상태를 확인하여 버전 디스플레이할 때 나타낸다.The debugging process is assigned to each of the debugging modules and checks the on / off status of the module flags that are on / off corresponding to the addition / deletion of the corresponding debugging module, and performs the debugging module corresponding to the module flag of the on status. do. And the version display process is shown when checking the on / off state of the module flags to display the version.

라. 발명의 중요한 용도la. Important uses of the invention

디버깅 모듈을 추가하거나 삭제하는데 이용한다.Used to add or remove debugging modules.

Description

디버깅 모듈 추가/삭제방법How to add / remove debugging module

본 발명은 디버깅 모듈(debugging module)을 사용하는 시스템에 관한 것으로, 특히 대용량 통신처리시스템에서 디버깅 모듈을 추가하거나 삭제하는 방법에 관한 것이다.The present invention relates to a system using a debugging module (debugging module), and more particularly to a method for adding or deleting a debugging module in a mass communication processing system.

대용량 통신처리시스템에 있어서는 소프트웨어에 디버깅을 위한 디버깅 모듈을 사용한다. 예를 들어 파일(file) 전송중 데이터의 유실을 검증하기 위하여 ″CHECKSUM″과 ″SEQUENCE″ 디버깅 모듈을 사용한다.In a large communication processing system, a debugging module for debugging is used in software. For example, the ″ CHECKSUM ″ and ″ SEQUENCE ″ debugging modules are used to verify data loss during file transfer.

그런데 종래에는 소프트웨어에 디버깅 모듈을 추가/삭제에 대해 알 수가 없었다. 그러므로 디버깅을 위한 모듈 추가시 프로그램 컴파일 후 사용해야하므로 불편하였었다. 또한 소프트웨어 디버깅 모듈에 대한 추가/삭제를 확인하기가 불가능하므로 시스템 운용중에 문제가 발생하더라도 버전(version) 확인이 곤란하였었다.However, in the past, it was not possible to know about adding / deleting debugging modules to software. Therefore, it was inconvenient to use after compiling a program when adding module for debugging. Also, since it is impossible to check the addition / deletion of the software debugging module, it was difficult to check the version even if a problem occurred during system operation.

따라서 본 발명의 목적은 운용자가 용이하게 디버깅 모듈을 추가하거나 삭제할 수 있는 디버깅 모듈 추가/삭제방법을 제공함에 있다.Accordingly, an object of the present invention is to provide a method for adding / deleting a debugging module that allows an operator to easily add or delete a debugging module.

본 발명의 다른 목적은 운용자가 용이하게 버전 변경을 확인할 수 있는 디버깅 모듈 추가/삭제방법을 제공함에 있다.Another object of the present invention is to provide a method for adding / deleting a debugging module that allows an operator to easily check a version change.

도 1은 통상적인 모니터링장치의 블록구성도,1 is a block diagram of a conventional monitoring device,

도 2는 본 발명의 실시예에 따른 처리 흐름도,2 is a process flow diagram according to an embodiment of the present invention;

도 3은 본 발명의 실시예에 따른 도 2의 디버깅 프로세스의 흐름도,3 is a flow chart of the debugging process of FIG. 2 in accordance with an embodiment of the present invention;

도 4는 본 발명의 실시예에 따른 도 3의 버전 디스플레이 프로세스의 흐름도.4 is a flow chart of the version display process of FIG. 3 in accordance with an embodiment of the present invention.

상술한 목적을 달성하기 위한 본 발명의 디버깅 프로세스는 디버깅 모듈들 각각에 부여되며 자신에 해당하는 디버깅 모듈의 추가/삭제에 대응되게 온/오프(ON/OFF)되는 모듈 플래그들의 온/오프상태를 확인하여, 온상태의 모듈 플래그에 대응하는 디버깅 모듈을 수행한다. 그리고 버전 디스플레이 프로세스는 모듈 플래그들의 온/오프상태를 확인하여 버전 디스플레이할 때 나타낸다.The debugging process of the present invention for achieving the above object is given to each of the debugging modules and the on / off state of the module flags that are ON / OFF (ON / OFF) corresponding to the addition / deletion of the corresponding debugging module Check and execute the debugging module corresponding to the module flag in the on state. And the version display process is shown when checking the on / off state of the module flags to display the version.

이하 본 발명의 바람직한 실시예를 첨부한 도면을 참조하여 상세히 설명한다. 하기 설명 및 첨부 도면에서 본 발명의 요지를 불필요하게 흐릴 수 있는 공지 기능 및 구성에 대한 상세한 설명은 생략한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the following description and the annexed drawings, detailed descriptions of well-known functions and configurations that may unnecessarily obscure the subject matter of the present invention will be omitted.

도 1은 통상적인 모니터링장치의 블록구성도를 보인 것으로, 키보드(100)와 제어부(102)와 메모리(104)와 모니터(106)로 구성된다. 제어부(102)는 시스템 운용자에 의해 조작되는 키보드(100)로부터의 입력에 따른 처리를 하여 모니터(106)를 통해 디스플레이한다. 본 발명에 있어서 도 1의 모니터링장치는 디버깅 모듈을 추가/삭제하고 버전 변경을 확인하는데 사용된다.1 is a block diagram of a typical monitoring apparatus, and includes a keyboard 100, a controller 102, a memory 104, and a monitor 106. The control unit 102 performs the processing according to the input from the keyboard 100 operated by the system operator and displays it on the monitor 106. In the present invention, the monitoring apparatus of FIG. 1 is used to add / delete debugging modules and check the version change.

본 발명에 있어서 디버깅 모듈에 대한 추가/삭제에 플래그 변수를 사용한다. 그리고 플래그 변수에 대한 내용을 알 수 있도록 버전 디스플레이 기능에 추가하여 사용함으로써 운용자가 용이하게 버전 변경을 확인할 수 있도록 한다. 이를 위해 운용자는 디버깅 모듈들을 작성한후, 디버깅 모듈 각각에 해당하는 모듈 플래그를 부여한다. 그리고 플래그 변수를 변경하는 명령어를 추가한다. 만일 플래그 변수의 값이 온이면 해당 디버깅 모듈을 추가하는 것이고 플래그 변수의 값이 오프이면 해당 디버깅 모듈을 삭제하는 것이다. 또한 버전 디스플레이 명령어를 추가한다.In the present invention, a flag variable is used for adding / deleting a debugging module. In addition, it can be used in addition to the version display function so that the contents of the flag variable can be seen so that the operator can easily check the version change. To do this, the operator writes debugging modules and assigns a module flag corresponding to each debugging module. Then add a command to change the flag variable. If the flag variable is on, the debugging module is added. If the flag variable is off, the debugging module is deleted. It also adds a version display command.

도 2는 이러한 본 발명의 실시예에 따른 처리 흐름도를 보인 것이다. 운용자는 필요시 디버깅 모듈 추가를 위해 해당 모듈 플래그를 변경한다. 그러면 제어부(102)에서는 도 2의 (200)단계에서 모듈 플래그 온/오프를 입력하여 메모리(104)에 저장한다. 이후 (202)단계의 디버깅 프로세스를 진행한다.Figure 2 shows a processing flow diagram according to this embodiment of the present invention. The operator changes the module flag as needed to add debugging modules. Then, the controller 102 inputs the module flag on / off in step 200 of FIG. 2 and stores the module flag on / off in the memory 104. Thereafter, the debugging process of step 202 is performed.

편의상 디버깅 모듈이 2개, 즉, A 디버깅 모듈과 B 디버깅 모듈인 경우의 예를 들어 보면, A 디버깅 모듈에 대응하는 모듈 플래그가 A_flag, B 디버깅 모듈에 대응하는 모듈 플래그가 B_flag이고 디버깅 프로세스를 A 프로세스라 할 때, 디버깅 프로세스는 하기와 같다.For convenience, for example, if there are two debugging modules, A debugging module and B debugging module, the module flag corresponding to A debugging module is A_flag, the module flag corresponding to B debugging module is B_flag, and the debugging process is A The process of debugging is as follows.

A process() {A process () {

if A_flagif A_flag

A Debugging ModuleA Debugging Module

if B_flagif B_flag

B Debugging ModuleB Debugging Module

}}

상기한 디버깅 프로세스의 흐름도를 보인 도 3을 참조하면, (300)단계에서는 모듈 플래그들의 온/오프상태를 확인한다. 그리고 (302)단계에서 온상태의 모듈 플래그에 대응하는 디버깅 모듈을 수행한다.Referring to FIG. 3, which shows a flowchart of the debugging process, in step 300, the on / off state of the module flags is checked. In operation 302, the debugging module corresponding to the on-state module flag is performed.

그리고 디버깅후에는 다시 디버깅 모듈 삭제를 위하여 해당 모듈 플래그를 변경한다.After debugging, change the module flag to delete the debugging module again.

한편 상기와 같은 디버깅 프로세스 다음에 (204)단계에서 버전 디스플레이 프로세스를 진행한다. 여기서 버전 디스플레이 프로세스를 B 프로세스라 할 때, 버전 디스플레이 프로세스는 하기와 같다.On the other hand, after the debugging process as described above, the version display process is performed in step (204). Here, when the version display process is referred to as the B process, the version display process is as follows.

B process() {B process () {

date : MM_DD_YYdate: MM_DD_YY

company : SScompany: SS

if A_flagif A_flag

printf A MODULE INSERTprintf A MODULE INSERT

if B_flagif B_flag

printf B MODULE INSERTprintf B MODULE INSERT

}}

상기한 버전 디스플레이 프로세스의 흐름도를 보인 도 4를 참조하면, (400)단계에서는 모듈 플래그들의 온/오프상태를 확인한다. 그리고 (402)단계에서 온상태의 모듈 플래그에 대응하는 디버깅 모듈을 나타내 버전 디스플레이를 한다.Referring to FIG. 4, which shows a flowchart of the version display process, in step 400, the on / off state of the module flags is checked. In operation 402, the version is displayed by displaying the debugging module corresponding to the module flag in the on state.

따라서 운용자는 모듈의 추가/삭제의 상태가 원하는 바로 되어 있는지를 버전 디스플레이 명령어로 확인하게 된다.Therefore, the operator can check whether the status of module addition / deletion is correct by the version display command.

한편 상술한 본 발명의 설명에서는 구체적인 실시예에 관해 설명하였으나, 여러가지 변형이 본 발명의 범위에서 벗어나지 않고 실시할 수 있다. 특히 도1의 모니터링장치 대신에 더미 터미널등도 사용될 수도 있다. 따라서 발명의 범위는 설명된 실시예에 의하여 정할 것이 아니고 특허청구범위와 특허청구범위의 균등한 것에 의해 정하여져야 한다.Meanwhile, in the above description of the present invention, specific embodiments have been described, but various modifications can be made without departing from the scope of the present invention. In particular, a dummy terminal or the like may be used instead of the monitoring apparatus of FIG. 1. Therefore, the scope of the invention should not be defined by the described embodiments, but should be defined by the equivalent of claims and claims.

상술한 바와 같이 본 발명은 디버깅 모듈들 각각에 모듈 플래그를 부여하여 사용함으로서 운용자가 용이하게 디버깅 모듈을 추가하거나 삭제할 수 있으므로 운용자 또는 프로그램 개발자가 운용중에 원하는 디버깅을 단시간에 수행할 수 있는 잇점이 있다. 또한 버전 디스플레이 명령으로서 버전 확인도 가능하므로 디버깅 모듈의 추가/삭제로 인한 버전 변경으로 오류도 없앨 수 있다.As described above, the present invention has an advantage that the operator or the program developer can perform the desired debugging in a short time because the operator can easily add or delete the debugging module by giving a module flag to each of the debugging modules. . In addition, the version can be checked as a version display command so that errors can be eliminated by changing the version by adding / deleting debugging modules.

Claims (4)

디버깅 모듈을 추가/삭제하는 방법에 있어서,In how to add / remove debugging module, 디버깅 모듈들 각각에 부여되며 해당하는 디버깅 모듈의 추가/삭제에 대응되게 온/오프되는 모듈 플래그들을 저장하는 과정과,Storing module flags which are assigned to each of the debugging modules and which are turned on / off corresponding to the addition / deletion of the corresponding debugging module; 디버깅 프로세스가 상기 모듈 플래그들의 온/오프상태를 확인하는 과정과,The debugging process checking the on / off status of the module flags; 상기 디버깅 프로세스가 온상태의 모듈 플래그에 대응하는 디버깅 모듈을 수행하는 과정을 구비함을 특징으로 하는 디버깅 모듈 추가/삭제방법.And a debugging module performing a debugging module corresponding to an on-module flag. 제1항에 있어서, 버전 디스플레이 프로세스가 상기 모듈 플래그들의 온/오프상태를 확인하여 버전 디스플레이할 때 나타내는 과정을 더 구비함을 특징으로 하는 디버깅 모듈 추가/삭제방법.The method of claim 1, further comprising: displaying a version when the version display process checks the on / off status of the module flags and displays the version. 제2항에 있어서, 상기 모듈 플래그들이, 상기 디버깅 모듈들 각각의 추가/삭제에 대응되게 운용자에 의해 온/오프됨을 특징으로 하는 디버깅 모듈 추가/삭제방법.The method of claim 2, wherein the module flags are turned on / off by an operator corresponding to the addition / deletion of each of the debugging modules. 제3항에 있어서, 상기 모듈 플래그들이, 어느 하나만이 온됨을 특징으로 하는 디버깅 모듈 추가/삭제방법.4. The method of claim 3, wherein only one of the module flags is on.
KR1019980056478A 1998-12-19 1998-12-19 How to add / remove debugging module KR100291016B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019980056478A KR100291016B1 (en) 1998-12-19 1998-12-19 How to add / remove debugging module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019980056478A KR100291016B1 (en) 1998-12-19 1998-12-19 How to add / remove debugging module

Publications (2)

Publication Number Publication Date
KR20000040754A KR20000040754A (en) 2000-07-05
KR100291016B1 true KR100291016B1 (en) 2001-06-01

Family

ID=19563987

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980056478A KR100291016B1 (en) 1998-12-19 1998-12-19 How to add / remove debugging module

Country Status (1)

Country Link
KR (1) KR100291016B1 (en)

Also Published As

Publication number Publication date
KR20000040754A (en) 2000-07-05

Similar Documents

Publication Publication Date Title
US7546584B2 (en) Method and system for remote software testing
JPS59154521A (en) Reconstruction of system
KR20050020693A (en) Program processing apparatus
US20030221188A1 (en) Debugging apparatus and method
US6279104B1 (en) Debugging system for parallel processed program and debugging method thereof
US4792918A (en) Programmable controller monitoring system for simultaneous multiple line display of original and updated data program execution
KR100291016B1 (en) How to add / remove debugging module
CN112765018B (en) Instrument and meter debugging system and method
WO2001097035A1 (en) Automatic evaluation method and automatic evaluation system and storage medium storing automatic evaluation program
JPS62162105A (en) Flow chart type programmable controller
CN114157841A (en) Control equipment rapid positioning method and device
KR920001103B1 (en) Test software simulation method for electronic exchanger
JPH10240504A (en) Preparation method for communication program
JPH1115697A (en) Debugging method for program type display device
JPH1165884A (en) Microcomputer and debugging method therefor
KR0175469B1 (en) How to control the visibility of fill program variables
JPS62103738A (en) Programmable controller
JPH10320242A (en) Method for inspecting application task
CN111930418A (en) Diagnostic device function configuration method, diagnostic device, and storage medium
CN113867630A (en) Data batch writing method and device of memory, terminal equipment and storage medium
JPS59202546A (en) Debugging device
CN111949319A (en) Self-monitoring method and system of time schedule controller and electronic equipment
JPH11167501A (en) Program debugging system and program debugging method
JPH0233178B2 (en)
JPH025101A (en) Programmable controller system

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20070208

Year of fee payment: 7

LAPS Lapse due to unpaid annual fee