CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Apr 2009
    Posts
    1

    Program Breaks while debugging

    What could cause the oposite problem? My project runs correctly in the realease configuration and breaks in the debug configuration when it's used the delete instruction.

    Thank you for all

  2. #2
    Join Date
    Jun 2004
    Location
    Kashmir, India
    Posts
    6,808

    Re: Program Breaks while debugging

    [ Moved from FAQS]

  3. #3
    GCDEF is offline Elite Member Power Poster
    Join Date
    Nov 2003
    Location
    Florida
    Posts
    12,635

    Re: Program Breaks while debugging

    Surely the debugger could provide some insight.

  4. #4
    Lindley is offline Elite Member Power Poster
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    10,895

    Re: Program Breaks while debugging

    The program is most likely broken in both configurations, but the debug configuration's extra checks are catching the problem while it's sliding by unnoticed in the release build, probably to haunt you unexpectedly at a later time.

  5. #5
    GCDEF is offline Elite Member Power Poster
    Join Date
    Nov 2003
    Location
    Florida
    Posts
    12,635

    Re: Program Breaks while debugging

    More than likely it's an ASSERT statement, but the debugger will clear all that up.

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured