Debug information?

This is a discussion on Debug information? within the C++ Programming forums, part of the General Programming Boards category; I have downloaded the Insight debugger,but whenver I try to run it on a project,it says that there is no ...

  1. #1
    Student Forever! bookworm's Avatar
    Join Date
    Apr 2003
    Posts
    132

    Post Debug information?

    I have downloaded the Insight debugger,but whenver I try to run it on a project,it says that there is no debugging info present. I use bloodshed Dev 5 and the GNU debugger which is a console app. says the same thing.
    What do I do?

  2. #2
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,831
    With most development systems, you can choose the amount of information you want in the .exe file. With MS VC++ for example, you specify "Release" or "Debug" builds. What selecting the debug build does is loads the .exe with hooks and all kinds of goodies that the debugger can latch onto and do it's job.

    Once you are satisfied with your code, you compile a release version, which takes all of that stuff out and turns the compilers optimiser on, making the code faster and a lot smaller.

    I suspect you are trying to run a debugger against an .exe that has no debugging information in it, hence the message.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  3. #3
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,831
    >>> You forgot to mention,

    Valid point.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 5
    Last Post: 06-01-2009, 07:54 PM
  2. displaying debug information
    By steve1_rm in forum C Programming
    Replies: 10
    Last Post: 02-17-2009, 10:36 AM
  3. Replies: 10
    Last Post: 04-28-2008, 05:45 PM
  4. Going out of scope
    By nickname_changed in forum C++ Programming
    Replies: 9
    Last Post: 10-12-2003, 06:27 PM
  5. Special Allegro Information
    By TechWins in forum Game Programming
    Replies: 12
    Last Post: 08-20-2002, 11:35 PM

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