How to debug in Codeblocks?

I just finished coding my program, but ran into a few logical errors. I want to debug the program.

I use Codeblocks, so what do I need to do to view the status and value of each variable as the program continues and go through the program line by line?

Basically, I want to do what you do in Visual Studio - where the value and address of the EVERY variable are displayed as you go line by line.

I also want CodeBlocks to show which row is currently running.

Does anyone know how I can do this?

thanks for the help

+6
source share
2 answers

, .

( ), . , .

+2

xthexder, , , , :

.
( ..) , , . , , , OpenGL/SDL2, , , .

, , .
, ...

, Code :: Blocks:

  • ""
  • " ..."
  • " "
  • ""
  • " [-g]"
0

All Articles