SlideShare ist ein Scribd-Unternehmen logo
1 von 34
Downloaden Sie, um offline zu lesen
Eclipse
                      Kun-Ta Chuang
Department of Computer Science and Information Engineering
              National Cheng Kung University
Download
• http://www.eclipse.org/downloads/
Install New Software - git
Install New Software - git
Install New Software - git
• Egit
  – http://download.eclipse.org/egit/updates
Install New Software - git
Install New Software - git
Install New Software - git
Install New Software - git
Install New Software - git
Link with JDK
Link with JDK
Link with JDK
New Java Project
New Java Project
New Java Project
New Java Project
New Java Project
New Java Project
New Java Class
New Java Class
Run
• Run
Run
• 當有argument需要提供時
 – Run with Configuration
Run
Run
Debug
• Debug之前,先設幾個breakpoint
Debug
• Debug



• Debug with Configuration




  方式與 Run Configurations相同
Debug
Debug
• Debug 功能鈕


 – Resume
    • 直接繼續Run至下一個Breakpoint,若無下一個則直接完
      成
 – Step Info
    • 執行該行,若有呼叫副程式,則會跳進副程式中繼續執
      行
 – Step Over
    • 執行該行,若有副程式,則直接得到副程式的結果,不
      會進到副程式裡面執行
Debug
• 查看變數當下的內容
Debug
Trace Code
• 在Trace Code時,可以Ctrl + 滑鼠左鍵的方式,
  來尋找宣告變數的地方,或者該class功用為
  何?
Trace Code
Question

Weitere ähnliche Inhalte

Andere mochten auch

335887, Joustra Elske Final Paper
335887, Joustra Elske Final Paper335887, Joustra Elske Final Paper
335887, Joustra Elske Final Paperguest5c2ab1
 
Haa
HaaHaa
Haaxaky
 
Equitable assessment of the practical component of scientific modules
Equitable assessment of the practical component of scientific modulesEquitable assessment of the practical component of scientific modules
Equitable assessment of the practical component of scientific moduleslinioti
 
Research lausanne2011
Research lausanne2011Research lausanne2011
Research lausanne2011ehelfant
 
Lin position paper_on_hunt
Lin position paper_on_huntLin position paper_on_hunt
Lin position paper_on_huntlinioti
 
Encuentro de Jóvenes-Red de jóvenes por el agua Centroamérica
Encuentro de Jóvenes-Red de jóvenes por el agua CentroaméricaEncuentro de Jóvenes-Red de jóvenes por el agua Centroamérica
Encuentro de Jóvenes-Red de jóvenes por el agua CentroaméricaGwp Sudamérica
 

Andere mochten auch (6)

335887, Joustra Elske Final Paper
335887, Joustra Elske Final Paper335887, Joustra Elske Final Paper
335887, Joustra Elske Final Paper
 
Haa
HaaHaa
Haa
 
Equitable assessment of the practical component of scientific modules
Equitable assessment of the practical component of scientific modulesEquitable assessment of the practical component of scientific modules
Equitable assessment of the practical component of scientific modules
 
Research lausanne2011
Research lausanne2011Research lausanne2011
Research lausanne2011
 
Lin position paper_on_hunt
Lin position paper_on_huntLin position paper_on_hunt
Lin position paper_on_hunt
 
Encuentro de Jóvenes-Red de jóvenes por el agua Centroamérica
Encuentro de Jóvenes-Red de jóvenes por el agua CentroaméricaEncuentro de Jóvenes-Red de jóvenes por el agua Centroamérica
Encuentro de Jóvenes-Red de jóvenes por el agua Centroamérica
 

Ähnlich wie Tutorial of eclipse

Foundation of software development 1
Foundation of software development 1Foundation of software development 1
Foundation of software development 1netdbncku
 
使用 Pytest 進行單元測試 (PyCon TW 2021)
使用 Pytest 進行單元測試 (PyCon TW 2021)使用 Pytest 進行單元測試 (PyCon TW 2021)
使用 Pytest 進行單元測試 (PyCon TW 2021)Max Lai
 
Continuous Delivery: automated testing, continuous integration and continuous...
Continuous Delivery: automated testing, continuous integration and continuous...Continuous Delivery: automated testing, continuous integration and continuous...
Continuous Delivery: automated testing, continuous integration and continuous...Jimmy Lai
 
