Re: debug build verses release build, one more question


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Re: debug build verses release build, one more question

  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


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


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center