Automotive Software

이클립스 CDT (2020-12R) 디버깅 설정 본문

리눅스/개발환경

이클립스 CDT (2020-12R) 디버깅 설정

AutoSW 2020. 12. 28. 02:15

아래의 절차에 따라 우선 디버그 설정이 필요

  1. Run -> Debug Configuration
  2. C/C++ Application -> Right click -> New Configuration
  3. Project : search for your project in the file system
    • 파일 시스템 상에 위치한 프로젝트 폴더 명시
  4. C/C++ Application : search for the binary file which is compiled and linked already and will be debugged
    • 파일 시스템 상에 위치한 디버깅 대상 실행 이미지 명시
  5. Apply -> Debug

상기 절차를 수행하고 나면 아래와 같이 디버그 모드창에서 해당 설정을 선택 가능

Lunch the Debug mode on Eclipse by pressing the bug icon

아래의 벌래 모양의 아이콘을 클릭하면 해당 설정을 바탕으로 디버깅 모드로 전환

Click "Switch"

모드 변환을 확인하는 창이 팝업되는데 아래의 "Remember my decision" 선택시, 팝업되지 않음