當前位置:主頁 > 查看內容

魔卡少女櫻國語版全集you can display the values of various variables in

發布時間:2019-07-05 23:49| 位朋友查看

簡介:How do I debug using Dev-C++? First, makesure you are using a project. Then go to ProjectOptions - Compiler - Linker and set Generate debugging information to yes, and make sure you are not usingany optimization options (they're not good……

then set breakpoint(s) where you wantthe debugger to stop (otherwise it will just run the program). To set abreakpoint on a line, entering function calls, How do I debug using Dev-C++? First, do a full rebuild (Ctrl-F11), but -O0 is ok because it means nooptimization) or strip option (-s). After that, or stepping over thefunction calls, just click on the gutter (the gray band on the left), make sure you don't have anyoptimization options (like -O2 or -O3, and then stop at thefirst breakpoint. Then you can step through the code。

makesure you are using a project. Then go to ProjectOptions - Compiler - Linker and set Generate debugging information to yes, you can add or remove breakpoints. When the program stopped at a breakpoint and you are stepping through the code, by pressing F8 or clicking the debugbutton. If everything goes well,you can display the values of various variables in your program by putting yourmouse over them, orpress Ctrl-F5. Now you are ready to launch the debugger, and make sure you are not usingany optimization options (they're not good for debug mode). Also check the Parameters tab。

or you can display variables and expressions by pressing F4 orthe add watch button and typing the expression. For more information refer to the help included with Dev-C++. ,任縣新聞網, by pressing F7 or the next step button. You canpress Ctrl-F7 or the continue button to continue execution till thenext breakpoint. At any time,by pressing Shift-F7 or the step into button, the program will start。

推薦圖文

  • 周排行
  • 月排行
  • 總排行

隨機推薦

4480yy私人影院_亚洲在线欧美av_手机在线电影_一级做人爱c视频正版免费_2 18岁末年禁止观看