KR20100073180A - Visual debugging apparatus and method thereof - Google Patents

Visual debugging apparatus and method thereof Download PDF

Info

Publication number
KR20100073180A
KR20100073180A KR1020080131774A KR20080131774A KR20100073180A KR 20100073180 A KR20100073180 A KR 20100073180A KR 1020080131774 A KR1020080131774 A KR 1020080131774A KR 20080131774 A KR20080131774 A KR 20080131774A KR 20100073180 A KR20100073180 A KR 20100073180A
Authority
KR
South Korea
Prior art keywords
application
debugging
breakpoint
specific control
visual
Prior art date
Application number
KR1020080131774A
Other languages
Korean (ko)
Other versions
KR101027005B1 (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 KR1020080131774A priority Critical patent/KR101027005B1/en
Publication of KR20100073180A publication Critical patent/KR20100073180A/en
Application granted granted Critical
Publication of KR101027005B1 publication Critical patent/KR101027005B1/en

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/3664Environments for testing or debugging software

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)

Abstract

PURPOSE: A visual debugging device and a method thereof are provided to designate a break point through direct selection of a window and a control in operation state of a GUI(Graphic User Interface) program, thereby more easily confirming operation state of the program by pause of a program. CONSTITUTION: An event designating unit(106) receives selection of a specific control for performing debugging in an application execution screen. The even designating unit designates brake point for debugging. A breakpoint is inputted in debugger(104) from the even designating unit. The debugger finds source code location of the application program which the breakpoint designates. The debugger performs debugging about the application from the corresponding breakpoint.

Description

시각적 디버깅 장치 및 방법{VISUAL DEBUGGING APPARATUS AND METHOD THEREOF} VISUAL DEBUGGING APPARATUS AND METHOD THEREOF}

본 발명은 컴퓨터 프로그램의 디버깅(debugging) 방법에 관한 것으로, 특히 사용자가 디버깅 하고자 하는 응용 프로그램(application program)의 소스 코드(source code) 상에서 디버깅 수행할 브레이크 포인트(break point)를 일일이 지정하는 것 없이 GUI(graphic user interface) 프로그램을 실행시켜둔 상태에서 직접 윈도우(window)와 컨트롤(control) 선택을 통해 브레이크 포인트를 지정할 수 있도록 하여 보다 손쉽게 프로그램을 정지시켜서 프로그램의 동작 상태를 확인할 수 있는 시각적 디버깅 장치 및 방법에 관한 것이다.The present invention relates to a debugging method of a computer program, and in particular, without specifying a break point to be debugged on the source code of an application program to be debugged by a user. Visual debugging device that makes it easier to stop the program and check the operating status of the program by allowing you to specify breakpoints by directly selecting windows and controls while the graphical user interface (GUI) program is running. And to a method.

본 발명은 지식경제부 및 정보통신연구진흥원의 IT신성장동력핵심기술개발사업의 일환으로 수행한 연구로부터 도출된 것이다[과제관리번호: 2007-S-032-02, 과제명: 다중 플랫폼 지원 모바일 응용 S/W 개발환경 기술 개발].The present invention is derived from the research conducted as part of the IT new growth engine core technology development project of the Ministry of Knowledge Economy and the Ministry of Information and Communication Research and Development. [Task management number: 2007-S-032-02, Task name: Multi-platform mobile application S] / W development environment technology development].

통상적으로, 디버거(debugger)란 프로그램의 오류 발생 원인을 찾기 위한 툴(tool)을 지칭하나, 이 외에 프로그램의 내용을 분석하고, 수정하는데 이용되어 지기도 한다.Typically, a debugger refers to a tool for finding the cause of an error in a program, but may also be used to analyze and correct the contents of a program.

이와 같은 디버거는 브레이크 포인트(break point), 트레이스(trace), 및 고우(go) 등의 기능을 가지고 있어 사용자가 원하는 부분에서 프로그램을 중단시킬 수 있고, 프로그램을 명령어 단어로 실행시킴으로서 프로그램 디버깅을 수행하는 것이 가능하다.This debugger has functions such as break point, trace, and go, so that the program can be interrupted at the desired part and the program can be debugged by executing the program as a command word. It is possible to.

