내장형 시스템 오류 수정을 위한 비정지 디버깅 장치 및방법
    1.
    发明授权
    내장형 시스템 오류 수정을 위한 비정지 디버깅 장치 및방법 有权
    用于校正嵌入式系统中的错误的不间断调试装置及其方法

    公开(公告)号:KR100901780B1

    公开(公告)日:2009-06-11

    申请号:KR1020070067987

    申请日:2007-07-06

    CPC classification number: G06F11/3664

    Abstract: 본 발명은 내장형 시스템을 디버깅하기 위한 장치 및 방법에 관한 것으로서,특히 호스트와 타겟으로 이루어진 개발 환경에서 내장형 시스템을 정지시키지 않으며 디버깅을 하기 위한 장치 및 방법에 관한 것이다.
    따라서 본 발명에 따른 내장형 시스템 비정지 디버깅 장치는, 사용자와의 인터페이스를 담당하는 사용자 인터페이스; 및 사용자가 상기 사용자 인터페이스를 통해 비정지 디버깅 관련 명령을 하면 디버깅에 필요한 정보를 저장하고 타겟 시스템으로 제공하는 한편 타겟 시스템의 응용 프로그램의 디버깅 처리 결과를 수신하면 이를 저장하고 상기 사용자 인터페이스를 통하여 사용자에게 나타내는 디버깅 엔진;으로 구성된 호스트 시스템과, 상기 디버깅 엔진에 저장된 디버깅에 필요한 정보를 참조하여 비정지 디버깅을 수행하는 한편 디버깅 처리 결과를 상기 호스트 시스템의 디버깅 엔진으로 제공하는 디버거 스터브로 구성된 타겟 시스템을 포함한다.
    또한 본 발명에 따른 내장형 시스템 오류 수정을 위한 비정지 디버깅 방법은, (a) 호스트 시스템에서, 사용자로부터 비정지 디버깅 명령을 수신하는 단계; (b) 호스트 시스템에서, 상기 수신한 명령을 해석하고 타겟 시스템의 응용 프로그램에서 사용되는 명령어로 변환하는 단계; (c) 호스트 시스템에서 상기 응용 프로그램의 비정지 디버깅을 설정하는 단계; (d) 호스트 시스템에 설정된 비정지 디버깅을 타겟 시스템에서 수행하는 단계; (e) 타겟 시스템에서 비정지 디버깅 결과를 호스트 시스템에 제공하는 단계; 및 (f) 상기 비정지 디버깅의 결과를 재생하는 단계;를 포함한다.
    본 발명에 따른 내장형 시스템 비정지 디버깅 장치 및 방법에 따르면, 시간에 민감한 응용 프로그램과 사용자에게 많은 시간을 요구하는 응용 프로그램에서 사용자의 빈번한 조작 없이도 또한 응용 프로그램을 정지시키지 않으며 내장형 시스템의 응용 프로그램을 용이하게 디버깅을 할 수 있게 한다.
    또한 본 발명에 따르면, 비정지 디버깅을 위한 명령어 및 기타 디버깅에 필요한 정보를 호스트 시스템에 저장하므로, 자원의 제약에 민감한 내장형 시스템의 특성에 부합하게 타겟 시스템에의 부하를 최소화시킨다.
    내장형 시스템, 오류 수정, 비정지 디버깅, 원격 디버깅

    내장형 시스템 오류 수정을 위한 비정지 디버깅 장치 및방법
    2.
    发明公开
    내장형 시스템 오류 수정을 위한 비정지 디버깅 장치 및방법 有权
    用于校正嵌入式系统中的错误的非停止调试装置及其方法

    公开(公告)号:KR1020080052261A

    公开(公告)日:2008-06-11

    申请号:KR1020070067987

    申请日:2007-07-06

    CPC classification number: G06F11/3664

    Abstract: A non-stop debugging apparatus for correcting errors in embedded systems and a method thereof are provided to record the information on application programs at a desired point in time, without the user having to frequently execute operation and stoppage of the application programs in the case of the time-sensitive application programs and the application programs in which it takes the user much time to perform, and to detect the errors in the application programs through a replaying function after the operation of all the application programs is completed. A non-stop debugging method for correcting errors in embedded systems comprises the following several steps. A host system is connected to application programs which are a target of the error-correction, and receives non-stop debugging point setting and releasing instructions from a developer or a tester through a user interface(S410). The instructions received from the user are interpreted by means of a command interpreter of a debugging engine and are converted into commands of a form used in the application programs(S420). The non-stop debugging operation instructions are received through the user interface 13 from the user(S430). The debugging agent interprets the non-stop debugging operation instructions received from the user through the command interpreter and stores corresponding operation contents at the set debugging point in the non-stop debugging information repository(S440) The non-stop debugging point setting and the non-stop debugging operations defined through steps S420 and S440 are actually performed(S450). After the non-stop debugging operations performed in step S450 are completed, a replay processor replays the debugging dump files of the application programs based on the information recorded in the non-stop debugging information repository(S460). The debugging dump files of the replayed application programs are confirmed and the debugging results are analyzed(S470). If it is determined that the application programs have integrity, the debugging is ended(S480), and if it is determined that the application programs have errors, the user corrects the errors(S490) and then, steps S140 to S470 are repeated.

    Abstract translation: 提供了一种用于校正嵌入式系统中的错误的不间断调试装置及其方法,用于在期望的时间点记录应用程序的信息,而不需要频繁地执行应用程序的操作和停止 时间敏感的应用程序和用户花费大量时间执行的应用程序,并且在完成所有应用程序的操作之后通过重播功能来检测应用程序中的错误。 一种用于校正嵌入式系统中的错误的不间断调试方法包括以下几个步骤。 主机系统连接到作为纠错目标的应用程序,并通过用户界面从开发者或测试人员接收不间断的调试点设置和释放指令(S410)。 从用户接收到的指令通过调试引擎的命令解释器来解释,并被转换成在应用程序中使用的形式的命令(S420)。 通过用户界面13从用户接收不间断的调试操作指令(S430)。 调试代理通过命令解释器解释从用户收到的不间断调试操作指令,并在不间断调试信息库中设置调试点存储对应的操作内容(S440)不间断调试点设置和非停止调试信息 实际执行通过步骤S420和S440定义的停止调试操作(S450)。 在步骤S450中执行的不间断的调试操作完成之后,重播处理器基于记录在不间断调试信息库中的信息重放应用程序的调试转储文件(S460)。 重播的应用程序的调试转储文件被确认,调试结果被分析(S470)。 如果确定应用程序具有完整性,则调试结束(S480),并且如果确定应用程序有错误,则用户校正错误(S490),然后重复步骤S140至S470。

Patent Agency Ranking