KR20060066912A - Method for outputting debug messages when debugging in a moboile communication terminal - Google Patents

Method for outputting debug messages when debugging in a moboile communication terminal Download PDF

Info

Publication number
KR20060066912A
KR20060066912A KR1020040105450A KR20040105450A KR20060066912A KR 20060066912 A KR20060066912 A KR 20060066912A KR 1020040105450 A KR1020040105450 A KR 1020040105450A KR 20040105450 A KR20040105450 A KR 20040105450A KR 20060066912 A KR20060066912 A KR 20060066912A
Authority
KR
South Korea
Prior art keywords
debugging
debug
communication terminal
debug message
module
Prior art date
Application number
KR1020040105450A
Other languages
Korean (ko)
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 KR1020040105450A priority Critical patent/KR20060066912A/en
Publication of KR20060066912A publication Critical patent/KR20060066912A/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

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

본 발명은 이동통신 단말기의 디버깅시 디버그 메시지 출력 방법에 관한 것이다. The present invention relates to a method of outputting a debug message when debugging a mobile communication terminal.

본 발명은 내장형 시스템(Embedded System) 구조를 갖는 이동통신 단말기의 각 모듈에 대해 디버깅(debugging)을 수행하는 방법에 있어서, 개발자로부터 상기 디버깅 수행으로 인해 검출된 버그(bug) 정보를 포함하는 디버그 메시지(debug message)의 출력범위를 지정받는 단계와; 디버깅을 수행하는 중 디버그 메시지가 발생하면, 상기 지정된 출력범위에 따라 디버그 메시지를 선택적으로 출력하는 단계를 포함하는 방법을 구비하여 구성된다. The present invention provides a debugging method for each module of a mobile communication terminal having an embedded system structure, the debug message including bug information detected by the developer from performing the debugging. receiving an output range of a debug message; If a debug message occurs while performing debugging, the method further includes selectively outputting a debug message according to the specified output range.

따라서, 본 발명은 내장형 시스템(Embedded System) 구조를 갖는 이동통신 단말기에 있어서, 다수의 개발자가 상기 이동통신 단말기의 각 모듈에 대해 디버깅(debugging)을 수행하는 경우, 디버깅의 결과로 검출된 버그 정보를 포함하는 디버깅 메시지를 각 개발자별, 모듈별, 포트별로 구분하여 선택적으로 출력함으로써, 개발자의 요구사항에 따라 출력되는 디버그 메시지를 확인할 수 있어 이동통신 단말기의 모듈 개발시 요구되는 디버깅 시간을 단축하는 효과가 있다.
Therefore, in the mobile communication terminal having an embedded system structure, when a plurality of developers debug each module of the mobile communication terminal, bug information detected as a result of debugging is detected. By selectively outputting a debugging message including each developer by module, module, and port, the debug message outputted according to the requirements of the developer can be checked, thereby reducing the debugging time required when developing a module of a mobile communication terminal. It works.

Description

이동통신 단말기의 디버깅시 디버그 메시지 출력 방법{METHOD FOR OUTPUTTING DEBUG MESSAGES WHEN DEBUGGING IN A MOBOILE COMMUNICATION TERMINAL} How to output debug message when debugging mobile terminal {METHOD FOR OUTPUTTING DEBUG MESSAGES WHEN DEBUGGING IN A MOBOILE COMMUNICATION TERMINAL}             

도1은 본 발명 이동통신 단말기의 디버깅시 디버그 메시지 출력 방법의 동작과정을 보인 순서도.1 is a flow chart showing the operation of the debug message output method when debugging the mobile communication terminal of the present invention.

도2는 본 발명 이동통신 단말기의 디버깅시 디버그 메시지 출력 방법에서, 사용자 인터페이스 입력창의 예를 보인 예시도.Figure 2 is an exemplary view showing an example of a user interface input window in the debug message output method when debugging the mobile communication terminal of the present invention.

