사용자 도구

사이트 도구


intellij_idea:debug

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

다음 판
이전 판
intellij_idea:debug [2018/12/20 12:54]
kwon37xi 만듦
intellij_idea:debug [2022/02/17 16:11] (현재)
kwon37xi [Debug 모드에서 성능 저하]
줄 2: 줄 2:
   * [[https://www.baeldung.com/intellij-debugging-tricks|IntelliJ Debugging Tricks | Baeldung]]   * [[https://www.baeldung.com/intellij-debugging-tricks|IntelliJ Debugging Tricks | Baeldung]]
  
-====== IntelliJ IDEA Tomcat Remote Debug ======+===== IntelliJ IDEA Tomcat Remote Debug =====
   * [[http://blog.trifork.com/2014/07/14/how-to-remotely-debug-application-running-on-tomcat-from-within-intellij-idea/|How to Remotely Debug Application Running on Tomcat From Within Intellij IDEA « Trifork Blog / Trifork: Enterprise Java, Open Source, software solutions]]   * [[http://blog.trifork.com/2014/07/14/how-to-remotely-debug-application-running-on-tomcat-from-within-intellij-idea/|How to Remotely Debug Application Running on Tomcat From Within Intellij IDEA « Trifork Blog / Trifork: Enterprise Java, Open Source, software solutions]]
  
-===== 서버설정 =====+==== 서버설정 ====
   * Remote 포트 지정 : ''1043''   * Remote 포트 지정 : ''1043''
   * ''CATALINA_OUT''에 다음 옵션을 지정한다.<code sh>   * ''CATALINA_OUT''에 다음 옵션을 지정한다.<code sh>
줄 12: 줄 12:
   * 재시작   * 재시작
  
-===== IntelliJ 설정 =====+==== IntelliJ 설정 ====
   * **Run/Debug Configurations -> Tomcat Server -> Remote**   * **Run/Debug Configurations -> Tomcat Server -> Remote**
   * **Startup/Connection -> Debug** 탭에서   * **Startup/Connection -> Debug** 탭에서
     * Transport : Socket     * Transport : Socket
     * Port : ''1043'' 지정.      * Port : ''1043'' 지정. 
 +
 +===== Debug 모드에서 성능 저하 =====
 +  * **Debug** 모드에서 코드의 Line이 아닌 **메소드 선언부에 Break Point**를 걸면 엄청난 성능 저하가 발생한다.
 +  * 메소드 선언부 Break Point는 피하라.
 +  * [[https://stackoverflow.com/questions/31062069/method-breakpoints-may-dramatically-slow-down-debugging|java - Method breakpoints may dramatically slow down debugging - Stack Overflow]]
 +
intellij_idea/debug.1545278066.txt.gz · 마지막으로 수정됨: 2018/12/20 12:54 저자 kwon37xi