Code:.Blocks debug ?

This is a discussion on Code:.Blocks debug ? within the C++ Programming forums, part of the General Programming Boards category; Does anyone knows how to debug with code::blocks, because i download it yesterday and donīt know how to do it... ...

  1. #1
    Registered User
    Join Date
    Jul 2009
    Posts
    5

    Code:.Blocks debug ?

    Does anyone knows how to debug with code::blocks, because i download it yesterday and donīt know how to do it...
    The opcion for debugging just canīt be selected...
    Thank you for your help...

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,445
    How exactly does it not work? Check for the selected debugger in Settings -> Compiler and debugger -> Global compiler settings -> Toolchain executables, and see if it actually exists.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Registered User
    Join Date
    Jul 2009
    Posts
    5
    i think it existe, because when i went to where you said there was an opcion called debbuger and it had this "gdb.exe" writen in front of it so it must exist i think....
    When i go to debugger in the top of the window there are a bunch of options that canīt be selected, like the option "start", when i click on it nothing happens.. :s

  4. #4
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,445
    Quote Originally Posted by nobita
    i think it existe, because when i went to where you said there was an opcion called debbuger and it had this "gdb.exe" writen in front of it so it must exist i think....
    Then go to the directory specified as the compiler's installation directory and check that there really is a gdb.exe there.

    Quote Originally Posted by nobita
    When i go to debugger in the top of the window there are a bunch of options that canīt be selected, like the option "start", when i click on it nothing happens..
    Do you actually have a project open? The other options may be disabled, but if you do have a project open, you should be able to select the start option.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  5. #5
    Registered User
    Join Date
    Jul 2009
    Posts
    5
    If i create and empty file canīt i run debug???
    does the debug only run when i crete a preoject???

  6. #6
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,445
    Quote Originally Posted by nobita
    If i create and empty file canīt i run debug???
    does the debug only run when i crete a preoject???
    I think so.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  7. #7
    Registered User
    Join Date
    Jul 2009
    Posts
    5
    ah ok... than thank you for your help...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Binary not built with debug info - why?
    By ulillillia in forum C Programming
    Replies: 15
    Last Post: 12-11-2008, 12:37 AM
  2. makefiles - debug & release?
    By cpjust in forum C Programming
    Replies: 6
    Last Post: 10-26-2007, 04:00 PM
  3. Debug --> Exceptions in Visual Studio 2005
    By George2 in forum C# Programming
    Replies: 1
    Last Post: 08-10-2007, 02:12 AM
  4. Results in Debug and Release mode are different
    By jaro in forum C Programming
    Replies: 11
    Last Post: 05-27-2006, 11:08 AM
  5. Ask about Debug Assert Failed
    By ooosawaddee3 in forum C++ Programming
    Replies: 0
    Last Post: 04-24-2002, 11:07 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21