《CPython Internals》閱讀筆記:p336-p352
《CPython Internals》學(xué)習(xí)第 17天,p336-p352 總結(jié),總計(jì) 17 頁。
一、技術(shù)總結(jié)
1.GDB
GDB 是 GNU Dbugger 的縮寫。
(1)安裝
sudo apt install gdb
(2)創(chuàng)建 .gdbinit 文件
touch ~/.gdbinit
vim ~/.gdbinit
(3)配置 .gdbinit 文件
add-auto-load-safe-path /project/cpython
注:1./project/cpython 為 cpython 所在的目錄。
(4)設(shè)置斷點(diǎn)
使用 b : 命令,示例:
(gdb) b Objects/floatobject.c:532
GDB的使用可以參考書籍《Debugging with GDB》或者在線手冊(cè)。
二、英語總結(jié)(生詞:2)
無。
關(guān)于英語的注解同步更新匯總到 https://github.com/codists/English-In-CS-Books 倉庫。
三、其它
Debugging章節(jié)簡(jiǎn)評(píng):介紹debugging,總體而言介紹比較簡(jiǎn)單。
四、參考資料
1. 編程
(1) Anthony Shaw,《CPython Internals》:https://book.douban.com/subject/35405785/
2. 英語
(1) Etymology Dictionary:https://www.etymonline.com
(2) Cambridge Dictionary:https://dictionary.cambridge.org

歡迎搜索及關(guān)注:編程人(a_codists)
浙公網(wǎng)安備 33010602011771號(hào)