CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    Join Date
    Sep 2012
    Posts
    6

    does not contain debug information. Press OK to Continue

    i changed my code from release to debug mode. when i try to debug it shows a dialog box that '... does not contain debug information press ok to continue".. can anybody help me..


    thanks...

  2. #2
    Join Date
    Oct 2006
    Location
    Sweden
    Posts
    3,604

    Re: does not contain debug information. Press OK to Continue

    I think you have to provide more information to get help. Easiest is to pack and attach your project. Don't forget to delete all intermediate files (debug/release folders, .suo, .ncb) before packing.
    Debugging is twice as hard as writing the code in the first place.
    Therefore, if you write the code as cleverly as possible, you are, by
    definition, not smart enough to debug it.
    - Brian W. Kernighan

    To enhance your chance's of getting an answer be sure to read
    http://www.codeguru.com/forum/announ...nouncementid=6
    and http://www.codeguru.com/forum/showthread.php?t=366302 before posting

    Refresh your memory on formatting tags here
    http://www.codeguru.com/forum/misc.php?do=bbcode

    Get your free MS compiler here
    http://www.microsoft.com/visualstudio/eng/downloads

  3. #3
    cilu's Avatar
    cilu is offline Moderator/Reviewer/MS MVP Power Poster cilu has a reputation beyond repute (3000+) cilu has a reputation beyond repute (3000+) cilu has a reputation beyond repute (3000+) cilu has a reputation beyond repute (3000+) cilu has a reputation beyond repute (3000+) cilu has a reputation beyond repute (3000+) cilu has a reputation beyond repute (3000+) cilu has a reputation beyond repute (3000+) cilu has a reputation beyond repute (3000+) cilu has a reputation beyond repute (3000+) cilu has a reputation beyond repute (3000+)
    Join Date
    Oct 2002
    Location
    Timisoara, Romania
    Posts
    14,349

    Re: does not contain debug information. Press OK to Continue

    Project Properties > C/C++ > General
    > Debug Information Format = /Zi or /ZI
    Project Properties > Linker > Debugging
    > Generate Debug Info = Yes
    > Generate Program Database File = filepath.pdb
    Marius Bancila
    Home Page
    My CodeGuru articles

    I do not offer technical support via PM or e-mail. Please use vbBulletin codes.

  4. #4
    Join Date
    Sep 2012
    Posts
    6

    Re: does not contain debug information. Press OK to Continue

    many thanks for your suggestions but I think the problem lies elsewhere.

    In fact I was able to compile and link the application without any
    errors.

    My problem is I am getting a message "does not contain debug
    information. Press OK to Continue" when I try to debug the application
    with or without breakpoints.

  5. #5
    Join Date
    Sep 2012
    Posts
    6

    Re: does not contain debug information. Press OK to Continue

    Can anybody tell me the reason for showing this dialog box.. i just started Visual C++ developing and this is my first time using visual C++ 6.0.

  6. #6
    GCDEF is offline Elite Member Power Poster GCDEF has a reputation beyond repute (3000+) GCDEF has a reputation beyond repute (3000+) GCDEF has a reputation beyond repute (3000+) GCDEF has a reputation beyond repute (3000+) GCDEF has a reputation beyond repute (3000+) GCDEF has a reputation beyond repute (3000+) GCDEF has a reputation beyond repute (3000+) GCDEF has a reputation beyond repute (3000+) GCDEF has a reputation beyond repute (3000+) GCDEF has a reputation beyond repute (3000+) GCDEF has a reputation beyond repute (3000+)
    Join Date
    Nov 2003
    Posts
    11,564

    Re: does not contain debug information. Press OK to Continue

    Quote Originally Posted by aswathy krishnan View Post
    Can anybody tell me the reason for showing this dialog box.. i just started Visual C++ developing and this is my first time using visual C++ 6.0.
    There's not much it could be. I doubt many of us are on 6.0 any more so giving you exact steps will be tough, but as cilu pointed out, you likely don't have your build settings correct.

  7. #7
    Join Date
    Sep 2012
    Posts
    6

    Re: does not contain debug information. Press OK to Continue

    ok.. Thank you....

  8. #8
    Join Date
    Oct 2006
    Location
    Sweden
    Posts
    3,604

    Re: does not contain debug information. Press OK to Continue

    Also, un-install the ancient compiler and get yourself a modern one. Things have changed a lot since 1996...
    http://www.microsoft.com/visualstudi...press-products
    Debugging is twice as hard as writing the code in the first place.
    Therefore, if you write the code as cleverly as possible, you are, by
    definition, not smart enough to debug it.
    - Brian W. Kernighan

    To enhance your chance's of getting an answer be sure to read
    http://www.codeguru.com/forum/announ...nouncementid=6
    and http://www.codeguru.com/forum/showthread.php?t=366302 before posting

    Refresh your memory on formatting tags here
    http://www.codeguru.com/forum/misc.php?do=bbcode

    Get your free MS compiler here
    http://www.microsoft.com/visualstudio/eng/downloads

  9. #9
    Arjay's Avatar
    Arjay is offline Moderator / MS MVP Power Poster Arjay has a reputation beyond repute (3000+) Arjay has a reputation beyond repute (3000+) Arjay has a reputation beyond repute (3000+) Arjay has a reputation beyond repute (3000+) Arjay has a reputation beyond repute (3000+) Arjay has a reputation beyond repute (3000+) Arjay has a reputation beyond repute (3000+) Arjay has a reputation beyond repute (3000+) Arjay has a reputation beyond repute (3000+) Arjay has a reputation beyond repute (3000+) Arjay has a reputation beyond repute (3000+)
    Join Date
    Aug 2004
    Posts
    10,339

    Re: does not contain debug information. Press OK to Continue

    Quote Originally Posted by S_M_A View Post
    Also, un-install the ancient compiler and get yourself a modern one. Things have changed a lot since 1996...
    What? You mean VC6 isn't the latest compiler?

+ Reply to Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts



HTML5 Development Center

Click Here to Expand Forum to Full Width