Diese Präsentation wurde erfolgreich gemeldet.
Wir verwenden Ihre LinkedIn Profilangaben und Informationen zu Ihren Aktivitäten, um Anzeigen zu personalisieren und Ihnen relevantere Inhalte anzuzeigen. Sie können Ihre Anzeigeneinstellungen jederzeit ändern.
How to use Debugger
20132452 정주홍
Debugger?
• 디버깅을 쉽게 할 수 있도록 도와주는 툴
• 괜찮은 IDE에는 기본적으로 탑재되어 있음
• CUI 기반으로 console에서 개발할 때는 gdb 사용
• 기본적인 기능은 비슷함
Debugger?
• 기본적으로 제공되는 기능
• Break Point
• Step Into
• Step Over
• Step Return
Debugger?
• 기본적으로 제공되는 기능
• Break Point : 중단점 설정(해당 지점까지 진행 가능)
• Step Into : 함수 안으로 진입
• Step Over : 한 줄 실행
• Step Return...
일단 직접 봅시다
화살표가 다음 

라인으로 이동
값 변경
여기서 Step Into(F11)를 하면?
printf 함수 내부로 이동
너무 큰 함수라서 F10으로 넘기기도 힘듦
해결방법
1. 이럴 땐 Step Return으로 함수 빠져나오기를 실행
2. 함수 호출한 곳으로 돌아가서 다음 줄에 브레이크 포인트
호출 스택(스택 프레임)에서 함수를 선택하여
호출한 곳으로 돌아갈 수 있음
값 확인
값 확인
값 변경
값 변경
Break Point Condition
Break Point Condition
Break Point Condition
이런 방식은 코드 변경이 불가피함
Break Point Condition
Break Point Condition
Break Point Condition
Break Point Condition
Break Point Condition
Break Point Condition
Break Point Condition
Break Point Condition
Reference
• http://spoqa.github.io/2012/03/05/eclipse-
debugger.html
• http://www.gamedevforever.com/282
• 내 머리
디버거 소개
디버거 소개
디버거 소개
Nächste SlideShare
Wird geladen in …5
×

디버거 소개

365 Aufrufe

Veröffentlicht am

디버거 사용법

Veröffentlicht in: Software
  • Download or read that Ebooks here ... ......................................................................................................................... DOWNLOAD FULL PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Doc Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... .........................................................................................................................
       Antworten 
    Sind Sie sicher, dass Sie …  Ja  Nein
    Ihre Nachricht erscheint hier
  • accessibility Books Library allowing access to top content, including thousands of title from favorite author, plus the ability to read or download a huge selection of books for your pc or smartphone within minutes ,Download or read Ebooks here ... ......................................................................................................................... Download FULL PDF EBOOK here { http://bit.ly/2m6jJ5M }
       Antworten 
    Sind Sie sicher, dass Sie …  Ja  Nein
    Ihre Nachricht erscheint hier
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download Full EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ACCESS WEBSITE for All Ebooks ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download doc Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ..................................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, CookeBOOK Crime, eeBOOK Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Antworten 
    Sind Sie sicher, dass Sie …  Ja  Nein
    Ihre Nachricht erscheint hier
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download Full EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ACCESS WEBSITE for All Ebooks ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download doc Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ..................................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, CookeBOOK Crime, eeBOOK Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Antworten 
    Sind Sie sicher, dass Sie …  Ja  Nein
    Ihre Nachricht erscheint hier
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download Full EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ACCESS WEBSITE for All Ebooks ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download doc Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ..................................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, CookeBOOK Crime, eeBOOK Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Antworten 
    Sind Sie sicher, dass Sie …  Ja  Nein
    Ihre Nachricht erscheint hier
  • Gehören Sie zu den Ersten, denen das gefällt!

디버거 소개

  1. 1. How to use Debugger 20132452 정주홍
  2. 2. Debugger? • 디버깅을 쉽게 할 수 있도록 도와주는 툴 • 괜찮은 IDE에는 기본적으로 탑재되어 있음 • CUI 기반으로 console에서 개발할 때는 gdb 사용 • 기본적인 기능은 비슷함
  3. 3. Debugger? • 기본적으로 제공되는 기능 • Break Point • Step Into • Step Over • Step Return
  4. 4. Debugger? • 기본적으로 제공되는 기능 • Break Point : 중단점 설정(해당 지점까지 진행 가능) • Step Into : 함수 안으로 진입 • Step Over : 한 줄 실행 • Step Return : 함수를 빠져나올 때까지 진행
  5. 5. 일단 직접 봅시다
  6. 6. 화살표가 다음 
 라인으로 이동 값 변경
  7. 7. 여기서 Step Into(F11)를 하면?
  8. 8. printf 함수 내부로 이동
  9. 9. 너무 큰 함수라서 F10으로 넘기기도 힘듦
  10. 10. 해결방법 1. 이럴 땐 Step Return으로 함수 빠져나오기를 실행 2. 함수 호출한 곳으로 돌아가서 다음 줄에 브레이크 포인트
  11. 11. 호출 스택(스택 프레임)에서 함수를 선택하여 호출한 곳으로 돌아갈 수 있음
  12. 12. 값 확인
  13. 13. 값 확인
  14. 14. 값 변경
  15. 15. 값 변경
  16. 16. Break Point Condition
  17. 17. Break Point Condition
  18. 18. Break Point Condition 이런 방식은 코드 변경이 불가피함
  19. 19. Break Point Condition
  20. 20. Break Point Condition
  21. 21. Break Point Condition
  22. 22. Break Point Condition
  23. 23. Break Point Condition
  24. 24. Break Point Condition
  25. 25. Break Point Condition
  26. 26. Break Point Condition
  27. 27. Reference • http://spoqa.github.io/2012/03/05/eclipse- debugger.html • http://www.gamedevforever.com/282 • 내 머리

×