Home > Article > Backend Development > How to debug vc++6.0?
#How to debug vc 6.0?
Debugging method:
1. Open the workspace where you want to debug the code.
#2. Press the shortcut key F5 or click the icon marked on the following picture to enter debugging mode.
3. Open the debugging toolbar. Normally, it will pop up automatically when you press the F5 key. If it does not pop up, right-click on the blank space of the toolbar and the following will pop up. Figure, select debugging, the debugging toolbar will appear.
#4. Next, add the variables you want to monitor data changes in the monitoring window.
5. Press F11 to debug the code statement by statement. If a certain statement is a function and you do not want to enter the function, press F10 to view it step by step. In the code During the debugging process, check the changes in variable values through the monitoring window to determine whether there is a problem with the code.
#6. If you want to jump out of a certain function, press the shortcut key Shift F11, or directly click the button on the debugging toolbar to jump out of the function.
7. If you only want to debug a certain part of the code, you can set breakpoints to debug. The debugging method is as above, just use breakpoints to separate the codes to be debugged. . When setting a breakpoint, place the cursor on the line where you want to set a breakpoint, and press F9 or click the hand-shaped button on the compile minibar.
For more related knowledge, please visit PHP Chinese website! !
The above is the detailed content of How to debug vc++6.0?. For more information, please follow other related articles on the PHP Chinese website!