除錯、測試與效能
除錯、測試與效能除錯、測試與效能
除錯、測試與效能Justin Lin
 
12. 除錯、測試與效能
12. 除錯、測試與效能12. 除錯、測試與效能
12. 除錯、測試與效能Justin Lin
 
除錯、測試與效能
除錯、測試與效能除錯、測試與效能
除錯、測試與效能Justin Lin
 
Foundation of software development 2
Foundation of software development 2Foundation of software development 2
Foundation of software development 2netdbncku
 
Continuous integration
Continuous integrationContinuous integration
Continuous integrationnetdbncku
 
Eclipse開發平台快速入門
Eclipse開發平台快速入門Eclipse開發平台快速入門
Eclipse開發平台快速入門Luo Korth
 
Visual Studio Code 快速上手指南
Visual Studio Code 快速上手指南Visual Studio Code 快速上手指南
Visual Studio Code 快速上手指南Shengyou Fan
 
hicloud PaaS 雲創平台 PHP 運行環境介紹
hicloud PaaS 雲創平台 PHP 運行環境介紹hicloud PaaS 雲創平台 PHP 運行環境介紹
hicloud PaaS 雲創平台 PHP 運行環境介紹hicloud-paas
 
PHPUnit slide formal
PHPUnit slide formalPHPUnit slide formal
PHPUnit slide formaljameslabs
 
開發工具與環境建置
開發工具與環境建置開發工具與環境建置
開發工具與環境建置Shengyou Fan
 
持续交付最佳实践——百度技术沙龙201110
持续交付最佳实践——百度技术沙龙201110持续交付最佳实践——百度技术沙龙201110
持续交付最佳实践——百度技术沙龙201110Qiao Liang
 
2014/02: 嵌入式測試驅動開發
2014/02: 嵌入式測試驅動開發2014/02: 嵌入式測試驅動開發
2014/02: 嵌入式測試驅動開發AgileCommunity
 
Legacy code 讀書會 1st (Ch1 - Ch5)
Legacy code 讀書會 1st (Ch1 - Ch5)Legacy code 讀書會 1st (Ch1 - Ch5)
Legacy code 讀書會 1st (Ch1 - Ch5)Fong Liou
 
Continuous Delivery Workshop with Ansible x GitLab CI (5th)
 Continuous Delivery Workshop with Ansible x GitLab CI (5th) Continuous Delivery Workshop with Ansible x GitLab CI (5th)
Continuous Delivery Workshop with Ansible x GitLab CI (5th)Chu-Siang Lai
 
敏捷测试中的工具实现
敏捷测试中的工具实现敏捷测试中的工具实现
敏捷测试中的工具实现drewz lin
 

Ähnlich wie Tutorial of eclipse (20)

Foundation of software development 1
Foundation of software development 1Foundation of software development 1
Foundation of software development 1
 
使用 Pytest 進行單元測試 (PyCon TW 2021)
使用 Pytest 進行單元測試 (PyCon TW 2021)使用 Pytest 進行單元測試 (PyCon TW 2021)
使用 Pytest 進行單元測試 (PyCon TW 2021)
 
Continuous Delivery: automated testing, continuous integration and continuous...
Continuous Delivery: automated testing, continuous integration and continuous...Continuous Delivery: automated testing, continuous integration and continuous...
Continuous Delivery: automated testing, continuous integration and continuous...
 
除錯、測試與效能
除錯、測試與效能除錯、測試與效能
除錯、測試與效能
 
12. 除錯、測試與效能
12. 除錯、測試與效能12. 除錯、測試與效能
12. 除錯、測試與效能
 
除錯、測試與效能
除錯、測試與效能除錯、測試與效能
除錯、測試與效能
 
Foundation of software development 2
Foundation of software development 2Foundation of software development 2
Foundation of software development 2
 
Continuous integration
Continuous integrationContinuous integration
Continuous integration
 
Eclipse開發平台快速入門
Eclipse開發平台快速入門Eclipse開發平台快速入門
Eclipse開發平台快速入門
 
Visual Studio Code 快速上手指南
Visual Studio Code 快速上手指南Visual Studio Code 快速上手指南
Visual Studio Code 快速上手指南
 
Python系列1
Python系列1Python系列1
Python系列1
 