본 발명은 이동통신 단말기의 디버깅 방법에 관한 것으로, 특히 내장형 시스템(Embedded System) 구조를 갖는 이동통신 단말기에 있어서, 다수의 개발자가 상기 이동통신 단말기의 각 모듈에 대해 디버깅(debugging)을 수행하는 경우, 디버깅의 결과로 검출된 버그 정보를 포함하는 디버깅 메시지를 각 개발자별, 모듈별, 포트별로 구분하여 선택적으로 출력함으로써, 개발자의 요구사항에 따라 출력되는 디버그 메시지를 확인할 수 있어 이동통신 단말기의 모듈 개발시 요구되는 디버깅 시간을 단축하는 이동통신 단말기의 디버깅시 디버그 메시지 출력 방법에 관한 것이다.
The present invention relates to a debugging method of a mobile communication terminal, in particular, in a mobile communication terminal having an embedded system structure, when a number of developers debug each module of the mobile communication terminal (debugging) By selectively outputting debugging messages including bug information detected as a result of debugging by dividing each developer, module, and port, the debug messages outputted according to the requirements of developers can be checked. The present invention relates to a method of outputting a debug message when debugging a mobile communication terminal, which reduces the debugging time required for development.

교환 시스템, 가전기기, 이동통신 단말기 등의 내장형 시스템(Embedded System)은 여러가지 프로세서 및 소프트웨어 모듈을 제공하고 있어, 각 프로세서와 모듈간에 상호 유기적으로 동작하도록 하기 위해서는 그 개발 과정에서 오랜 시간 동안의 테스트를 통하여 버그(bug)를 검출하여 치유하는 디버깅(debugging) 과정을 거쳐야 한다. Embedded systems, such as switching systems, home appliances, and mobile terminals, offer a variety of processors and software modules. It must go through a debugging process that detects and heals bugs.

이때, 내장형 시스템을 다수의 개발자가 개발하는 경우 해당 내장형 시스템 내부의 내장형 칩에서 테스트를 통해 검출된 버그에 대한 정보를 디버그 메시지 형태로 출력하는데, 각 개발자가 원하는 디버그 메시지 혹은 그 메시지 중에서 특정 의 중요도를 갖는 디버그 메시지의 선택적인 추출이나 해당 디버그 메시지를 확인하고자 하는 모듈 등 개발자의 요구사항에 따른 선택적인 디버그 메시지를 출력하지 못한채 버그가 검출되면 일률적으로 디버그 메시지를 출력하도록 설정되어 있음으로써, 각 개발자가 원하는 디버그 메시지를 찾아 확인하기 위하여 시간을 소모하여야 하고, 또한 해당 디버그 메시지가 출력되는 포트(port)를 선택할 수 없는 문제점이 있었다.
In this case, when a large number of developers develop an embedded system, information about a bug detected through a test on an embedded chip inside the embedded system is output in a debug message form. Each developer is set to output debug messages uniformly when a bug is detected without outputting a selective debug message according to the developer's requirements, such as selective extraction of a debug message or a module to check the debug message. Had to spend time to find and check the desired debug message, and there was a problem in that it was not possible to select a port for outputting the debug message.

따라서, 본 발명은 상기와 같은 종래의 문제점을 해결하기 위하여 제안한 것으로, 내장형 시스템 구조를 갖는 이동통신 단말기에 있어서, 다수의 개발자가 상기 이동통신 단말기의 각 모듈에 대해 디버깅을 수행하는 경우, 디버깅의 결과로 검출된 버그 정보를 포함하는 디버깅 메시지를 각 개발자별, 모듈별, 포트별로 구분하여 선택적으로 출력하도록 하는 방법을 제공함에 그 목적이 있다.
Accordingly, the present invention has been proposed to solve the above-mentioned conventional problems. In the mobile communication terminal having a built-in system structure, when a plurality of developers debug each module of the mobile communication terminal, The purpose is to provide a method for selectively outputting debugging messages including the detected bug information by each developer, module, and port.

