pycharm怎樣調試debUG入門的呢?debug單步調試就是一個很常用的,今日小編帶來的這篇文章就為大伙分享了pycharm調試debug入門技巧,一起來看看吧。
pycharm怎樣調試debug入門?pycharm調試debug入門技巧文章源自四五設計網-http://www.wasochina.com/48423.html
1.打開界面后,導入一個項目文件文章源自四五設計網-http://www.wasochina.com/48423.html
文章源自四五設計網-http://www.wasochina.com/48423.html
2.打開Python文件,在要debug的地方添加一個斷點文章源自四五設計網-http://www.wasochina.com/48423.html
文章源自四五設計網-http://www.wasochina.com/48423.html
3.點擊頂部的Run菜單,選擇debug選項文章源自四五設計網-http://www.wasochina.com/48423.html
文章源自四五設計網-http://www.wasochina.com/48423.html
4.下面我們可以看到當程序運行到debug位置時就會自動停止,并顯示藍條文章源自四五設計網-http://www.wasochina.com/48423.html
文章源自四五設計網-http://www.wasochina.com/48423.html
5.下面即可在底部控制斷點逐步運行,來完成調試文章源自四五設計網-http://www.wasochina.com/48423.html
以上這里為各位分享了pycharm調試debug入門技巧。有需要的朋友趕快來看看本篇文章吧!
我的微信
微信掃一掃

我的微信
惠生活福利社
微信掃一掃

我的公眾號
評論