embedded linux ,android

2010年10月27日 星期三

Debug mode on Eclipse 與 logcat 使用

1. 開啟 Eclipse。
2. 按兩下左鍵,設定中斷點。








3.  在 Package Explorer 專案中按右鍵出現選單,選取 Debug as --> 2 Android Application。
4. 接著按右上角,選取Debug,轉換成 debug mode。






接著示範 logcat 的使用:


1. 選取 windows --> show view --> others --> android --> logcat,開啟 logcat。
2.


























3. 在 debug mode 執行此程式





沒有留言:

張貼留言