Home  >  Article  >  Backend Development  >  How to debug vc++6.0?

How to debug vc++6.0?

烟雨青岚
烟雨青岚Original
2020-06-24 14:52:167345browse

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.

How to debug vc++6.0?

#2. Press the shortcut key F5 or click the icon marked on the following picture to enter debugging mode.

How to debug vc++6.0?

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.

How to debug vc++6.0?

#4. Next, add the variables you want to monitor data changes in the monitoring window.

How to debug vc++6.0?

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.

How to debug vc++6.0?

#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.

How to debug vc++6.0?

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.

How to debug vc++6.0?

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn