使用codeblocks避免不了快捷键:

在调试程序的时候:

  首先在view->toolbar->debugger调出来:快捷方式可以自己看

RUN to Cursor  :F4

单步调试(Next line):F7

可以打断点,执行debugger中start/continue   F8   //执行到断点

stop debugger:shift+F8

 

调试过程中:可以查看变量的值:

  调出watch小窗口->点击Debugger windows按钮中的小三角->勾选住“watches”

相关文章:

  • 2021-06-28
  • 2021-12-04
  • 2021-09-23
  • 2021-12-31
  • 2021-08-04
  • 2021-08-31
  • 2021-11-13
猜你喜欢
  • 2022-01-22
  • 2021-12-23
  • 2021-12-07
  • 2022-01-11
  • 2021-12-06
  • 2022-12-23
相关资源
相似解决方案