이때, 위 브레이크 포인트는 일반적인 디버거에서 프로그램의 수행 진로 도중 사용자가 원하는 지점에서 프로그램이 빠져 나오게 하는 기능이다. 따라서, 프로그램이 실행되는 도중 브레이크 포인트가 걸리면 소프트웨어 어보트(software abort)가 입력되어 실행을 중단하고, 디버깅 할 수 있는 상태로 된다. 이때 위 소프트웨어 어보트는 외부의 하드웨어 인터럽트를 사용하여 프로그램이 어떤 무한루프를 수행할 때나 프로그램 수행 중에 잠시 중단하고 강제로 디버깅을 할 수 있는 상태로 빠져나오게 하는 기능이다.In this case, the break point is a function that allows the program to exit from the point desired by the user during the course of executing the program in the general debugger. Thus, if a breakpoint is caught while the program is running, a software abort is entered to abort execution and to be ready for debugging. At this time, the above software abort is a function that uses external hardware interrupt to exit the program to stop and forcibly debug when the program executes some infinite loop or during program execution.

따라서, 종래 디버거에서는 위와 같은 브레이크 포인트를 이용하여 프로그램의 구조를 파악하는데 사용하고 있다.Therefore, the conventional debugger is used to grasp the structure of the program using the above break point.

그러나, 디버깅 작업을 위해 위와 같은 브레이크 포인트를 설정함에 있어서, 종래에는 사용자가 소스 코드 상에서 멈춰야하는 브레이크 포인트를 일일이 찾아서 지정해줘야 하는 불편함에 있었다.However, in setting the breakpoints as described above for debugging, conventionally, there has been inconvenience in that the user must find and specify breakpoints to be stopped on the source code.

따라서, 본 발명은 사용자가 디버깅 하고자 하는 응용 프로그램의 소스코드 상에서 디버깅 수행할 브레이크 포인트를 일일이 지정하는 것 없이 GUI 프로그램을 실행시켜둔 상태에서 직접 윈도우와 컨트롤 선택을 통해 브레이크 포인트를 지정할 수 있도록 하여 보다 손쉽게 프로그램을 정지시켜서 프로그램의 동작 상태를 확인할 수 있는 시각적 디버깅 장치 및 방법을 제공하고자 한다.Therefore, the present invention allows the user to specify the breakpoint through direct window and control selection while executing the GUI program without specifying the breakpoint to debug on the source code of the application program to be debugged. An object of the present invention is to provide a visual debugging apparatus and method for easily stopping a program and checking a program's operating state.

상술한 본 발명은 시각적 디버깅 장치로서, 응용 프로그램 실행화면에서 디버깅을 수행할 특정 컨트롤을 선택받아 디버깅 수행할 브레이크 포인트를 지정하는 이벤트 지정기와, 상기 이벤트 지정기로부터 입력된 브레이크 포인트가 지정하는 상기 응용 프로그램의 소스 코드 위치 찾아 해당 브레이크 포인트부터 상기 응용 프로그램에 대한 디버깅을 수행하는 디버거를 포함한다.The above-described present invention is a visual debugging device, comprising: an event designator for designating a breakpoint to be debugged by selecting a specific control to be debugged on an application execution screen, and the application designated by the breakpoint input from the event designator It includes a debugger that finds the source code of a program and performs debugging for the application from the corresponding break point.

이때, 상기 이벤트 지정기는, 상기 응용 프로그램 실행화면에서 기 설정된 디버깅 요청 키 입력에 의해 상기 응용 프로그램의 실행이 정지된 윈도우의 상태를 상기 특정 컨트롤을 입력받을 수 있는 디버깅 대기 상태로 전환시키며, 또한 상기 실행 정지된 응용 프로그램의 화면에서 상기 특정 컨트롤의 선택 입력 시 해당 컨트롤에서 생성될 수 있는 이벤트 리스트를 디스플레이한 후, 상기 디스플레이된 이벤트 중 선택된 이벤트에 대한 소스코드가 시작되는 위치를 브레이크 포인트를 지정한다.In this case, the event designator switches the state of the window in which execution of the application is stopped by the preset debugging request key input in the application program execution screen to a debugging standby state in which the specific control can be input. After displaying the list of events that can be generated in the control when the selected control is input on the screen of the stopped application program, the breakpoint is designated at the position where the source code for the selected event among the displayed events starts. .

