Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: rakeshkool27 on January 11, 2012, 02:55:33 pm

Title: How to use debugger in codeblocks
Post by: rakeshkool27 on January 11, 2012, 02:55:33 pm
Hello everyone,
         Can you help me out by letting me know how to use the debugger in codeblocks? I am totally dumb with the debuggers. Whether GDB is the debugger used in codeblocks?

And also I have a question, can I do all the visual C++ programming for windows in codeblocks itself?

Please clear my doubts.
Thanks ::)
Title: Re: How to use debugger in codeblocks
Post by: oBFusCATed on January 11, 2012, 03:13:55 pm
It depends on the compiler:
1. if you use gcc (mingw), then you have to use gdb.
2. if you use vc++, then you should use cdb, but if you're a beginner I highly advise you to ignore this option.

What Visual C++ programming? MFC? Win32 API? What?
Title: Re: How to use debugger in codeblocks
Post by: rakeshkool27 on January 11, 2012, 03:28:50 pm
The compiler is gcc(mingw). Thats okay but how to use it.
When I use the debug drop down menu,I see the options for debugging inactive. I want to know how to use those menus.

Using VC++ for win32.
Title: Re: How to use debugger in codeblocks
Post by: oBFusCATed on January 11, 2012, 03:40:57 pm
Probably you can start here: http://wiki.codeblocks.org/index.php?title=Debugging_with_Code::Blocks (there you can find the answer for the inactive menu!)