Thread: Debugging

  1. #1
    Registered User
    Join Date
    Jul 2008


    I know I'm going to get shunned at by the whole of the programming community, however I've never succesfully used or relied on a debugger... yes I know shame shame!

    I would like to learn how to use GNU compiler, but when I go to downlaod it I have to compile it! And I'm having absolutly no luck compiling it with DevCpp on Vista... I would like to know if anyone would be willing to help me along with either compiling the debugger, or helping me set it up.

    And possibly learning how to debug...

    I know that there are many many tutorials online that explain how to debug, so I don't expect someone to go and hold my hand, but I would like to know how to compile the debugger, and some basics of how to use it if at all possible... If I sound too newbish just ignore me.

    Thanks in advanced!

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    DevCpp is an IDE which uses MinGW. MinGW is the Windows port of the GNU compiler collection (GCC) and associated tools (binutils). Included is GDB - the debugger.

    When DevCPP was installed, it also installed MinGW. So you already have a working debugger ready to go. DevCPP (as an IDE) has a GUI interface for common debugging tasks - like setting break points and inspecting/changing variables while debugging.

    CodeBlocks ( is another IDE with visual debugging capabilities you may want to try (also uses MinGW).

    Visual C++ Express is also free and contains a fully visual debugger.


  3. #3
    Unregistered User Yarin's Avatar
    Join Date
    Jul 2007
    I used to be a dedicated Dev user, until I discovered VC's debugger! So yeah, you need to switch to VC. VC also has slightly more fancy features than Dev excluding the debugger.
    I just want to use my computer in a productive manner, not learn how to use it. Elysia
    A year spent in artificial intelligence is enough to make one believe in God. Alan Jay Perlis

  4. #4
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell

    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ:

    My website:
    Projects: codeform, xuni, atlantis, nort, etc.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Dev-C++: Problems with Breakpoint Debugging
    By Thileepan_Bala in forum C Programming
    Replies: 1
    Last Post: 01-17-2008, 10:48 AM
  2. Problem in debugging in Eclipse
    By Bargi in forum Linux Programming
    Replies: 1
    Last Post: 08-21-2007, 09:53 AM
  3. Debugging Dev C++
    By tuurb046 in forum Tech Board
    Replies: 10
    Last Post: 08-16-2007, 12:51 PM
  4. Debugging book recommendation
    By dagans in forum Projects and Job Recruitment
    Replies: 1
    Last Post: 09-13-2005, 07:35 PM
  5. debugging directx apps
    By confuted in forum C++ Programming
    Replies: 1
    Last Post: 08-16-2003, 08:56 AM