Tuesday, January 18, 2011

[Android] remote debug android process

發現一個不錯的功能可以remote debug android process
連 system_server 也可以debug.
在eclipse中切換到ddms的頁面

最右邊的欄位就是remote debug的 port number
切到 Debug 頁面, 選 "Debug Configuration..."
新增一個 "Remote Java Application" 選項
選擇你的project & 填上 port number 就可以用了

No comments: