[Eclipse] 디버깅 시 중단점 적용 안됨 (Unable to install breakpoint...) Programing 관련


*문제 상황
(이클립스 설치 후 디버깅 테스트 중)
디버그 모드 시 중단점에서 멈추지 않는다.

디버깅 시 아래와 같은 팝업 창도 뜬다.
----------------------------------------------------------------
Unable to install breakpoint in ~
Reason : Absent Line Number Information
----------------------------------------------------------------

*검색 결과

1.컴파일러 옵션 변경
Window --> Preferences --> Java --> Compiler --> Classfile Generation
>> "add line number attributes to generated class file" was checked.
>> I did a clean, recompile.
(체크박스 모두 해제 후 Apply --> 모두 체크후 Apply 요런 답변도 있음)


2. 서버 런타임 환경 JDK→JRE
Window --> preferences --> server --> runtime environments
>>Apache Tomcat -> edit
>>Select a JDK instead of JRE


3.Build.xml 수정
  Build.xml  -->  javc태그  --> debug="true" 추가
Ex)
 <javac  sourpath="" destdir="~" classpathref="~"  debug="true"> .... </javac>


4.Java Build Path 확인
Project --> Properties --> Java Build Path


5.환경변수 확인, 더미코드 추가 등등...




통계 위젯 (화이트)

00
3
58970

날마다 새로운 그림