Related Solutions codeblocks can not debug

You can not debug the code! ? Uncomfortable. . .

Now give you two common causes of codeblocks not debug and corresponding solutions.

 

One reason:

           When you create a project directory, saving a Chinese path.

The important thing to say three times:

   Remember to save the project directory path can not appear in Chinese! ! !

     Remember to save the project directory path can not appear in Chinese! ! !

          Remember to save the project directory path can not appear in Chinese! ! !

Correct examples are as follows:

 

 

 

 

 

 

 

Cause two:

      Unlike codeblocks comes as vc ++ 6.0 debugger, so to manually add our own gdb32.

 

The following methods gdb32 codeblocks added (as shown):

Click Setting ====> Debugger ...

 

 

 

 Click to change the path, and then find yourself in the directory MinGW installation codeblocks in, to find bin directory, and then find gdb32 in the bin directory and open it.

 Needs to be stressed is that we must find in the installation directory codeblocks of this, or otherwise can not be debugged.

Be sure to look at the installation directory codeblocks

 

Guess you like

Origin www.cnblogs.com/ReturnOfTheKing/p/11470148.html