또한, 본 발명은 시각적 디버깅 방법으로서, 임의로 선택되는 응용 프로그램 을 실행시키는 단계와, 상기 응용 프로그램의 실행화면에서 디버깅을 수행할 특정 컨트롤을 선택받는 단계와, 상기 선택받은 특정 컨트롤을 이용하여 디버깅 수행할 브레이크 포인트를 지정하는 단계와, 상기 브레이크 포인트가 지정하는 상기 응용 프로그램의 소스 코드 위치에서 디버깅을 수행하는 단계를 포함한다.In addition, the present invention is a visual debugging method, the step of executing an arbitrarily selected application program, receiving a specific control to be debugged on the execution screen of the application program, and performing debugging using the selected specific control Designating a breakpoint to be performed, and performing debugging at a source code location of the application designated by the breakpoint.

이때, 상기 특정 컨트롤을 선택받는 단계는, 상기 응용 프로그램 실행화면에서 기 설정된 디버깅 요청 키 입력 시 상기 응용 프로그램의 실행을 정지시키는 단계와, 상기 응용 프로그램이 정지된 윈도우의 상태를 디버깅을 위한 특정 콘트롤 선택 대기 상태로 전환시키는 단계와, 상기 대기 상태에서 상기 특정 컨트롤을 선택 입력받는 단계를 포함하며,In this case, the step of selecting the specific control may include stopping the execution of the application when a preset debugging request key is input from the application program execution screen, and controlling the specific state of the window where the application program is stopped. Switching to a selection standby state, and receiving a selection input of the specific control in the standby state,

상기 브레이크 포인트 지정단계는, 상기 특정 컨트롤의 선택 입력 시 해당 컨트롤에서 생성될 수 있는 이벤트 리스트를 디스플레이시키는 단계와, 상기 디스플레이되는 이벤트 중 선택된 이벤트에 대한 소스코드가 시작되는 위치를 브레이크 포인트로 지정하는 단계를 포함한다.The step of designating a breakpoint may include: displaying a list of events that may be generated in a corresponding control when a selection of the specific control is input, and designating a breakpoint where a source code for a selected event among the displayed events starts; Steps.

본 발명의 시각적 디버깅 방법에 있어서는, 사용자가 디버깅 하고자 하는 응용 프로그램의 소스코드 상에서 디버깅 수행할 브레이크 포인트를 일일이 지정하는 것 없이 GUI 프로그램을 실행시켜둔 상태에서 직접 윈도우와 컨트롤 선택을 통해 브레이크 포인트를 지정할 수 있도록 함으로써, 보다 손쉽게 프로그램을 정지시켜서 프로그램의 동작 상태를 확인할 수 있는 이점이 있다. 또한, 이와 같이 GUI 프 로그램을 디버깅하는데 보다 효율적인 환경을 제공함으로써 프로그램 개발자는 더욱 빠르게 프로그램을 이해하거나 디버깅할 수 있는 이점이 있다.In the visual debugging method of the present invention, a user specifies a breakpoint through a window and control selection directly while the GUI program is executed without specifying a breakpoint to be debugged on the source code of the application program to be debugged. By doing so, there is an advantage that the operation state of the program can be confirmed by stopping the program more easily. In addition, by providing a more efficient environment for debugging GUI programs in this way, program developers have the advantage of understanding or debugging programs faster.

이하, 첨부된 도면을 참조하여 본 발명의 동작 원리를 상세히 설명한다. 하기에서 본 발명을 설명함에 있어서 공지 기능 또는 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명을 생략할 것이다. 그리고 후술되는 용어들은 본 발명에서의 기능을 고려하여 정의된 용어들로서 이는 사용자, 운용자의 의도 또는 관례 등에 따라 달라질 수 있다. 그러므로 그 정의는 본 명세서 전반에 걸친 내용을 토대로 내려져야 할 것이다. Hereinafter, with reference to the accompanying drawings will be described in detail the operating principle of the present invention. In the following description of the present invention, if it is determined that a detailed description of a known function or configuration may unnecessarily obscure the subject matter of the present invention, the detailed description thereof will be omitted. The following terms are defined in consideration of the functions of the present invention, and may be changed according to the intentions or customs of the user, the operator, and the like. Therefore, the definition should be made based on the contents throughout the specification.

도 1은 본 발명의 실시 예에 따른 소프트웨어 시각적 디버깅 장치의 구성을 도시한 것으로, 본 발명의 소프트웨어 시각적 디버깅 장치는 이벤트 지정기(106)와 디버거(104)를 포함한다.1 illustrates a configuration of a software visual debugging apparatus according to an exemplary embodiment of the present invention. The software visual debugging apparatus of the present invention includes an event designator 106 and a debugger 104.

이하, 도 1을 참조하여 본 발명의 시각적 디버깅 장치 각 구성요소의 동작을 상세히 설명하기로 한다.Hereinafter, the operation of each component of the visual debugging device of the present invention will be described in detail with reference to FIG. 1.

