• 제목/요약/키워드: Multi-process debugging

검색결과 4건 처리시간 0.018초

리눅스 환경에서의 다중 프로세스 응용에 대한 원격 디버깅 기법 (A Remote Debugging Scheme for Multi-process Applications in Linux Environments)

  • 심현철;강용혁;엄영익
    • 한국정보과학회논문지:컴퓨팅의 실제 및 레터
    • /
    • 제8권6호
    • /
    • pp.630-638
    • /
    • 2002
  • 리눅스 기반의 임베디드 시스템에서 동작하는 응용 프로그램의 디버깅은 타겟 시스템의 제한된 자원으로 인하여 대부분 원격으로 이루어진다. 리눅스 기반의 시스템에서 동작하는 gdb는 원격에서 또는 로컬에서 디버깅 중인 프로세스가 fork 시스템 콜 호출 시 새로이 생성된 프로세스를 디버깅할 수 있도록 지원하지 않는다. 이에 따라, 리눅스 환경에서 동작하는 gdb와 gdbserver를 사용해서 단일 프로세스 구조를 갖는 옹용 프로그램을 원격 또는 로컬 디버깅할 수는 있으나 다중 프로세스 구조의 옹용 프로그램을 원격으로 디버깅할 수는 없다. 또한 로컬에서 gdb를 사용하여 다중 프로세스 구조의 응용 프로그램을 디버깅할 수는 있지만 이를 위해서는 개발자비 부가적인 코딩이 필요하다. 본 논문에서는 리눅스 커널의 변경 없이 라이브러리 래핑(wrapping) 방법을 이용하여 원격 시스템에서 동작하는 다중 프로세스 구조의 응용 프로그램을 gdb와 gdbserver를 사용하여 디버깅하는 방법을 제시한다.

Software Taskset Processing Evaluation Based on a Mixed Debugging Process

  • Kim, U-Jung;Lee, Chong-Hyung
    • Communications for Statistical Applications and Methods
    • /
    • 제19권4호
    • /
    • pp.571-577
    • /
    • 2012
  • Modules that consist of software are respectively coded in the early development phase and the modules are unified as a software. After unification, the software is repeatedly tested with a given taskset (the set of module tasks that are tested simultaneously) until a required performance level is satisfied. In this paper, we expand the one-module software debugging model of Jang and Lee (2011) to a multi-module debugging model and derive the taskset completion probability and the mean of the completed tasksets under the assumption that the processing times of module tasks given in a taskset are mutually dependent.

임베디드 Linux 시스템 기반 프로세스 동시 디버깅을 지원하는 원격 디버거 설계 및 구현 (Design and Implementation of a Remote Debugger for Concurrent Debugging of Multiple Processes based on Embeded Linux System)

  • 심현철;강용혁;엄영익
    • 정보처리학회논문지A
    • /
    • 제10A권4호
    • /
    • pp.305-312
    • /
    • 2003
  • 임베디드 Linux 환경에서 gdb와 gdbserver를 사용하여 현재 디버깅 중인 프로세스로부터 fork 시스템 콜에 의해 생성된 새로운 프로세스를 원격으로 동시에 디버깅할 수는 있으나 이를 위해서 개발자는 부가적인 코딩뿐만 아니라 새로운 프로세스가 생성될 때마다 원격 디버깅을 위해 별도의 gdb 및 gdbserver를 구동 시켜야 하는 등 불필요한 작업을 해야 하므로 효율적인 디버깅 작업을 진행하기 어렵다. 본 논문에서는 Linux 커널의 변경 없이 라이브러리 래핑 방법을 이용하여 원격 시스템에서 동작하는 다중 프로세스들을 동시에 디버깅할 수 있도록 지원하기 위한 mgdb 라이브러리와 mgdbserver를 제안한다. 또한, 파이프를 통하여 데이터를 주고받는 부모-자식 관계의 프로세스들을 원격으로 동시에 디버깅하는 실험을 통하여 본 논문에서 제안한 방법이 기존의 방법보다 더 효율적임을 보인다.

Performance Evaluation of Software Task Processing Based on Markovian Perfect Debugging Model

  • Lee, Chong-Hyung;Jang, Kyu-Beam;Park, Dong-Ho
    • 응용통계연구
    • /
    • 제21권6호
    • /
    • pp.997-1006
    • /
    • 2008
  • This paper proposes a new model by combining an infinite-server queueing model for multi-task processing software system with a perfect debugging model based on Markov process with two types of faults suggested by Lee et al. (2001). We apply this model for module and integration testing in the testing process. Also, we compute several measure, such as the expected number of tasks whose processes can be completed and the task completion probability are investigated under the proposed model.