Author Topic: How to use debugger in codeblocks  (Read 4597 times)

Offline rakeshkool27

  • Single posting newcomer
  • *
  • Posts: 2
How to use debugger in codeblocks
« 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 ::)

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: How to use debugger in codeblocks
« Reply #1 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?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline rakeshkool27

  • Single posting newcomer
  • *
  • Posts: 2
Re: How to use debugger in codeblocks
« Reply #2 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.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: How to use debugger in codeblocks
« Reply #3 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!)
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]