먼저, 이벤트 지정기(106)는 윈도우 장치(100) 상에서 윈도우와 컨트롤 정보(105)들을 읽어 들이고, 실행 환경 하에서 미리 설정된 디버깅 요청 키를 입력받아 응용 프로그램의 실행 화면상에서 디버깅을 수행할 브레이크 포인트를 지정한 컨트롤 정보를 입력받는다. 또한, 이벤트 지정기(106)는 응용 프로그램(102)의 실행화면에서 디버깅을 수행할 특정 컨트롤을 선택받아 디버거(104)로 브레이크 포인트를 지정하게 된다.First, the event designator 106 reads the window and the control information 105 on the window device 100, receives a debugging request key set in advance under the execution environment, and sets a breakpoint to perform debugging on the execution screen of the application. Receive the specified control information. In addition, the event designator 106 selects a specific control to be debugged from the execution screen of the application program 102 to designate a breakpoint to the debugger 104.

즉, 이벤트 지정기(106)는 디버깅 요청 키 입력 시 응용 프로그램(102)의 실행을 정지시킨 후, 응용 프로그램(102)의 실행이 정지된 윈도우의 상태를 특정 컨트롤을 입력받을 수 있는 디버깅 대기 상태로 전환시킨 후, 사용자로부터 디버깅을 수행할 특정 컨트롤을 선택받는다. 이어, 이벤트 지정기(106)는 특정 컨트롤의 선택 입력 시 해당 컨트롤에서 받을 수 있는 이벤트 리스트(event list)를 디스플레이한 후, 사용자에 의해 선택된 이벤트에 대한 소스 코드가 시작되는 위치를 브레이크 포인트를 지정하게 되는 것이다. That is, the event designator 106 stops the execution of the application 102 when the debugging request key is input, and then waits for the debugging state to receive a specific control of the state of the window in which the execution of the application 102 is stopped. After switching to, select the specific control to be debugged by the user. Subsequently, the event designator 106 displays an event list that can be received by the control when inputting a selection of a specific control, and then designates a breakpoint at which the source code for the event selected by the user starts. Will be done.

그러면, 디버거(104)는 이벤트 지정기(106)로부터 지정되는 브레이크 포인트 정보를 입력받아 브레이크 포인트를 인식하고, 브레이크 포인트가 지정하는 응용 프로그램(102)의 소스 코드 위치를 찾아 해당 브레이크 포인트부터 응용 프로그램(102)에 대한 디버깅을 수행한다. 디버깅 정보 출력기(108)는 디버거(104)로부터 디버깅되는 응용 프로그램(102)의 소스 코드 내용을 윈도우 화면으로 출력시킨다.Then, the debugger 104 receives the breakpoint information specified from the event designator 106, recognizes the breakpoint, finds the source code location of the application program 102 designated by the breakpoint, and starts the application program from the breakpoint. Perform debugging on 102. The debugging information outputter 108 outputs the source code contents of the application program 102 to be debugged from the debugger 104 to the window screen.

도 2는 본 발명의 실시 예에 따른 시각적 디버깅 장치에서 응용 프로그램 실행 화면에서 디버깅 브레이크 포인트를 지정할 수 있도록 하는 동작 제어 흐름을 도시한 것이다. 이하, 도 1 및 도 2를 참조하여 본 발명의 실시 예를 상세히 설명하기로 한다.FIG. 2 illustrates an operation control flow for allowing a debugging break point to be designated on an application program execution screen in a visual debugging apparatus according to an exemplary embodiment of the present invention. Hereinafter, an embodiment of the present invention will be described in detail with reference to FIGS. 1 and 2.

먼저, 사용자는 컴퓨터 상 키보드 또는 마우스 등을 이용한 키입력 등을 통 해 윈도우상 임의의 응용 프로그램(102)을 실행을 요청하게 되며, 이에 따라 해당 응용 프로그램(102)이 실행되어 윈도우상 해당 응용 프로그램(102)의 화면이 디스플레이된다(S200).First, a user requests to execute an arbitrary application 102 on a window through a key input using a keyboard or a mouse on a computer, and the corresponding application 102 is executed to execute the corresponding application on a window. The screen of 102 is displayed (S200).

위와 같이, 실행된 윈도우상 해당 응용 프로그램(102)의 화면에서 디버깅을 수행하고자 하는 경우 사용자는 디버깅 요청 키를 입력시키게 된다(S202).As described above, when the user wants to perform debugging on the screen of the application 102 on the executed window, the user inputs a debugging request key (S202).

이때, 위 디버깅 요청 키는 응용 프로그램(102)의 실행을 정지시키고, 윈도우 상태를 디버깅 대기 상태로 전환되도록 미리 설정된 키로, 위 디버깅 요청 키가 입력되는 경우, 현재 윈도우상에서 실행되고 있는 응용 프로그램(102)의 실행이 정지되며, 이벤트 지정기(106)는 윈도우 상태를 디버깅 대기 상태로 전환시켜 사용자의 특정 컨트롤 선택을 대기한다.In this case, the debugging request key is a key set to stop execution of the application 102 and switch the window state to the debugging standby state, and when the debugging request key is input, the application program 102 currently running on the window 102. ) Is stopped, and the event designator 106 switches the window state to the debugging wait state, waiting for a user to select a specific control.

이에 따라, 사용자는 실행 정지된 응용 프로그램(102)의 화면에서 디버깅을 실행하고자하는 특정 컨트롤을 선택하게 된다(S204). 이때, 위 특정 컨트롤은 응용 프로그램(102)의 실행 화면 내 특정 기능이 수행되도록 할당된 사용자 인터페이스 구성요소를 말한다.Accordingly, the user selects a specific control to be executed on the screen of the stopped application program 102 (S204). In this case, the specific control refers to a user interface component allocated to perform a specific function in the execution screen of the application program 102.

그러면, 이벤트 지정기(106)는 사용자에 의해 선택된 정지된 응용 프로그램(102)의 화면상 특정 컨트롤을 인식하고, 해당 컨트롤이 받을 수 있는 이벤트 리스트를 윈도우에 표시시킨다(S206).Then, the event designator 106 recognizes a specific control on the screen of the stopped application program 102 selected by the user, and displays a list of events that the control can receive in step S206.

이에 따라, 사용자는 위 표시된 이벤트 리스트 중에서 정지시킬 이벤트를 선택하게 되며(S208), 이벤트 지정기(106)는 사용자에 의해 선택되는 이벤트를 정보를 인식하여 사용자에 의해 선택된 이벤트에 대한 소스 코드가 시작되는 위치를 브 레이크 포인트를 지정하고 이를 디버거(104)에 전달한다(S210).Accordingly, the user selects an event to be stopped from the event list displayed above (S208), and the event designator 106 recognizes the information selected by the user and starts the source code for the event selected by the user. Designate a break point to be the position and deliver it to the debugger 104 (S210).

그러면, 디버거(104)는 이벤트 지정기(106)로부터 전달받은 브레이크 포인트를 이용하여 응용 프로그램(102)의 실행 중 해당 브레이크 포인트를 만나면 응용 프로그램(102)을 정지시키고, 디버깅 정보 출력기(108)를 통해 그 상태에서의 디버깅 관련 정보를 윈도우 화면상으로 출력시켜 사용자에게 제공하게 된다.Then, the debugger 104 uses the breakpoint received from the event designator 106 to stop the application 102 when the corresponding breakpoint is encountered during the execution of the application 102, and the debugging information outputter 108 is stopped. Through this, debugging related information is displayed on the window screen and provided to the user.

도 3은 본 발명의 실시 예에 따른 시각적 디버깅에 따른 윈도우 화면 예시도를 도시한 것이다.3 is a diagram illustrating a window screen according to visual debugging according to an embodiment of the present invention.

위 도 3을 참조하면, 사용자가 일반적인 GUI 중심의 응용 프로그램을 실행한 후, 실행 중간에 미리 설정된 디버깅 요청 키를 클릭(click)하는 경우, 도 3의 (a)에서 보여지는 바와 같이 응용 프로그램이 잠시 정지되고, 클릭한 위치에서의 컨트롤이 받아들일 수 있는 이벤트 리스트(event list)가 도 3의 (b)에서와 같이 사용자에게 제시된다.Referring to FIG. 3 above, after the user executes a general GUI-oriented application and clicks a preset debugging request key in the middle of execution, the application is displayed as shown in FIG. It pauses for a moment and an event list that the control at the clicked position can accept is presented to the user as in FIG. 3 (b).

