DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    jeff Guest

    Re: debug build verses release build, one more question


    Why do we have both debug and release builds?


    "Darrell" <darrell.gowland@ntlworld.com> wrote:
    >
    >"jeff" <jeffreydomain@yahoo.com> wrote:
    >>
    >>Using Visual C++, can someone explain to me the difference
    >>between debug build and release build and what each one is used for?
    >>
    >>Thanks,
    >>Jeff

    >
    >The debug build holds additional information when you use the debugger.

    Basicly
    >you can single step your source code in the debugger. The build release

    removes
    >the additional code and the .exe is smaller.
    >
    >In the release code if the code errors you will not be able to debug your
    >code at source level.
    >
    >I hope this helps.
    >
    >Darrell



  2. #2
    Danny Kalev Guest

    Re: debug build verses release build, one more question

    because you can't debug an application that is built in release mode.
    Note that there are many other differences between the two: debug and
    release builds use different CRT and static libraries, the debug
    executable is unoptimized, and it often has means of detecting memory
    overruns.

    Danny

    jeff wrote:
    >
    > Why do we have both debug and release builds?
    >
    > "Darrell" <darrell.gowland@ntlworld.com> wrote:
    > >
    > >"jeff" <jeffreydomain@yahoo.com> wrote:
    > >>
    > >>Using Visual C++, can someone explain to me the difference
    > >>between debug build and release build and what each one is used for?
    > >>
    > >>Thanks,
    > >>Jeff

    > >
    > >The debug build holds additional information when you use the debugger.

    > Basicly
    > >you can single step your source code in the debugger. The build release

    > removes
    > >the additional code and the .exe is smaller.
    > >
    > >In the release code if the code errors you will not be able to debug your
    > >code at source level.
    > >
    > >I hope this helps.
    > >
    > >Darrell


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
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links