Xpp
XppXpp
Xpp
 
hicloud PaaS 雲創平台 PHP 運行環境介紹
hicloud PaaS 雲創平台 PHP 運行環境介紹hicloud PaaS 雲創平台 PHP 運行環境介紹
hicloud PaaS 雲創平台 PHP 運行環境介紹
 
PHPUnit slide formal
PHPUnit slide formalPHPUnit slide formal
PHPUnit slide formal
 
開發工具與環境建置
開發工具與環境建置開發工具與環境建置
開發工具與環境建置
 
持续交付最佳实践——百度技术沙龙201110
持续交付最佳实践——百度技术沙龙201110持续交付最佳实践——百度技术沙龙201110
持续交付最佳实践——百度技术沙龙201110
 
2014/02: 嵌入式測試驅動開發
2014/02: 嵌入式測試驅動開發2014/02: 嵌入式測試驅動開發
2014/02: 嵌入式測試驅動開發
 
Legacy code 讀書會 1st (Ch1 - Ch5)
Legacy code 讀書會 1st (Ch1 - Ch5)Legacy code 讀書會 1st (Ch1 - Ch5)
Legacy code 讀書會 1st (Ch1 - Ch5)
 
Continuous Delivery Workshop with Ansible x GitLab CI (5th)
 Continuous Delivery Workshop with Ansible x GitLab CI (5th) Continuous Delivery Workshop with Ansible x GitLab CI (5th)
Continuous Delivery Workshop with Ansible x GitLab CI (5th)
 
敏捷测试中的工具实现
敏捷测试中的工具实现敏捷测试中的工具实现
敏捷测试中的工具实现
 

Mehr von netdbncku

Jenkins hand in hand
Jenkins  hand in handJenkins  hand in hand
Jenkins hand in handnetdbncku
 
20121213 qa introduction smileryang
20121213 qa introduction smileryang20121213 qa introduction smileryang
20121213 qa introduction smileryangnetdbncku
 
20121213 foundation of software development 2 2-ktchuang
20121213 foundation of software development 2 2-ktchuang20121213 foundation of software development 2 2-ktchuang
20121213 foundation of software development 2 2-ktchuangnetdbncku
 
Software development lifecycle_release_management
Software development lifecycle_release_managementSoftware development lifecycle_release_management
Software development lifecycle_release_managementnetdbncku
 
2012 11-16 cloud practices-in_trend_micro_2012 - chung-tsai su
2012 11-16 cloud practices-in_trend_micro_2012 - chung-tsai su2012 11-16 cloud practices-in_trend_micro_2012 - chung-tsai su
2012 11-16 cloud practices-in_trend_micro_2012 - chung-tsai sunetdbncku
 
Intoduction of programming contest
Intoduction of programming contestIntoduction of programming contest
Intoduction of programming contestnetdbncku
 
3. java basics
3. java basics3. java basics
3. java basicsnetdbncku
 
2. java introduction
2. java introduction2. java introduction
2. java introductionnetdbncku
 

Mehr von netdbncku (8)

Jenkins hand in hand
Jenkins  hand in handJenkins  hand in hand
Jenkins hand in hand
 
20121213 qa introduction smileryang
20121213 qa introduction smileryang20121213 qa introduction smileryang
20121213 qa introduction smileryang
 
20121213 foundation of software development 2 2-ktchuang
20121213 foundation of software development 2 2-ktchuang20121213 foundation of software development 2 2-ktchuang
20121213 foundation of software development 2 2-ktchuang
 
Software development lifecycle_release_management
Software development lifecycle_release_managementSoftware development lifecycle_release_management
Software development lifecycle_release_management
 
2012 11-16 cloud practices-in_trend_micro_2012 - chung-tsai su
2012 11-16 cloud practices-in_trend_micro_2012 - chung-tsai su2012 11-16 cloud practices-in_trend_micro_2012 - chung-tsai su
2012 11-16 cloud practices-in_trend_micro_2012 - chung-tsai su
 
Intoduction of programming contest
Intoduction of programming contestIntoduction of programming contest
Intoduction of programming contest
 
3. java basics
3. java basics3. java basics
3. java basics
 
2. java introduction
2. java introduction2. java introduction
2. java introduction
 

Tutorial of eclipse