이와 같은 목적을 달성하기 위한 본 발명은, 내장형 시스템 구조를 갖는 이동통신 단말기의 각 모듈에 대해 디버깅을 수행하는 방법에 있어서, 개발자로부터 상기 디버깅 수행으로 인해 검출된 버그 정보를 포함하는 디버그 메시지의 출력범위를 지정받는 단계와; 디버깅을 수행하는 중 디버그 메시지가 발생하면, 상기 지정된 출력범위에 따라 디버그 메시지를 선택적으로 출력하는 단계를 포함하는 것을 특징으로 한다.
In order to achieve the above object, the present invention provides a method for debugging each module of a mobile communication terminal having a built-in system structure, the output of a debug message including the bug information detected by the developer to perform the debugging Receiving a range; If a debug message occurs while performing debugging, the method may include selectively outputting a debug message according to the specified output range.

이하, 본 발명에 따른 일실시예를 첨부한 도면을 참조하여 상세히 설명하면 다음과 같다. Hereinafter, an embodiment according to the present invention will be described in detail with reference to the accompanying drawings.

도1은 본 발명 이동통신 단말기의 디버깅시 디버그 메시지 출력 방법의 동작과정을 보인 순서도로서, 이에 도시한 바와 같이, 내장형 시스템(Embedded System) 구조를 갖는 이동통신 단말기의 각 모듈에 대해 디버깅(debugging)을 수행하는 방법에 있어서, 개발자로부터 상기 디버깅 수행으로 인해 검출된 버그(bug) 정보를 포함하는 디버그 메시지(debug message)의 출력범위를 지정받는 단계(S10)와; 디버깅을 수행하는 중 디버그 메시지가 발생하면, 상기 지정된 출력범위에 따라 디버그 메시지를 선택적으로 출력하는 단계(S11∼S13)로 구성한다. 1 is a flowchart illustrating an operation of a method of outputting a debug message when debugging a mobile communication terminal according to the present invention. As shown in the drawing, debugging is performed for each module of a mobile communication terminal having an embedded system structure. In the method for performing the step, Receiving the output range of the debug message (debug message) including the bug (bug) information detected by the developer from performing the debugging (S10); If a debug message occurs while performing debugging, the step S11 to S13 selectively outputs a debug message according to the specified output range.

본 발명은 내장형 시스템(Embedded System) 구조를 갖는 이동통신 단말기에 적용할 수 있으며, 특히 다수의 개발자가 상기 이동통신 단말기의 각 모듈에 대해 디버깅(debugging)을 수행하는 경우, 디버깅의 결과로 검출된 버그 정보를 포함하는 디버깅 메시지를 각 개발자별, 모듈별, 포트별로 구분하여 선택적으로 출력함으로써, 개발자의 요구사항에 따라 출력되는 디버그 메시지를 확인할 수 있어 이동통신 단말기의 모듈 개발시 요구되는 디버깅 시간을 단축하게 된다.
The present invention can be applied to a mobile communication terminal having an embedded system structure, and in particular, when a large number of developers perform debugging on each module of the mobile communication terminal, it is detected as a result of debugging. By selectively outputting debugging messages including bug information by each developer, module, and port, you can check the debug messages that are output according to the requirements of the developer. It will shorten.

본 발명의 동작과정을 첨부한 도2를 참조하여 설명하면 다음과 같다. Referring to Figure 2 attached to the operation of the present invention will be described.

내장형 시스템(Embedded System) 구조를 갖는 이동통신 단말기를 개발함에 있어서 상기 이동통신 단말기의 각 프로그램 모듈에 대해 디버깅을 수행하는 경우, 개발자는 해당 단말기에 디버깅을 위한 디버그 수단을 연결한 후 디버깅을 하고자 하는 상기 각 프로그램 모듈을 실행하여 검출되는 버그를 확인하게 된다. In developing a mobile communication terminal having an embedded system structure, when debugging each program module of the mobile communication terminal, the developer connects a debugging means for debugging to the corresponding terminal to debug. Each of the program modules is executed to identify a bug that is detected.

