KR940008474B1 - Debugging system and control method of program developing apparatus - Google Patents

Debugging system and control method of program developing apparatus Download PDF

Info

Publication number
KR940008474B1
KR940008474B1 KR1019910021857A KR910021857A KR940008474B1 KR 940008474 B1 KR940008474 B1 KR 940008474B1 KR 1019910021857 A KR1019910021857 A KR 1019910021857A KR 910021857 A KR910021857 A KR 910021857A KR 940008474 B1 KR940008474 B1 KR 940008474B1
Authority
KR
South Korea
Prior art keywords
user
debugger
registered
linker
compiler
Prior art date
Application number
KR1019910021857A
Other languages
Korean (ko)
Other versions
KR930010721A (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 KR1019910021857A priority Critical patent/KR940008474B1/en
Publication of KR930010721A publication Critical patent/KR930010721A/en
Application granted granted Critical
Publication of KR940008474B1 publication Critical patent/KR940008474B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/28Error detection; Error correction; Monitoring by checking the correct order of processing

Abstract

The control method calls directly functional execution tools in a user environment area for the purpose of efficiency of a debugger system. The control method contains an input tool (10), a microprocessor (20) for execution of an operating system and functional execution tools, a memory (30), an output tool (40), a step for registering the necessary information to call a functional execution tool, a step to make a batch file for execution of a functional execution tool, and a step for direct execution of a functional tool.

Description

프로그램 개발장치의 디버거 제어방법Debugger Control Method of Program Development Device

제1도는 본 발명이 적용되는 디버거 시스템의 하드웨어적 블럭도.1 is a hardware block diagram of a debugger system to which the present invention is applied.

제2도는 제1도의 메모리내에 할당되어 있는 기능수행수단을 보인 단면.FIG. 2 is a cross section showing the function performing means allocated in the memory of FIG.

제3도는 본 발명의 수행을 보인 흐름도.3 is a flowchart showing the performance of the present invention.

* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings

10 : 입력부 20 : 마이크로 프로세서10: input unit 20: microprocessor

30 : 기억부 40 : 출력부30: storage unit 40: output unit

100 : 디버거 시스템 200 : 타게트100: debugger system 200: target

본 발명은 프로그램 개발장치의 디버거(debugger) 제어방법에 관한 것으로서, 구체적으로는 특정의 마이크로 프로세서에서 실행되는 프로그램을 설계하기 위한 프로그램 개발장치의 디버거 시스템을 이용한 디버거 시스템의 사용자 환경등록영역에 등록된 제반 기능수행수단을 직접 호출하여 처리되게 하는 디버거 시스템의 제어방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a debugger control method of a program development apparatus. Specifically, the present invention relates to a user environment registration area of a debugger system using a debugger system of a program development apparatus for designing a program to be executed on a specific microprocessor. The present invention relates to a control method of a debugger system for directly invoking various function performing means.

종래의 디버거 시스템은 이 디버거 시스템과 연계하여 동작되는 제발기능 수행수단, 예를들어 문서편집기(editor), 링커(linker), 컴파일러(compiler) 및 일괄처리 장치 등과는 별도의 단계에서 운용된다.The conventional debugger system is operated in a separate step from the means for performing functions, such as a document editor, a linker, a compiler, and a batch processing device, which are operated in conjunction with the debugger system.

즉, 이러한 디버거 시스템이 상기 기능수행 수단 중 적어도 하나를 운용하고자 할때에는 컴퓨터 내에 탑재된 운영체제(cperating system)의 사용자 인터페이스(user interface)를 기능수행의 매개체로 사용하여 이 사용자 인터페이스 상에서 상기 기능수행수단을 동작시키기 때문에 그러한 디버거의 기능이 저하되는 문제점이 있었다.That is, when the debugger system intends to operate at least one of the function performing means, the function performing means on the user interface using a user interface of an operating system (cperating system) mounted in a computer as a medium for performing the function. There was a problem that the function of such a debugger is lowered because it operates.

기계적으로는, 종래의 디버거 시스템은 그 시스템의 수행 중에 상기 기능수행 수단 등을 동작시키고자 할 경우 키보드 등의 입력장치를 통하여 그 수행이 이루어진다.Mechanically, the conventional debugger system performs the operation through an input device such as a keyboard when operating the function performing means or the like during the execution of the system.

이 경우, 먼저 운영체제의 사용자 인터페이스로 진행한 다음, 이어 여러 키입력에 의해 이 사용자 인터페이스에서 상기 기능수행 수단들을 동작시킨다.In this case, the user first proceeds to the user interface of the operating system, and then operates the function performing means in this user interface by means of several key inputs.

이와 같이, 종래의 디버거 시스템은 자체에서 상기 기능수행 수단을 운용하지 못하고, 운영체제의 사용자 인터페이스의 단계로 진입하여 상기 기능수행 수단들을 운용하기 때문에 이들을 운용하기 위해서는 많은 키입력 장치의 조작이 필요하고, 또한 키입력에 따라 상기 수단들이 운용되고 다시 디버거 시스템으로 되돌아가기 위해 많은 키조작이 또한 요구되기 때문에 소요시간이 많이 들며, 또한 별도의 매개체에서 상기 수단들이 운용되기 때문에 디버깅(debugging) 작업의 일괄성이 없어지는 문제점도 발생되었다.As such, the conventional debugger system does not operate the function performing means by itself, and enters the user interface of the operating system and operates the function performing means, so that many key input devices need to be operated to operate them. In addition, it takes a lot of time because the keys are operated according to key input and many key operations are also required to return back to the debugger system, and also because the means are operated on a separate medium, the batching of debugging work is performed. This disappearing problem also occurred.

이러한 제반 문제점을 해결하기 위하여, 본 발명은 디버깅 수행중에 상기의 기능수행 수단들을 운용하고자 할 경우 그 디버깅 프로세스를 운영체제인 사용자 인터페이스 단계로 진행하지 않고 상기 디버깅 프로세스에서 상기 기능수행 수단들을 직접 운용할 수 있도록 한 프로그램 개발장치의 디버거 제어방법을 제공하는데 그 목적이 있다.In order to solve the above problems, the present invention can directly operate the function performing means in the debugging process without proceeding the debugging process to the user interface stage, which is an operating system, when the function performing means is to be operated during debugging. The purpose is to provide a debugger control method of a program development apparatus.

상기 목적을 달성하기 위한 본 발명의 일 특징에 의하면, 디버깅 제어방법은 데이타를 입력하는 입력수단, 사용자와 시스템간의 원활한 사용을 위한 설치되어 있는 사용자 인터페이스를 구비한 운영체제와 제반기능 수행수단을 실행하는 마이크로 프로세서와, 상기 운용체제 및 기능수행 수단을 저장하는 메모리와, 프로그램의 오류를 검출하는 공지의 디버깅 수단과, 상기 마이크로 프로세서의 수행에 따라 소정의 데이타를 출력하는 출력수단 및, 사용자 환경등록 수단을 포함하는 컴퓨터 시스템에 있어서, 문서편집기, 링커, 컴파일러, 사용자 일괄처리 파일을 포함하는 기능수행 수단에서 적어도 하나의 기능수행 수단을 실행하는 정보를 상기 사용자 환경등록 수단의 사용자 환경등록 영역에 등록하는 스텝과, 상기 디버깅 수단에서 상기 환경등록 수단에 등록된 적어도 하나의 기능수행 수단을 사용하게 하는 일괄처리 파일을 만드는 스텝과, 사익 디버거 수단의 운용단계에서 사용자 환경등록 수단에 등록된 기능수행 수단을 직접 실행하는 스텝을 포함하는 디버킹 제어방법을 특징으로 한다.According to an aspect of the present invention for achieving the above object, the debugging control method is to execute the operating system and the overall function performing means having an input means for inputting data, a user interface installed for smooth use between the user and the system A microprocessor, a memory storing the operating system and the function performing means, well-known debugging means for detecting an error of a program, an output means for outputting predetermined data according to the execution of the microprocessor, and a user environment registration means. A computer system comprising: registering information for executing at least one function performing means in a function performing means including a document editor, a linker, a compiler, and a user batch file in a user environment registration area of the user environment registration means. Step, and the environment registration in the debugging means A debugging control comprising a step of making a batch file for making use of at least one function performing means registered in the means, and directly executing the function performing means registered in the user environment registration means in the operation stage of the private debugger means; Method.

상기에서, 사용자 일괄처리 파일은 컴파일러와 링커를 차례로 실행시키는 것으로서 사용자가 공지의 문서 편집기를 이용하여 작성하는 것이다.In the above description, the user batch file executes the compiler and the linker in order, and the user creates the file using a known text editor.

일괄처리 파일은 디버거가 기능수행 수단을 실행시키도록 자체에서 만드는 것을 의미한다.Batch files mean that the debugger makes itself to run the means of functioning.

이하 본 발명의 바람직한 실시예를 상세히 설명한다.Hereinafter, preferred embodiments of the present invention will be described in detail.

제1도는 본 발명에 따른 디버거 시스템을 지원하기 위한 하드웨어 환경을 간략하게 나타낸 블럭도이다.1 is a block diagram schematically illustrating a hardware environment for supporting a debugger system according to the present invention.

제1도에서, 참조번호 100은 본 발명의 디버거 시스템으로서, 사용자가 작성한 프로그램을 실행하면서 오류를 검출하여 이 오류를 수정하고, 아울러 실행하는 프로그램 개발의 지원장치이다.In FIG. 1, reference numeral 100 denotes a debugger system of the present invention, and is a device for supporting program development which detects an error while executing a program created by a user, corrects the error, and executes the same.

이 디버거 시스템(100)은 일반적인 데이타 및 기능제어용 데이타를 입력하는 입력부(10)와, 이 시스템의 사용자가 시스템을 원활히 사용할 수 있도록 하는 도구인 사용자 인터페이스를 포함하는 운영체제와 복수의 기능수행 수단 및 사용자 작성의 프로그램의 오류를 검출하여 이를 수정 및 실행하게 하는 디버깅 수단을 포함하여 저장하는 메모리인 기억부(30)와, 상기 디버깅 수단을 프로그램을 수행하면서 상기 복수의 기능수행 수단을 호출하여 실행하는 마이크로 프로세서(20) 및, 이 마이크로 프로세서(20)의 처리결과를 디스플레이(display) 또는 프린트 아웃(print out)하는 출력부(40)를 포함한다.The debugger system 100 includes an input unit 10 for inputting general data and function control data, an operating system including a user interface that is a tool for allowing a user of the system to use the system smoothly, a plurality of means for performing a function, and a user. A storage unit 30, which is a memory for storing an error of a created program, including debugging means for correcting and executing the program, and a micro for calling and executing the plurality of function performing means while executing the program. A processor 20 and an output unit 40 for displaying or printing out the processing result of the microprocessor 20 are included.

미설명 번호 200은 타게트(target)로서 상기 디버거 시스템(100)으로부터 제공된 마이크로 프로세서용 프로그램을 수신하는 장치이다.Reference numeral 200 is an apparatus for receiving a program for a microprocessor provided from the debugger system 100 as a target.

미설명 번호 300은 상기 디버거 시스템(110)과 타게트(200) 사이에 접속된 통신선으로서 실행화일 및 데이타를 송수신하는 경로이다.Reference numeral 300 is a communication line connected between the debugger system 110 and the target 200 to transmit and receive an executable file and data.

상기 메모리인 기억부(30)에는, 제2도에 도시된 바와 같이, 사용자 환경등록 영역이 설정되어 있는데, 이영역에는 상기 디버깅 수단의 실행과 연계하여 실행될 수 있는 문서편집용, 링커용, 컴파일러용, 프로그램과 사용자 일괄처리 파일 등을 실행시키는 정보가 저장된다.In the memory unit 30, which is the memory, as shown in FIG. 2, a user environment registration area is set. In this area, for document editing, linker, and compiler, which can be executed in conjunction with the execution of the debugging means. Information that executes programs, user batch files, and the like is stored.

상기 사용자 환경 영역은, 제2도에 표시된 바와 같이 기억부(30)에 저장될 수도 있으나, 컴퓨터 시스템의 전원이 차단되거나, 현재의 디버깅 과정을 끝내고 다음에 같은 프로그램을 디버깅 할때와 같이 기억부(30)의 정보가 파괴될때는 대비하여 보조기억장치에 사용자 환경 영역을 설정할 수도 있다.The user environment area may be stored in the memory 30 as shown in FIG. 2, but the memory may be stored as when the computer system is powered off, or when the current program is debugged and the next time the next program is debugged. A user environment area may be set in the auxiliary memory device in case the information of 30 is destroyed.

또한 디버깅 작업중에는 정보의 이동속도가 빠른 기억부(30)의 사용자 환경영역을 사용하고 기억부(30)의 내용이 파괴되었을때는 보조기억 장치를 사용하기 위해서 기억부(30)와 보조 기억장치에 이중으로 사용자 환경 영역을 설정할 수도 있다.In addition, during the debugging operation, the storage unit 30 and the auxiliary storage device are used to use the user environment area of the storage unit 30, which has a high speed of information movement, and to use the auxiliary storage device when the contents of the storage unit 30 are destroyed. You can also set the user environment area in duplicate.

상기 기능수행 수단은 상기의 예시된 프로그램 이외에도 디버깅 수단과 연계하여 동작될 수 있는 기능수행 프로그램이면 상기 사용자 환경영역에 그 실행정보가 등록되어서 상기 디버깅 수단의 실행중에 언제라도 참조될 수 있다.If the function execution means is a function execution program that can be operated in conjunction with the debugging means in addition to the above-described programs, the execution information is registered in the user environment area so that it can be referred at any time during the execution of the debugging means.

이와 같이, 디버깅 수단의 수행중에 사용자 환경등록 영역에 등록된 복수의 기능수행 프로그램이나 일괄처리 화일을 실행하려면 디버깅 수단이 직접 상기 기능수단을 실행시킬 수 있도곡 해준다.As described above, in order to execute a plurality of function execution programs or batch files registered in the user environment registration area during the execution of the debugging means, the debugging means may directly execute the function means.

예를들어, 디버깅 수단의 실행 중에 원시화일(source file)을 새로 작성할 필요가 있을때나 또는 오류가 검출된 원시화일을 수정할 필요가 있을때는 문서편집 프로그램을 이용하여야 한다.For example, you need to use a text editing program when you need to create a new source file while running a debugging tool, or when you need to modify an error-detected source file.

이때 디버거 상이 특정 윈도우(window)를 선택하면 문서편집 프로그램을 실행시킬 수 있는 항이 나타나고 그 항목을 선택하면 디버거 실행 중에도 문서편집 프로그램을 실행시킬 수 있다.At this time, if the debugger selects a specific window, a section for executing the document editing program appears. If the item is selected, the document editing program can be executed even while the debugger is running.

예를들어, 디버거가 문서편집기 프로그램을 실행시키는 방법에는 다음과 같은 방법들이 있다.For example, there are several ways that a debugger can run a text editor program.

첫째, 디버거 실행 프로세서를 부모 프로세서(parent process)로 하고 디버거의 환경등록 영역에 등록된 문서편집 프로그램을 자 프로세서(child process)로 하여 실행시키는 방법이 있고, 둘째, 디버거의 사용자 환경등록 영역에 등록된 문서편집 프로그램명을 이용하여 운영체제의 사용자 인터페이스 상에서 실행시킬 수 있는 일괄처리 화일을 만든 다음 운영체제의 사용자 인터페이스를 호출하여 실행시키는 방법이 있다.First, there is a method of executing the debugger execution processor as a parent process and executing a document editing program registered in the debugger's environment registration area as a child process. Second, registering the debugger execution process in the user environment registration area of the debugger. There is a method of creating a batch file that can be executed on the user interface of the operating system using the document editing program name, and then calling the operating system user interface.

이와 같이 디버거 수단이 사용자 환경등록 영역에 등록된 문서 편집기 프로그램을 실행시킬 수 있게 함으로써 디버거 수단의 실행단계에서 입력부(10)의 간단한 키 입력 조작으로 문서편집 프로그램을 실행시킬 수 있다.In this way, by enabling the debugger means to execute the document editor program registered in the user environment registration area, the document editing program can be executed by a simple key input operation of the input unit 10 in the execution step of the debugger means.

상기의 예는 디버거 수단이 사용자 환경등록 영역에 등록된 기능수행 수단 중 문서편집기를 호출하여 실행시키는 과정을 설명하였지만 컴파일러, 링커, 일괄처리 수행수단을 디버거 수단의 실행단계에서 직접 처리하는 과정은 상기와 동일하다.In the above example, the process of executing the debugger means by calling the document editor among the function performing means registered in the user environment registration area has been described. However, the process of directly processing the compiler, the linker and the batch processing means in the execution step of the debugger means is described above. Is the same as

다만 윈도우 상에 나타난 상이한 기능수행 수단 항목을 선택하는 것만이 다르다.The only difference is the selection of the different means for performing the functions displayed on the window.

이와 같이 디버거 수단의 수행단계에서 사용자 환경등록영역에 등록된 실행화일을 실행시키려면, 디버거 수단과 연계하는 기능수행 수단을 등록하게 하는 사용자 환경등록수단과, 윈도우 상에 나타난 특정 선택항목을 선택하였을때 사용자 환경등록 수단에 의해서 사용자 환경 영역에 등록된 실행 프로그램을 실행시키는 과정이 필요하게 된다.As described above, in order to execute the execution file registered in the user environment registration area in the execution step of the debugger means, the user environment registration means for registering the function execution means associated with the debugger means and the specific selection item displayed on the window may be selected. In this case, a process of executing the execution program registered in the user environment area by the user environment registration means is required.

한편, 디버거 수단의 실행중에 원시화일을 컴파일(compile)하고자 할 경우에는, 본 디버거 상의 윈도우상에 나타난 특정항목을 선택하면, 마지막으로 컴파일 하였던 원시화일명이 나타나고, 바로 그 화일을 컴파일 하고자 할 경우에는 사용자 환경 영역에 등록하여 두었던 컴파일러(compiler)가 실행되어 바로 그 화일을 컴파일 할 수 있고, 새로운 화일을 컴파일 하고자 할 경우에는 새로운 화일명을 입력하면 사용자 환경영역에 등록하여 두었던 컴파일러로 새로운 컴파일 할 수 있다.On the other hand, if you want to compile the source file while executing the debugger means, select the specific item displayed on the window of the debugger, and the name of the source file that was compiled last appears, and if you want to compile the file immediately Compiler registered in the user environment can be executed and the file can be compiled immediately.If you want to compile a new file, you can enter a new file name and compile it with the compiler registered in the user environment. .

또한, 목적화일들을 링크(link)하고자 할 경우에는 본 디버거 상의 특정 항목을 선택하면, 사용자 환경영역에 등록하여 두었던 링커(linker)를 마지막으로 사용했을때의 링커에 대한 선택사양이 나오고, 바로 그 사양대로 사용자 환경 영역에 등록하여 두었던 링커를 실행시키고자 할때는 엔터키만 치면 그 링커가 실행되고, 다른 선택 사양으로 사용자 환경 영역에 등록하여 두었던 링커를 실행시키고자 할때는 그 링커에 대한 새로운 선택 사양을 주고 그 링커를 실행시키면 새로운 사양대로 실행된다.In addition, if you want to link the target files, select a specific item on this debugger, and you will get the option for the linker when you last used the linker registered in the user environment area. If you want to run a linker that has been registered in the user environment zone according to the specification, just hit enter to run the linker. If you want to run a linker that has been registered in the user environment zone as another option, use the new option for that linker. If you give it and run the linker, it will run according to the new specifications.

게다가, 사용자 환경등록란에 등록하여 두었던 컴파일러와 링커를 이용하여 컴파일과 링커 작업을 일괄처리하고자 했을때는, 본 디버거 시스템의 윈도우 상에 나타난 특정 항목을 선택하면, 사용자 환경등록 영역에 등록하여 두었던 사용자 일괄처리 화일이 실행되어 컴파일과 링커 작업을 일괄처리할 수 있다.In addition, when you want to batch compile and linker work using the compiler and linker registered in the user environment registration column, select the specific item displayed on the window of the debugger system, and then the user batch registered in the user environment registration area. The processing file is executed to batch compile and linker tasks.

요약하면 특정한 마이크로 프로세서에서 실행되는 프로그램을 설계할때 사용되는 장치에 부속되는 개발용 컴퓨터 상에서 실행되는 임의의 디버거에서 그 마이크로 프로세서용으로 설계된 임의의 컴파일러(compiler)와 그 임의의 컴파일러로 컴파일한 목적화일을 링크(link)할 수 있는 임의의 링커(linker)와 임의의 문서편집기와 상기 컴파일러와 링커를 차례로 실행시킬 수 있는 일괄처리 화일을 디버거의 실행환경을 설정해 주는 사용자 환경등록 영역에 등록해 둔다.In summary, any compiler designed for a microprocessor in any debugger running on a development computer that is attached to a device used to design a program that runs on a particular microprocessor, and the purpose of compiling it with any compiler. Register any linker that can link the file, any text editor, and batch file that can run the compiler and linker in this order in the user environment registration area that sets the execution environment of the debugger. .

상기 디버거의 실행시에 이들 실행화일을 실행시키고자 할때 디버거가 이들 실행 프로그램을 자프로세서로 실행시키거나 또는 이들 실행파일을 이용해서 만든 일괄처리 파일을 운용 체제의 사용자 인터페이스를 호출하여 실행시킴으로써, 디버거의 사용자가 운영체제의 사용자 인터페이스 상에서 직접 이들 실행화일을 실행시킬때 발생할 수 있는 키보드조작상의 실수을 줄일 수 있고 응용 프로그램 디버깅(debugging) 작업의 일관성을 유지할 수 있어 프로그램 개발효율을 제고할 수 있다.When executing the executable files at the time of execution of the debugger, the debugger executes these executable programs as a self-processor or by executing a batch file created using these executable files by calling the operating system user interface, This can reduce the number of keyboard errors that can occur when a debugger user runs these executables directly on the operating system's user interface, and improves program development efficiency by maintaining consistent application debugging.

제3도는 본 발명의 전체 흐름도이다. 디버거을 실행시킨 다음(스텝 S2), 사용자 환경등록 영역의 등록사항을 변경할 것인가를 결정한다(스텝 S3).3 is an overall flowchart of the present invention. After the debugger is executed (step S2), it is determined whether to change the registered items of the user environment registration area (step S3).

만약 변경하고자 하는 항목이 있으면(스텝 S4), 문서편집기명, 컴파일리명, 링커명, 사용자 일괄처리 화일명 등을 포함하는 사용자 환경등록 영역의 각 항목을 변경한다.If there is an item to be changed (step S4), each item in the user environment registration area including a document editor name, a compiled name, a linker name, a user batch file name, and the like is changed.

이때 변경되어 등록하는 문서편집기명, 컴파일러명, 링커명, 사용자 일괄처리 화일명 등은 개발용 컴퓨터가 이용할 수 있는 기억매체의 어딘가에 존재해 항상 이용 가능한 상태이어야 하며 이 조건은 디버거의 환경등록란에 실행화일을 변경 등록 할때는 언제나 적용된다.At this time, the name of the document editor, compiler name, linker name, user batch file name, etc. changed and registered must exist somewhere in the storage medium that can be used by the development computer and be always available. This condition must be available in the environment file of the debugger. This is always applied when registering a change.

만약 디버깅 중에 문서 편집기를 실행할 필요가 있는가를 결정하고(스텝 S5), 만약 사용할 필요가 없으면 스텝 S33으로 진행한다.If it is necessary to execute the text editor during debugging (step S5), and if it is not necessary, the process proceeds to step S33.

만약 문서편집기을 실행할 필요가 있다면 사용자 환경등록영역에 등록되어 있는 문서편집기를 실행할 것인가를 결정하고(스텝 S6), 만약 사용자 환경등록 영역에 등록되어 있는 문서편집기를 사용하려 하면 문서 편집기 프로그램을 실행시킬 수 있게 하는 디버거 상의 특정항목을 선택하여 실행시킨다(스텝 S9).If it is necessary to execute the text editor, it is decided whether or not to execute the text editor registered in the user environment registration area (step S6), and if the document editor registered in the user environment registration area is used, the document editor program can be executed. The specific item on the debugger to be selected is selected and executed (step S9).

그렇지 않으면 사용자 환경등록 영역의 문서편집기 명을 바꾸어 등록한 후 사용할 것인가를 결정하고(스텝 S7) 만약 그렇게 하려면 사용자 환경등록 영역의 문서편집기 명을 다른 문서편집기 명으로 바꾸어 등록한 후 (스텝 S8) 상기 스텝 S9를 실행한다.Otherwise, it is determined whether to change the name of the document editor in the user environment registration area and register it (step S7). To do so, register the document editor name in the user environment registration area with another document editor name and register it (step S8). Run

상기 스텝 S7의 판단으로 아니오(No)이면 만약 문서 편집기 프로그램을 실행하거나 또는 다른 목적으로 디버거의 사용을 끝낼 것인가를 결정하고(스텝 S11) 끝내려면 디버거의 사용을 끝내고(스텝 S37), 그렇지 않으면 운영체제의 사용자 인터페이스를 호출한 다음 운영체제의 사용자 인터페이스 상에서 문서편집기를 실행시키거나 다른 작업을 한다(스텝 S12).If the determination in step S7 is No, then it is determined whether to terminate the use of the debugger for execution of a text editor program or for other purposes (step S11), and to finish the use of the debugger (step S37), otherwise the operating system The user interface of the user interface is called, and then the document editor is executed or another operation is performed on the user interface of the operating system (step S12).

상기 스텝들(S9 및 S12)을 실행한 후, 컴파일러를 실행할 필요가 있는가를 결정하여(스텝 S10), 실행할 필요가 없으면 다음 스텝 S33으로 가고, 그렇지 않으면 사용자 환경등록란에 등록되어 있는 컴파일러를 실행할 것인가를 결정하여(스텝 S13), 실행할 필요가 있으면 다음 스텝 S18로 간다.After executing the above steps S9 and S12, it is determined whether or not the compiler needs to be executed (step S10). If there is no need for execution, the process proceeds to the next step S33. Otherwise, it is determined whether to execute the compiler registered in the user environment registration column. If it is necessary to determine (step S13), execution goes to the next step S18.

상기 스텝 S13에 의해서 컴파일러를 실해하지 않는다면, 사용자 환경등록란에 등록된 컴파일러를 다른 컴파일러로 바꾸어 등록한 후 실행할 것인가를 결정하여(스텝 S14) 실행을 하지 않는다면 컴파일러를 실행하기 위하여 또는 다른 목적으로 디버거의 사용을 끝낼 것인가를 결정한다(스텝 S15).If the compiler is not executed in step S13, it is determined whether or not the compiler registered in the user environment registration column is changed to another compiler and then executed (step S14). If it is not executed, the debugger is used to execute the compiler or for other purposes. It is determined whether or not to end the process (step S15).

상기 스텝 S15의 결정으로 "예"이면 디버거의 사용을 끝내고(스텝 S37), 그렇지 않으면 운영체제의 사용자 인터페이스를 호출한 다음 운영체제의 사용자 인터페이스 상에서 컴파일러를 실행하거나 또는 다른 작업을 하고(스텝 S16) 다음 스텝 S19를 실행한다.If the determination of step S15 is YES, then the use of the debugger is terminated (step S37); otherwise, the user interface of the operating system is called, and then the compiler is run or another operation is performed on the operating system user interface (step S16). Run S19.

한편, 상기 스텝 S14으로 "예"이면 사용자 환경등록란의 컴파일러를 다른 컴파일러로 바꾸어 등록한다(스텝 S17).On the other hand, if " Yes " in step S14, the compiler in the user environment registration column is changed to another compiler and registered (step S17).

상기 스텝 S17실행 후, 컴파일러를 실행할 수 있게 하는 디버거상의 특정항목을 선택하여 컴파일러를 실행한다(스텝 S18).After executing step S17, a specific item on the debugger that enables the compiler to be selected is selected to execute the compiler (step S18).

상기 스텝 S18에 의해서 컴파일러를 실행한 후, 디버깅중에 링커를 실행할 필요가 있는가를 결정하여(스텝 S19), 실행할 필요가 없을 때는 다음 스텝 S33으로 간다.After executing the compiler in step S18, it is determined whether the linker needs to be executed during debugging (step S19), and when no execution is necessary, the process goes to the next step S33.

만약 디버깅 중에 링커를 실행할 필요가 있을때는 (스텝 S19) 사용자 환경등록란에 등록된 링커를 사용할 것인지를 결정하고(스텝 S20), 만약 사용자 환경 등록란에 등록된 링커를 사용하려면 디버거 상의 특정 선택 항목을 선택하면(스텝 S25), 바로 그 사양대로 링커하고자 하면 엔터키만 치면 디버거가 그 선택 사양대로 링커를 실행시켜 실행화일을 만들 수 있게 된다.If it is necessary to run the linker during debugging (step S19), decide whether to use the linker registered in the user environment registration field (step S20), and if you want to use the linker registered in the user environment registration field, select a specific option on the debugger. If you want to linker according to that specification (step S25), just hit the enter key and the debugger will run the linker according to that option to create the executable.

만약 사용자 등록란에 등록된 링커와 다른 링커를 사용자 환경등록란에 등록하여 사용하려 하면 (스텝 S21) 사용자 환경 등록란의 링커를 다른 링커면으로 바꾸어 등록한 후 (스텝 S24) 사용한다.If a linker other than the linker registered in the user registration column is to be registered and used in the user environment registration column (step S21), the linker in the user environment registration column is changed to another linker surface and registered (step S24).

만약 링커를 사용하거나 또는 다른 목적으로 디버거의 사용을 끝내려 하면 (스텝 S22) 디버거의 실행을 끝내고 (스텝 S37) 그렇지 않으면 운영체제의 사용자 인터페이스 상에서 링커를 실행하거나 필요한 다른 작업을 한다(스텝 S25).If you want to use the linker or finish using the debugger for other purposes (step S22), finish the execution of the debugger (step S37), otherwise run the linker on the user interface of the operating system or do anything else you need (step S25).

그렇지 않으면 디버거 내에서 운영체제의 사용자 인터페이스를 실행시킨 다음 운영체제의 사용자 인터페이스 상에서 링커를 실행하거나 필요한 다른 작업을 하면 된다(스텝 S24).Otherwise, the user interface of the operating system may be executed in the debugger, and then the linker may be executed or other necessary operations may be performed on the user interface of the operating system (step S24).

만약 디버깅 중에 (스텝 S26) 사용자 환경등록란에 등록된 사용자 일괄처리 화일을 실행할 필요가 있을때는 (스텝 S27) 사용자 환경등록란에 등록된 사용자 일괄처리 화일을 실행할 것인지를 결정하고 만약 사용자 환경등록란에 등록된 사용자 일괄처리 화일을 실행하려 하면 디버거 상의 특정 선택 항목을 선택하면 그 사용자 일괄처리 화일이 실행된다(스텝 S30).If it is necessary to execute the user batch file registered in the user environment registration column during the debugging (step S26), it is determined whether to execute the user batch file registered in the user environment registration column, and if it is registered in the user environment registration column. When the user batch file is to be executed, the user batch file is executed when a specific selection item on the debugger is selected (step S30).

만약 사용자 등록란에 등록된 사용자 일괄처리 화일의 내용을 바꾸거나 다른 사용자 일괄처리 화일을 디버거 내에서 실행하려 하면 (스텝 S28), 문서편집기를 이용하여 사용자 등록란에 등록된 사용자 일괄처리 화일의 내용을 바꾸거나 다른 사용자 일괄처리 화일을 사용자 환경등록란에 등록한 다음 실행한다(스텝 S31).If you want to change the contents of the user batch file registered in the user registration column or execute another user batch file in the debugger (step S28), change the contents of the user batch file registered in the user registration column using the text editor. Or another user batch file is registered in the user environment registration column and then executed (step S31).

만약 사용자 환경등록란에 등록된 사용자 일괄처리 화일과 다른 일괄처리 화일을 실행하려 하거나 또는 다른 목적으로 디버거의 실행을 끝내려면 (스텝 S29) 디버거의 사용을 끝내고 운영체제의 사용자 인터페이스 상에서 필요한 일괄처리 화일을 실행하거나 필요한 다른 작업을 한다(스텝 S30).If you want to run a batch file that is different from the user batch file registered in the user environment registration column or if you want to finish executing the debugger for another purpose (step S29), terminate the use of the debugger and execute the required batch file on the operating system user interface. Or other necessary work (step S30).

만약 디버거의 사용중 사용자 환경등록란에 등록된 사용자 일괄처리 화일과 다른 사용자 일괄처리 화일을 실행하려 하거나 운영체제의 사용자 인터페이스를 사용할 필요가 있을때는 운영체제의 사용자 인터페이스를 실행한 다음 필요한 작업을 한다(스텝 S32).If you want to run a user batch file that is different from the user batch file registered in the user environment registration column while using the debugger, or if you need to use the OS interface, perform the necessary operation after executing the OS interface (step S32). .

만약 문서편집기나, 컴파일러나, 링커나, 사용자 일괄처리화일을 사용하는 이외의 디버거의 기능을 사용하려 하면(스텝 S33) 그 이외의 디버거의 기능을 사용하면 되고 (스텝 S34), 그렇지 않으면 디버거의 사용을 끝내면 된다(스텝 S36).If you want to use debugger features other than text editors, compilers, linkers, or user batch files (step S33), you can use other debugger features (step S34). The use may be finished (step S36).

만약 그 이외의 디버거 기능을 사용하다가 문서편집기나, 컴파일러나, 링커나 사용자 일괄처리 화일중 어떤 한가지 또는 그 이상의 기능을 사용할 필요가 있을때는 (스텝 S35), (스텝 S3)에서 (스텝 S32)까지의 과정을 다시 반복하면 된다. 이상과 같이, 본 발명에 의하면, 디버거가 이와 연계되는 기능수행 수단을 직접 호출하여 사용할 수 있기 때문에 종래 사용자 인터페이스에서 호출되어 사용되는 경우보다도 키입력 조작을 매우 줄일 수 있어 키입력에 따른 오류를 상대적으로 줄일 수 있고, 또한 상기 기능수행 수단의 운용시간을 줄일 수 있을 뿐만 아니라 디버깅 작업의 일관성을 제고할 수 있는 이점이 있다.If you need to use other debugger features and need to use one or more of the following functions: text editor, compiler, linker, or user batch file, go to (Step S35), (Step S3) to (Step S32). You can repeat the process again. As described above, according to the present invention, since the debugger can directly call and use the function performing means associated with it, the key input operation can be greatly reduced compared to the case where the debugger is called and used in the conventional user interface, and the error according to the key input is relatively reduced. In addition, the operation time of the function performing means can be reduced, and the consistency of debugging can be improved.

Claims (1)

디버거를 실행시킨 다음 (스텝 S2), 사용자 환경등록 영역의 등록사항을 변경할 것인가를 결정하는 스텝 S3과, 상기 스텝 S3에 의해서 변경하고자 하는 항목이 있으면 문서편집기명, 컴파일러명, 링커명, 사용자 일괄처리 화일명의 항목을 변경하는 스텝 S4와, 상기 스텝 S3에 의해 변경항목이 없으면 디버깅중에 문서편집기를 실행할 필요가 있는가를 결정하여 (스텝 S5), 아니면 다을 스텝 S33을 실행하고, 예이면 사용자 환경등록 영역에 등록되어 있는 문서편집기를 실행할 것인가를 결정하는 스텝 S6와, 상기 스텝 S6에 의해서 사용자 환경등록 영역에 등록되어 있는 문서편집기를 사용하려 하면 다음 스텝 S9로 진행하고, 그렇지않으면 사용자 환경등록 영역의 문서편집기명을 바꾸어 등록한 후 사용할 것인가를 결정하는 스텝 S7와, 상기 스텝 S7에 의해서 예이면 사용자 환경등록 영역의 문서편집기명을 다른 문서편집기명으로 바꾸어 등록한 후 (스텝 S8), 문서펴집기를 실행할 수 있게 하는 디버거상의 특정항목을 선택하여 문서편집기를 실행하는 스텝 S9와, 상기 스텝 S7에 의해서 아니면 문서편집기 프로그램을 실행하거나 또는 다른 목적으로 디버거의 실행을 끝낼 것인가를 결정하고 (스텝 S11), 끝내려면 디버거의 사용을 끝내는 스텝 S37과, 상기 스텝 S11의해서 아니면 운영체제의 사용자 인터페이스를 호출한 다음 운영체제의 사용자 인터페이스 상에서 문서편집기를 실행하거나 또는 다른 작업을 하는 스텝 S12와, 상기 스텝 S9와 스텝 S12실행 후, 컴파일러를 실행할 필요가 있는가를 결정하여 (스텝 S10), 실행할 필요가 없을 때는 다음 스텝 S33으로 진행하는 스텝과, 상기 스텝 S10에 의해서 실행할 필요가 있을때는 사용자 환경등록란에 등록되어 있는 컴파일러를 실행할 것인가를 결정하여 (스텝 S13), 실행한다면 다음 스텝 S18로 진행하는 스텝과, 상기 스텝 S13에 의해서 컴파일러를 실행하지 않는다면, 사용자 환경등록란에 등록된 컴파일러를 다른 컴파일러로 바꾸어 등록한 후 실행할 것인가를 결정하여 (스텝 S14), 실행하지 않는다면 컴파일러를 실행하기 위하여 또는 다른 목적으로 디버거의 사용을 끝낼 것인가를 결정하여 (스텝 S15), 끝내려면 디버거 사용을 끝내는 스텝 S37과, 상기 스텝 S15에 의해서 디버거의 사용을 끝내지 않는다면, 운영체제의 사용자 인터페이스를 호출한 다음 운영체제의 사용자 인테페이스상에서 컴파일러를 실행하거나 또는 다른 작업을 하는 스텝 S16과, 상기 스텝 S14에 의해서 실행한다면 사용자 환경등록란의 컴파일러를 다른 컴파일러로 바꾸어 등록한 후 (스텝 S17), 컴파일러를 실행할 수 있게 하는 디버거상의 특정항목을 선택하여 컴파일러를 실행하는 스텝 S18과, 상기 스텝 S16과 스텝 S18을 실행 후, 디버깅중에 링커를 실행할 필요가 있는가를 결정하여 (스텝 S19) 실행할 필요가 없을때는 다음 스텝 S33으로 진행하고, 실행할 필요가 있을때는 사용자 환경등록란에 등록된 링커를 사용할 것인지를 결정하는 스텝 S20과, 상기 스텝 S20에 의해서 예이면 다음 스텝 S25로 진행하고, 아니면 사용자 등록란에 등록된 링커와 다른 링커를 사용자 환경등록란에 등록하여 사용하려 하면 (스텝 S21), 사용자 환경등록한의 링커를 다른 링커명으로 바꾸어 등록한 후 사용하는 스텝 S24와, 상기 스텝 S21에 의해서 아니면 링커를 실행하기 위해 또는 다른 목적으로 디버거의 사용을 끝낼 것인가를 결정하여 (스텝 S22), 끝내려면 디버거의 실행을 끝내는 다음 스텝 S37로 진행하는 스텝과, 상기 스텝 S22에 의해서 끝내지 않으려면 운영체제의 서용자 인터페이스를 호출한 다음 운영체제의 사용자 인터페이스상에서 링커를 실행시키거나 다른 작업을하는 스텝 S23과, 상기 스텝 S25와 스텝 S23을 실행한 후, 디버깅중에 사용자 환경등록한에 등록되어 있는 사용자 일괄처리 화일을 실행할 필요가 있는가를 결정하여 (스텝 S26), 실행할 필요가 없을 때는 다음 스텝 S33으로 진행하는 스텝과, 상기 스텝 S26에 의해서 실행할 필요가 있을때는 사용자 환경등록란에 등록된 사용자 일괄처리 화일을 실행할 것인가를 결정하여 (스텝 S27), 실행한다면 다음 스텝 S32로 진행하는 스텝과, 상기 스텝 S27에 의해서 실행하지 않는다면 사용자 환경등록란에 등록된 사용자 일괄처리 화일과 다른 사용자 일괄처리 화일을 사용자 환경등록란에 등록한 후 사용할 것인가를 결정하는 스텝 S28과, 상기 스텝 S28에 의해서 사용하다면 문서편집기를 사용하여 디버거의 사용자 환경등록란에 등록된 사용자 일괄처리 화일의 내용을 마꾸거나 다른 일괄처리 화일로 바꾸어 등록한 후 (스텝 S31), 디버거 사용중 사용자 환경등록란에 등록된 일괄처리 화일을 실행하게 해주는 디버거상의 특정항목을 선택하여 사용자 일괄처리화일을 실행하는 스텝 S32와, 상기 스텝 S28으로 사용하지 않는다면 사용자 환경등록란에 등록된 사용자 일괄처리 화일과 다른 사용자 일괄처리 화일을 실행하거나 또는 다른 목적으로 디버거를 끝낼 것인가를 결정하여 (스텝 S29), 끝내려면 다음 스텝 S37로 진행하는 스텝과, 상기 스텝 S29에 의해서 끝내지 않는다면 운영체제의 사용자 인터페이스를 호출한 다음 운영체제의 사용자 인터페이스상에서 사용자 일괄처리화일을 실행하거나 또는 다른 작업을 수행하는 스텝 S30과, 상기 스텝 S32와 스텝 S30을 실행한 후, 문서편집기나, 컴파일러나, 링커나, 사용자 일괄처리 화일을 사용하는 이외의 디버거의 기능을 이용하려 하면 (스텝 S33), 그 이외의 디버거의 기능을 사용하는 스템 S34과, 상기 문서편집기, 컴파일러 및 링커 사용자 일괄처리 화일중 어떤 한가지라도 실행할 필요가 있는가를 결정하여 (스텝 S35), 실행할 필요가 있을때는 상기 스텝 S3에서 상기 스텝 S32까지의 스텝을 다시 반복하여 실행하고, 실행할 필요가 없을때는 디버거의 사용을 끝내는 스텝 (S36, S37)을 포함하는 프로그램 개발장치의 디버거 제어방법.After executing the debugger (step S2), if there is an item to be changed in step S3 for determining whether to change the registered items in the user environment registration area, and if there is an item to be changed in step S3, the document editor name, compiler name, linker name, user batch Step S4 for changing the item of the processing file name, and if step S3 does not have a change item, it is determined whether or not the document editor needs to be executed during debugging (step S5), otherwise step S33 is executed; Step S6 for deciding whether or not to execute the document editor registered in step S6; if the document editor registered in the user environment registration area is to be used in step S6, proceed to the next step S9; otherwise, the document in the user environment registration area; Step S7 for deciding whether or not to use the editor after changing the editor name is selected. Step S9 for executing the document editor by selecting a specific item on the debugger for executing document spreading after registering the document editor name in the user environment registration area with another document editor name (Step S8). To determine whether to execute the text editor program or to finish the debugger execution for another purpose (step S11), and to terminate, to terminate the use of the debugger and to call the user interface of the operating system otherwise. Step S12 for executing a document editor or other operation on the user interface of the next operating system, and after executing steps S9 and S12, it is determined whether or not the compiler needs to be executed (step S10). Need to be executed by step S10 and step S10 In this case, it is determined whether or not to execute the compiler registered in the user environment registration column (step S13). If so, the process proceeds to the next step S18, and if the compiler is not executed by the step S13, the compiler registered in the user environment registration column. Change to another compiler, register and decide whether to execute (step S14), or if not, decide whether to end the use of the debugger to run the compiler or for other purposes (step S15), and to finish using the debugger If the step S15 does not end the use of the debugger, the user environment is invoked by calling the user interface of the operating system and then executing the compiler or other operations on the user interface of the operating system, and by executing the step S14. Register compiler different After changing to register with the compiler (Step S17), select the specific item on the debugger that allows the compiler to run and determine whether the linker needs to be executed during debugging after executing Step S18 and Steps S16 and S18. (Step S19) When there is no need to execute, the process proceeds to the next step S33. When it is necessary to execute, the process proceeds to step S20 for deciding whether or not to use the linker registered in the user environment registration column; To proceed, or to register and use a linker other than the linker registered in the user registration column in the user environment registration column (step S21), change the linker of the user environment registration to a different linker name to register and then use the linker, and step S21. Whether or not to end the use of the debugger to run the linker or for other purposes If it is determined (step S22), to end, the step proceeds to the next step S37 where the execution of the debugger is finished; if not to be completed by the step S22, the user interface of the operating system is called, and then the linker is executed on the operating system user interface, After executing step S23 and other steps S25 and S23, it is determined whether or not the user batch file registered in the user environment registration is executed during debugging (step S26). When it is necessary to execute the step proceeding to step S33 and the step S26, it is determined whether to execute the user batch file registered in the user environment registration column (step S27), and if so, the step proceeds to the next step S32; If not executed in step S27, the user's work registered in the user environment registration column Step S28 for deciding whether or not to use a user batch file different from the processing file in the user environment registration column, and the contents of the user batch file registered in the user environment registration column of the debugger by using a text editor if used in step S28. Step S32 to execute the user batch file by selecting a specific item on the debugger that causes the batch file to be registered in the user environment registration column during the debugger to be used after registering or changing to another batch file (Step S31). If it is not used in step S28, it is determined whether to execute the user batch file different from the user batch file registered in the user environment registration column or to end the debugger for another purpose (step S29), and to proceed to the next step S37 to finish. If it is not completed by the step S29, After calling the user interface of the system and executing the user batch file or performing other tasks on the user interface of the operating system, and executing the steps S32 and S30, a document editor, a compiler, a linker, If you want to use a debugger function other than a user batch file (step S33), you can use any of the document editor, compiler, and linker user batch files that use the debugger function. Determine whether it is necessary to execute it (step S35). If it is necessary to execute it, the steps from step S3 to step S32 are repeated again, and if it is not necessary, the steps (S36 and S37) of ending the use of the debugger are performed. Debugger control method of a program development apparatus comprising.
KR1019910021857A 1991-11-30 1991-11-30 Debugging system and control method of program developing apparatus KR940008474B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019910021857A KR940008474B1 (en) 1991-11-30 1991-11-30 Debugging system and control method of program developing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019910021857A KR940008474B1 (en) 1991-11-30 1991-11-30 Debugging system and control method of program developing apparatus

Publications (2)

Publication Number Publication Date
KR930010721A KR930010721A (en) 1993-06-23
KR940008474B1 true KR940008474B1 (en) 1994-09-15

Family

ID=19323934

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019910021857A KR940008474B1 (en) 1991-11-30 1991-11-30 Debugging system and control method of program developing apparatus

Country Status (1)

Country Link
KR (1) KR940008474B1 (en)

Also Published As

Publication number Publication date
KR930010721A (en) 1993-06-23

Similar Documents

Publication Publication Date Title
US6314559B1 (en) Development system with methods for assisting a user with inputting source code
US5561800A (en) Method and apparatus for incrementally linking modified routines into software
US5854924A (en) Static debugging tool and method
US6026362A (en) Tool and method for diagnosing and correcting errors in a computer program
US5325533A (en) Engineering system for modeling computer programs
US8458608B2 (en) Focus state themeing
US6138271A (en) Operating system for embedded computers
US6016474A (en) Tool and method for diagnosing and correcting errors in a computer program
US7861234B1 (en) System and method for binary translation to improve parameter passing
US20020184611A1 (en) Design system and method having improved display of code
US20110119658A1 (en) Speculative compilation
JPH08512154A (en) Incremental linker system
JP2000347894A (en) Source program check device and program recording medium therefor
JPH07230386A (en) Data processor and method for calling control routine
KR940008474B1 (en) Debugging system and control method of program developing apparatus
JPH0766342B2 (en) Program test equipment
Bahlke et al. Design and structure of a semantics-based programming environment
Doedel et al. Auto-07p: continuation and bifurcation software
KR100565295B1 (en) Java emulation method for mobile communication device
McGrath C Programming in easy steps
Wendt Fast code generation using automatically-generated decision trees
JP2001318796A (en) Program execution control method using internal and external event driven system, recording medium and program preparation support system
JP3305767B2 (en) Sort processing method and compilation method
JP2002132502A (en) Automatic creating system and method of distributed object with interpretation of language function
Olsson Modern C Quick Syntax Reference: A Pocket Guide to the Language, APIs, and Library

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
G160 Decision to publish patent application
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee