使用codeblocks避免不了快捷鍵:
在調試程序的時候:
首先在view->toolbar->debugger調出來:快捷方式可以自己看
RUN to Cursor :F4
單步調試(Next line):F7
可以打斷點,執行debugger中start/continue F8 //執行到斷點
stop debugger:shift+F8
調試過程中:可以查看變量的值:
調出watch小窗口->點擊Debugger windows按鈕中的小三角->勾選住“watches”