이때, 상기 디버그 수단은 디버깅 수행으로 인해 검출된 버그 정보를 포함하는 디버그 메시지를 개발자에게 출력하게 되며, 사용자별로 지정하여 디버그 메시지를 출력하거나 버그가 발생되는 모듈별로 지정하여 디버그 메시지를 출력하거나 또는 디버그 메시지가 출력되는 포트를 지정하는 방식으로, 개발자의 요구사항에 따라 선택적으로 디버그 메시지를 출력한다. In this case, the debug means outputs a debug message including the bug information detected by the debugging to the developer, and outputs a debug message by designating for each user or by outputting a debug message by designating for each module where a bug occurs. By specifying the port on which messages are printed, you can optionally output debug messages according to your requirements.

본 발명을 적용하기 위하여 개발자는 디버깅 수행으로 인해 검출된 버그 정보를 포함하는 디버그 메시지의 출력범위를 지정한다(S10).In order to apply the present invention, a developer specifies an output range of a debug message including bug information detected due to debugging (S10).

즉, 상기 디버그 수단은, 도2와 같은 사용자 인터페이스 입력창을 제공하여, 개발자가 사용자별, 모듈별, 포트별로 디버그 메시지의 출력 방식을 지정할 수 있도록 하는데, '사용자 지정' 메뉴는 각 사용자별로 구별하여 디버그 메시지가 출력되도록 하고, '모듈 지정' 메뉴는 네트워크 모듈, 그래픽 모듈, 사용자 인터페이스 모듈 등 단말기 내의 각 프로그램 모듈별로 발생하는 디버그 메시지를 확인할 수 있도록 지정하고, '포트 지정' 메뉴는 직렬 포트, USB 포트 등 디버그 메시지를 출력할 포트를 지정하며, 또한 상기 메뉴 이외에 '설정값 확인' 메뉴를 통해 개발자는 상기 지정한 각 값을 리스트 형태로 확인할 수 있게 된다. That is, the debug means provides a user interface input window as shown in FIG. 2 so that a developer can specify a method of outputting debug messages by user, module, or port, and the 'custom' menu is distinguished for each user. To display debug messages.The 'Specify Module' menu allows you to check debug messages generated by each program module in the terminal such as network module, graphic module, user interface module, etc. Designate a port to output debug messages such as a USB port, and through the 'check setting value' menu in addition to the above menu, the developer can check each designated value in the form of a list.

이때, 상기 사용자 인터페이스 입력창을 통해 지정된 출력범위는 'debug_buf'라는 이름의 변수로 저장된다.
At this time, the output range specified through the user interface input window is stored as a variable named 'debug_buf'.

그 다음, 디버그 수단은 그와 연결된 이동통신 단말기에 대하여 디버깅을 수행하게 되고(S11), 디버깅을 수행하는 중 검출된 버그 정보를 출력하기 위한 디버그 메시지가 발생하면(S12), 상기 지정된 출력범위에 따라 디버그 메시지를 선택적으로 출력한다(S13).Then, the debugging means performs debugging on the mobile communication terminal connected thereto (S11), and when a debug message for outputting the bug information detected during the debugging is generated (S12), the debugging means Optionally output a debug message (S13).

즉, 상기 디버그 수단은 다음의 식(1)과 같이, 'define 문'을 이용하여 디버그 메시지를 출력하기 위한 마스킹(masking) 작업을 수행하여, 개발자의 요구사항에 따라 선택적으로 디버그 메시지를 출력하게 된다. That is, the debug means performs a masking operation for outputting a debug message by using a 'define statement', as shown in Equation (1) below, and selectively outputs a debug message according to a developer's requirement. do.

#define MSG_USER1(LEVEL, MODULE, PORT, ………,"aa, bb, cc…..")#define MSG_USER1 (LEVEL, MODULE, PORT, ………, ”aa, bb, cc… ..”)

