Blackberry Passport

如何取得Core dump檔案


1. SSH登入
2. 執行如下指令:

[BB]$ ulimit -c unlimited

3. 執行Native App
4. 取得Core dump檔案(只能透過SSH命令複製到SDCard)

[BB]$ ls /accounts/1000/appdata/xxx/logs/
  xxx.core

[BB]$ cp xxx.core /sdcard/external_sd/

P.S. 如果該App不是在目前登入的電腦上面製作的話,基本上,使用者是沒有權限進入該App資料夾存取的!

5. 接著就可以複製到電腦分析問題

$ ntoarm-gdb xxx xxx.core


返回上一頁