이어, 위 제시된 이벤트 리스트 중에서 사용자가 관심 있는 이벤트를 선택하는 경우 선택된 이벤트에 대한 소스 코드가 자동으로 찾아져서 도 3의 (c)에서와 같이 디스플레이되며, 해당 소스 코드가 시작되는 브레이크 포인트가 디버거에 지정된다. 위와 같이 브레이크 포인트가 지정된 후, 해당 응용 프로그램이 실행되면 디버거는 사용자에 의해 선택된 이벤트에 해당하는 브레이크 포인트가 검출되는 경우 응용 프로그램의 실행을 정지시킨 후, 도 3의 (d)에서와 같이, 브레이크 포인트를 만날 때까지의 콜 스택(call stack)과 소스 코드, 콜 그래프(call graph), 컨트롤 플로우 그래프(control flow graph) 등의 정보를 제공하게 된다.Subsequently, when the user selects an event of interest from the above-listed event list, the source code for the selected event is automatically found and displayed as shown in FIG. 3 (c), and the breakpoint at which the source code starts is displayed in the debugger. Is specified. After the breakpoint is specified as described above, if the corresponding application is executed, the debugger stops the execution of the application if a breakpoint corresponding to the event selected by the user is detected, and then breaks as shown in FIG. It provides information on the call stack, source code, call graph, control flow graph, and so on until the point is met.

상기한 바와 같이, 본 발명의 시각적 디버깅 방법에 있어서는 사용자가 디버깅 하고자 하는 응용 프로그램의 소스 코드 상에서 디버깅 수행할 브레이크 포인트를 일일이 지정하는 것 없이 GUI 프로그램을 실행시켜둔 상태에서 직접 윈도우와 컨트롤 선택을 통해 브레이크 포인트를 지정할 수 있도록 함으로써, 보다 손쉽게 프로그램을 정지시켜서 프로그램의 동작 상태를 확인할 수 있다.As described above, in the visual debugging method of the present invention, a user directly selects a window and a control in a state in which a GUI program is executed without specifying a breakpoint to debug on the source code of an application program to be debugged. By allowing you to specify breakpoints, you can stop the program more easily to see the program's operating status.

한편 상술한 본 발명의 설명에서는 구체적인 실시 예에 관해 설명하였으나, 여러 가지 변형이 본 발명의 범위에서 벗어나지 않고 실시될 수 있다. 따라서 발명의 범위는 설명된 실시 예에 의하여 정할 것이 아니고 특허청구범위에 의해 정하여져야 한다.While the invention has been shown and described with reference to certain preferred embodiments thereof, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention. Accordingly, the scope of the invention should not be limited by the described embodiments but should be defined by the appended claims.

도 1은 본 발명의 실시 예에 따른 시각적 디버깅 장치의 구성도,1 is a block diagram of a visual debugging apparatus according to an embodiment of the present invention;

도 2는 본 발명의 실시 예에 따른 시각적 디버깅 처리 흐름도,2 is a flowchart of a visual debugging process according to an embodiment of the present invention;

도 3은 본 발명의 실시 예에 따른 시각적 디버깅 처리 시의 화면 예시도.3 is an exemplary view of a screen during visual debugging processing according to an embodiment of the present invention.

<도면의 주요 부호에 대한 간략한 설명><Brief description of the major symbols in the drawings>

100 : 윈도우 장치 102 : 응용 프로그램100: Windows device 102: Applications

104 : 디버거 106 : 이벤트 지정기104: Debugger 106: Event Specifier

108 : 디버깅 정보 출려기 108: extract debugging information

Claims (10)

