Thread: Debugging

  1. #1
    Registered User
    Join Date
    Jul 2008
    Posts
    58

    Debugging

    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
    Posts
    4,981
    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 (http://www.codeblocks.org/) 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.

    gg

  3. #3
    Unregistered User Yarin's Avatar
    Join Date
    Jul 2007
    Posts
    2,158
    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.

  4. #4
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,057
    dwk

    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: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    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