Re: How do i debug in Release mode

From: Carl Muller (carlmuller_at_hotmail.com)
Date: 02/12/04


Date: 12 Feb 2004 03:48:49 -0800


"Sharad Kala" <no.spam_sharadk_ind@yahoo.com> wrote in message news:<c0f0eh$16l359$1@ID-221354.news.uni-berlin.de>...
> "Bhavna Rohra" <bhavnarohra@hotmail.com> wrote in message
> news:254985e3.0402112014.69258dc8@posting.google.com...
> > Hello everyone,
> >
> > Sorry, it might sound easy for everyone but please if someone colud tell
> > me how to debug my MFC application in Release mode.
>
> This is certainly off-topic on this newsgroup.
> <OT>
> Release build itself means that the compiler has created no debugging
> information in the executable.

Still offtopic, but unintentionally misleading info upsets me :-) In
VC++ Debug/Release is just a convention. You can turn debugging on or
off using the Project Settings window. This is useful for tracking
down compiler bugs or subtleties that don't appear when in Debug mode.

The merits/drawbacks of splitting your builds into two versions are
probably not on-topic either alas, since comp.lang.c++ assumes a
perfect compiler and no environmental issues.



Relevant Pages

  • Re: Execution time debug vs. release
    ... debugging features that have been added in VS2005 C++ compiler. ... but when compiled in debug mode takes almost 40 seconds with 100% CPU ... speed with Task Manager showing 0% CPU time. ...
    (microsoft.public.vc.mfc)
  • Re: Issue using encryption in Debug/Release mode ??
    ... we have encrypted files with the DEBUG version of KEM.dll ... invoked in debug mode, introduces code errors. ... Another subtle issue is that it is very easy to set different compiler ...
    (sci.crypt)
  • Re: Debug library crashes when linked with Release build
    ... In debug mode the classes ... compiled the classes memory footprint is smaller thanm in debug mode ... compiler or library implementation. ...
    (microsoft.public.dotnet.languages.vc)
  • Re: .PDB contains less information in RELEASE than in DEBUG?!
    ... only that asserts would be thrown out in debug and some other things. ... > been internally optimized by the compiler and things such as a "line of ... >> project in debug mode and regenerate the error. ... >> how can I force release PDB to behave like debug PDB? ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: debugging in release mode
    ... I have no doubt that it's a problem of mine and not of the compiler. ... I don't really need optimization ... for the sake of memory space or execution speed. ... shows the differences between the default debug mode and the default release ...
    (microsoft.public.vc.mfc)