시각적 디버깅 장치로서,As a visual debugging device, 응용 프로그램 실행화면에서 디버깅을 수행할 특정 컨트롤을 선택받아 디버깅 수행할 브레이크 포인트를 지정하는 이벤트 지정기와,An event designator that selects a specific control to be debugged in the application execution screen and designates a breakpoint to be debugged. 상기 이벤트 지정기로부터 입력된 브레이크 포인트가 지정하는 상기 응용 프로그램의 소스 코드 위치를 찾아 해당 브레이크 포인트부터 상기 응용 프로그램에 대한 디버깅을 수행하는 디버거Debugger which finds source code location of the application designated by the breakpoint input from the event designator and debugs the application from the breakpoint. 를 포함하는 시각적 디버깅 장치.Visual debugging device comprising a. 제 1 항에 있어서,The method of claim 1, 상기 이벤트 지정기는,The event designator, 상기 응용 프로그램 실행화면에서 기 설정된 디버깅 요청 키 입력에 의해 상기 응용 프로그램의 실행이 정지된 윈도우의 상태를 상기 특정 컨트롤을 입력받을 수 있는 디버깅 대기 상태로 전환시키는 시각적 디버깅 장치.And a visual debugging device configured to switch a state of a window in which execution of the application is stopped, to a debugging standby state in which the specific control can be input, by a preset debugging request key input on the application execution screen. 제 2 항에 있어서,The method of claim 2, 상기 이벤트 지정기는, The event designator, 상기 실행 정지된 응용 프로그램의 화면에서 상기 특정 컨트롤의 선택 입력 시 해당 컨트롤에서 생성될 수 있는 이벤트 리스트를 디스플레이한 후, 상기 디스플레이된 이벤트 중 선택된 이벤트에 대한 소스코드가 시작되는 위치를 브레이크 포인트를 지정하는 시각적 디버깅 장치.When a selection of the specific control is input on the screen of the stopped application program, a list of events that can be generated in the control is displayed, and a breakpoint is designated at a position where the source code for the selected event among the displayed events starts. Visual debugging device. 제 1 항에 있어서,The method of claim 1, 상기 디버거는,The debugger is 상기 브레이크 포인트로부터 디버깅되는 상기 응용 프로그램의 소스 코드 내용을 윈도우 화면으로 출력시키는 시각적 디버깅 장치.And a visual debugging device outputting source code contents of the application debugged from the break point to a window screen. 제 1 항에 있어서,The method of claim 1, 상기 특정 컨트롤은,The specific control, 상기 응용 프로그램의 실행 화면 내 특정 기능이 수행되도록 할당된 사용자 인터페이스 구성요소인 시각적 디버깅 장치.And a user interface component assigned to perform a specific function in an execution screen of the application. 시각적 디버깅 방법으로서,As a visual debugging method, 임의로 선택되는 응용 프로그램을 실행시키는 단계와,Running an application selected at random; 상기 응용 프로그램의 실행화면에서 디버깅을 수행할 특정 컨트롤을 선택받는 단계와,Selecting a specific control to be debugged from an execution screen of the application; 상기 선택받은 특정 컨트롤을 이용하여 디버깅 수행할 브레이크 포인트를 지정하는 단계와,Designating a breakpoint to be debugged using the selected specific control; 상기 브레이크 포인트가 지정하는 상기 응용 프로그램의 소스 코드 위치에서 디버깅을 수행하는 단계Performing debugging at a source code location of the application designated by the breakpoint 를 포함하는 시각적 디버깅 방법.Visual debugging method comprising a. 제 6 항에 있어서,The method of claim 6, 상기 특정 컨트롤을 선택받는 단계는,The step of selecting the specific control, 상기 응용 프로그램 실행화면에서 기 설정된 디버깅 요청 키 입력 시 상기 응용 프로그램의 실행을 정지시키는 단계와,Stopping execution of the application when a preset debugging request key is input from the application execution screen; 상기 응용 프로그램이 정지된 윈도우의 상태를 디버깅을 위한 특정 콘트롤 선택 대기 상태로 전환시키는 단계와,Transitioning the state of the stopped window from the application program to a specific control selection wait state for debugging; 상기 대기 상태에서 상기 특정 컨트롤을 선택 입력받는 단계Selecting and inputting the specific control in the standby state 를 포함하는 시각적 디버깅 방법. Visual debugging method comprising a. 제 6 항에 있어서,The method of claim 6, 상기 브레이크 포인트 지정단계는,The break point designation step, 상기 특정 컨트롤의 선택 입력 시 해당 컨트롤에서 생성될 수 있는 이벤트 리스트를 디스플레이시키는 단계와,Displaying an event list that can be generated in the control when the specific control is inputted; 상기 디스플레이되는 이벤트 중 선택된 이벤트에 대한 소스코드가 시작되는 위치를 브레이크 포인트로 지정하는 단계Designating as a break point the source code starting point for the selected event among the displayed events; 를 포함하는 시각적 디버깅 방법.Visual debugging method comprising a. 제 6 항에 있어서,The method of claim 6, 상기 방법은,The method, 상기 디버깅 수행단계이 후, 상기 브레이크 포인트로부터 디버깅되는 상기 응용 프로그램의 소스 코드 내용을 윈도우 화면으로 출력시키는 단계Outputting source code contents of the application program debugged from the breakpoint to a window screen after the debugging execution step; 를 더 포함하는 시각적 디버깅 방법.Visual debugging method comprising more. 제 6 항에 있어서,The method of claim 6, 상기 특정 컨트롤은,The specific control, 상기 응용 프로그램의 실행 화면 내 특정 기능이 수행되도록 할당된 사용자 인터페이스 구성요소인 시각적 디버깅 방법.And a user interface component assigned to perform a specific function in an execution screen of the application.
KR1020080131774A 2008-12-22 2008-12-22 Visual debugging apparatus and method thereof KR101027005B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020080131774A KR101027005B1 (en) 2008-12-22 2008-12-22 Visual debugging apparatus and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020080131774A KR101027005B1 (en) 2008-12-22 2008-12-22 Visual debugging apparatus and method thereof