if(debug_buf & USER1 & LEVEL & MODULE)  if (debug_buf & USER1 & LEVEL & MODULE)

msg_output(aa, bb, cc…..) (1)   msg_output (aa, bb, cc… ..) (1)

여기서, 상기 식(1)은 디버그 수단에서 실행되는 디버깅을 수행하기 위한 프로그램 내에 삽입될 수 있으며, 'define 문'을 통해 각 사용자별로 모듈, 포트 등의 출력범위로 정의하고, 'if 문'을 통해 출력범위가 저장된 'debug_buf'라는 변수를 읽어 디버그 메시지를 사용자의 요구사항에 따라 각 사용자별 혹은 모듈별 혹은 포트별로 구별하여 출력하게 된다.
In this case, Equation (1) may be inserted into a program for executing debugging executed in a debugging means, and defined as an output range of a module, a port, etc. for each user through a 'define statement', and an 'if statement'. Through reading 'debug_buf' variable which output range is saved, debug message is output by distinguishing each user, module or port according to user's requirement.

이상에서 설명한 바와 같이, 본 발명은 내장형 시스템(Embedded System) 구조를 갖는 이동통신 단말기에 있어서, 다수의 개발자가 상기 이동통신 단말기의 각 모듈에 대해 디버깅(debugging)을 수행하는 경우, 디버깅의 결과로 검출된 버그 정보를 포함하는 디버깅 메시지를 각 개발자별, 모듈별, 포트별로 구분하여 선택적으로 출력함으로써, 개발자의 요구사항에 따라 출력되는 디버그 메시지를 확인할 수 있어 이동통신 단말기의 모듈 개발시 요구되는 디버깅 시간을 단축하는 효과가 있다. As described above, the present invention is a mobile communication terminal having an embedded system structure, when a number of developers debug each module of the mobile communication terminal (debugging), as a result of debugging By selectively outputting debugging messages including the detected bug information by each developer, module, and port, debugging messages output according to the requirements of developers can be checked. It is effective to shorten the time.

Claims (3)

내장형 시스템(Embedded System) 구조를 갖는 이동통신 단말기의 각 모듈에 대해 디버깅(debugging)을 수행하는 방법에 있어서, 개발자로부터 상기 디버깅 수행으로 인해 검출된 버그(bug) 정보를 포함하는 디버그 메시지(debug message)의 출력범위를 지정받는 단계와; 디버깅을 수행하는 중 디버그 메시지가 발생하면, 상기 지정된 출력범위에 따라 디버그 메시지를 선택적으로 출력하는 단계를 포함하는 것을 특징으로 하는 이동통신 단말기의 디버깅시 디버그 메시지 출력 방법.In a method for debugging each module of a mobile communication terminal having an embedded system structure, a debug message including bug information detected by the developer from performing the debugging is provided. Receiving an output range of n); And if a debug message occurs while performing debugging, selectively outputting a debug message according to the specified output range. 제1항에 있어서, 상기 디버그 메시지의 출력범위를 지정받는 단계는, 디버깅 수행에 따라 사용자별, 모듈별, 포트별로 구분하여 디버그 메시지를 출력할 것을 지정받는 것을 특징으로 하는 이동통신 단말기의 디버깅시 디버그 메시지 출력 방법.The debugging of the mobile communication terminal of claim 1, wherein the step of receiving an output range of the debug message is specified to output a debug message by dividing by user, module, and port according to debugging. How to output debug messages. 제1항에 있어서, 상기 지정된 출력범위에 따라 디버그 메시지를 선택적으로 출력하는 단계는, 개발자에 의해 지정된 출력범위를 'debug_buf'라는 변수에 저장한 후 'define 문'을 이용해 마스킹(masking) 작업을 수행하여 디버그 메시지를 출력하는 것을 특징으로 하는 이동통신 단말기의 디버깅시 디버그 메시지 출력 방법.The method of claim 1, wherein the selectively outputting a debug message according to the designated output range comprises: storing the output range specified by the developer in a variable 'debug_buf' and then masking the mask using a 'define statement'. A method of outputting a debug message during debugging of a mobile communication terminal, comprising: outputting a debug message by performing a debug message.
KR1020040105450A 2004-12-14 2004-12-14 Method for outputting debug messages when debugging in a moboile communication terminal KR20060066912A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020040105450A KR20060066912A (en) 2004-12-14 2004-12-14 Method for outputting debug messages when debugging in a moboile communication terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020040105450A KR20060066912A (en) 2004-12-14 2004-12-14 Method for outputting debug messages when debugging in a moboile communication terminal

