1. 程式人生 > >pycharm的斷點除錯【轉自https://blog.csdn.net/weixin_39198406/article/details/78873120】

pycharm的斷點除錯【轉自https://blog.csdn.net/weixin_39198406/article/details/78873120】

1. show execution point (F10)
顯示目前專案所有斷點
2. step over (F8)
下一步但僅限於設定斷點的檔案
3. step into (F7)
執行下一行
4. step into my code (Alt+Shift+F7)
執行下一行但忽略libraries(匯入庫的語句)
5. force step into (Alt+Shift+F7)
執行下一行忽略lib和構造物件等
6. step out (Shift+F8)
當單步執行到子函式內時,用step out就可以執行完子函式餘下部分,並返回到上一層函式。
7. run to cursor (Alt+F9)
直接跳到下一個斷點