抓檔:git clone 網址
上傳(commit): git commit “修改內容(自己想打什麼就打什麼)”
看commit log: git log
——————————————————————————————————
用gdb:gcc debugger
先gdb進去debug mode
在裡面只能使用pwd, cd指令
1. 讀檔: file “檔名”
2. 試跑: run
3. 看code: list
list –
4. 設中斷點:break 行數
b 行數
5. 設watch point: watch 參數
6. 程式執行:
逐步執行: n
離開中斷點執行: c