[記錄Debug 技巧] strace 筆記


一般debug code 常聽到的名稱就是 DBG 或是 老招 printf 看是掛在哪,或是 透過中斷點的方式 逐步去查

那 strace 這套 在 建置 環境時,可以幫助 去查出

執行 rumtime 時

 現在缺少 什麼套件 或是 少什麼library.或是缺少什麼 設定檔之類的 .

透過  strace   xxxx_執行檔




refer:
http://www.thegeekstuff.com/2011/11/strace-examples
http://ottoshare.blogspot.tw/2012/04/blog-post.html



cat /proc/xxxx  節點  debug





留言