Q. #define에 의한 Test Point 미삽입 현상 해결 방안
#define 에서 정의된 값을 DT+ 가 인식하지 못 하는 현상입니다.
DT+ 프로젝트에서 “DEBUG_” 의 값을 True / False 로 처리할 수 있도록 값을 지정해야 합니다.
사용자가 지정하고자 하는 “DEBUG_” 의 값을 DT+ 프로젝트 setting 에서 입력 후 해당 #if ~ #endif 블록을 enable/disable 처리할 수 있습니다.
DEBUG_ 값이 False 로 지정되지 않은 상황 (If 조건문 test point 삽입)
DEBUG_값을 False 로 지정 (If 조건문 test point 미삽입)
해당 프로젝트 setting 을 지정하는 방법입니다.
File > Project Setting… > Auto insertion setting > Conditional inclusion analysis 에서 Analyze conditional inclusion 을 True 로 변경합니다.
Analyze conditional inclusion 옵션 중 “User-defined Macro: Word”, “User-defined Macro: Line” 에서 사용자 지정 매크로 값을 입력할 수 있습니다.
Project setting 예시
User-defined Macro: Word (DEBUG_=0)
User-defined Macro: Line (False 항목에 DEBUG_ 입력)
User defined 된 헤더 파일 또는 include path 지정이 필요한 헤더 파일의 경우 “Include Path” 에 등록해서 해당 헤더파일 저장 경로를 등록하여 사용자가 정의한 매크로 값을 일괄 적용할 수 있습니다.
아래 옵션으로 include 대상 파일을 제외할 수 있습니다.
“Cancel auto insertion when failed to search the “#include” file ”
False
“Notify the undefined macro”
Continue without notifying a detected point