Publications (2)

Publication Number Publication Date
KR20100073180A true KR20100073180A (en) 2010-07-01
KR101027005B1 KR101027005B1 (en) 2011-04-11

Family

ID=42636176

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020080131774A KR101027005B1 (en) 2008-12-22 2008-12-22 Visual debugging apparatus and method thereof

Country Status (1)

Country Link
KR (1) KR101027005B1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103514072A (en) * 2012-06-28 2014-01-15 中兴通讯股份有限公司 Method and device for debugging graphical service for visual programming
KR101995176B1 (en) * 2018-11-26 2019-07-01 한국과학기술원 Method and system for reverse engineering using big data based on dynamic context
WO2023044879A1 (en) * 2021-09-26 2023-03-30 西门子(中国)有限公司 Application program monitoring method and apparatus, and readable storage medium
KR102659154B1 (en) * 2023-08-11 2024-04-19 인스피언 주식회사 Appartus for providing application services, method thereof, and computationally-implementable storage medium for storing a program for providing application services

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101913060B1 (en) * 2018-02-12 2018-10-29 민경현 Mobile device and method for debugging

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR920018581A (en) * 1991-03-11 1992-10-22 정용문 Real time debugging method
KR100623279B1 (en) * 2004-12-17 2006-09-14 한국전자통신연구원 Embedded system debugging device and method thereof

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103514072A (en) * 2012-06-28 2014-01-15 中兴通讯股份有限公司 Method and device for debugging graphical service for visual programming
KR101995176B1 (en) * 2018-11-26 2019-07-01 한국과학기술원 Method and system for reverse engineering using big data based on dynamic context
WO2020111482A1 (en) * 2018-11-26 2020-06-04 한국과학기술원 Reverse engineering method and system utilizing big data based on program execution context
WO2023044879A1 (en) * 2021-09-26 2023-03-30 西门子(中国)有限公司 Application program monitoring method and apparatus, and readable storage medium
KR102659154B1 (en) * 2023-08-11 2024-04-19 인스피언 주식회사 Appartus for providing application services, method thereof, and computationally-implementable storage medium for storing a program for providing application services

Also Published As

Publication number Publication date
KR101027005B1 (en) 2011-04-11

Similar Documents

Publication Publication Date Title
US20070074168A1 (en) Automated step type determination
US9823903B2 (en) Debugging software through visual representations mapped to computer code
US10007551B2 (en) Techniques for switching threads within routines
US9129063B2 (en) Visualizing a computer program execution history
KR101027005B1 (en) Visual debugging apparatus and method thereof
US7735069B2 (en) Creating software debug breakpoints activated by specific call patterns
US20150212923A1 (en) Nontransitory processor readable recording medium having fault injection program recorded therein and fault injection method
US8701094B2 (en) Event management in a non-stop debugging environment
CN115934566A (en) Debugging information display method and device, electronic equipment and storage medium
CN105677689B (en) Log recording method and device
JP2009223471A (en) Simulation system
JP2010039695A (en) Multitask operating system and debugging device
JP2006244106A (en) Information processing apparatus and processing method
US20080276187A1 (en) Iconic Programming System with Disabling and Enabling of Dependent Objects
JP2007004516A (en) Program debugging method of built-in system
CN114398290B (en) Program debugging method, device, equipment and medium
JP2009064233A (en) Debugging device, debugging method, and debugging program
CN109032443B (en) Software control method and device for automatic operation equipment
JP3770660B2 (en) Multitask operating system queue display method and debugging apparatus
JP5212864B2 (en) Debug device
JPH04333146A (en) Program execution control system for debugging
JP2000250777A (en) Information processor, information processing method and storage medium
JP2006350676A (en) Program debugging method of built-in system
JPH01274253A (en) Software break system
JP2001154874A (en) Program debug device

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: 20140303

Year of fee payment: 4

LAPS Lapse due to unpaid annual fee