Publications (1)

Publication Number Publication Date
KR20060066912A true KR20060066912A (en) 2006-06-19

Family

ID=37161578

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020040105450A KR20060066912A (en) 2004-12-14 2004-12-14 Method for outputting debug messages when debugging in a moboile communication terminal

Country Status (1)

Country Link
KR (1) KR20060066912A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014051248A1 (en) * 2012-09-25 2014-04-03 에스케이플래닛 주식회사 System and method for linking debugging messages
CN110299180A (en) * 2019-07-08 2019-10-01 深圳忆联信息系统有限公司 Debugging message output method, device and computer equipment based on solid state hard disk
CN111309542A (en) * 2020-01-20 2020-06-19 广州芯德通信科技股份有限公司 Embedded system debugging module and construction method thereof

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014051248A1 (en) * 2012-09-25 2014-04-03 에스케이플래닛 주식회사 System and method for linking debugging messages
US9720801B2 (en) 2012-09-25 2017-08-01 Sk Planet Co., Ltd. System and method for linking debugging message
CN110299180A (en) * 2019-07-08 2019-10-01 深圳忆联信息系统有限公司 Debugging message output method, device and computer equipment based on solid state hard disk
CN111309542A (en) * 2020-01-20 2020-06-19 广州芯德通信科技股份有限公司 Embedded system debugging module and construction method thereof

Similar Documents

Publication Publication Date Title
CN108182131B (en) Method and device for monitoring application running state, storage medium and electronic equipment
CN109739656B (en) Interface data simulation method and device, storage medium and electronic equipment
CN105302722B (en) CTS automatic testing method and device
CN111506579B (en) Method, program and equipment for generating intelligent contract code
CN105404574B (en) Smart card and mobile terminal consistency test method and device
CN111475390A (en) Log collection system deployment method, device, equipment and storage medium
CN110908704A (en) Method and device for calling cross-platform native function of mobile terminal
CN112541313B (en) Method and device for configuring trigger expression for logic analysis state
CN107704499A (en) A kind of page jump control method and device of application program
CN109271323B (en) Page element processing method and device, test equipment and storage medium
CN111061448A (en) Log information display method and device, electronic equipment and storage medium
CN113836505A (en) Method for rapidly acquiring shell permission of terminal equipment based on android system
CN110851370B (en) Program testing method and device and storage medium
CN107491316B (en) Expansion method and device of baseboard management controller and electronic equipment
KR100952680B1 (en) Platform developing appratus for mobile communication device
KR20060066912A (en) Method for outputting debug messages when debugging in a moboile communication terminal
CN115951868B (en) Method, apparatus and storage medium for executing script command
CN110825489A (en) Application method and device of android simulator and terminal equipment
CN102750167B (en) Application program launching method, device and computer system
CN112290964B (en) Auxiliary installation method and device for user identification card
CN114357351A (en) Component processing method and device and server
CN114217879A (en) Method for breaking limitation of android ghost process during program starting and running
CN113791869A (en) Method for acquiring shell permission of terminal equipment based on android system
CN113434213A (en) Program running method and device of terminal
KR20020092513A (en) Basic Architecture for Software Environment framework in radio terminal and method of the same

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination