Re: Release & Debug by Dean
Dean
Wed Jul 28 16:19:53 CDT 2004
The difference is in compiler optimizations, and defines that get passed to
the components at build time. Many of the compiler optimizations are
disabled in a debug build, to help identify potential problems. Variable
intialization happens differently. Also, there is a #define (DEBUG) that is
enabled in these builds, and many components activate different code streams
for additional checks. The DEBUGMSG macro is one example of this - it
evaluates to NULL in a retail build but not in a debug build.
The kernel debugger is a separate component entirely. As you said, you can
include the debugger in either a release or a debug build.
--
Dean Ramsier - eMVP
"Sajid" <sajidbms@yahoo.com> wrote in message
news:OlyhTzJdEHA.3212@TK2MSFTNGP12.phx.gbl...
> hi Sujith,
>
> i can do kernel debugging even in 'release image', any reasons ?
> if i enable kernel debugger on release image, even then i can debug on
> kernel.
> still my question remains unanswered...
> are there any more advantage of 'debug image' other than enabling 'debug
> zones' ?
>
> regards
> sajid
>
>
> "Sujith" <sujithss@hotmail.com> wrote in message
> news:uLyhTTJdEHA.3392@tk2msftngp13.phx.gbl...
> >
> > hi,
> >
> > basically if say, debug image is more or less double the size of Release
> > Image.
> > as you said, debug image will contain all the debugging information,
> > so that you can do even the kernel debugging, for that, from the
> > project settings, just select the options accordingly.
> > once you feel that the image is ready to build, you can go for a release
> > build,
> > even you can make you image build for shipment.
> >
> > hope you understood what i mean
> > Regards
> > Sujith
> >
> > "Sajid" <sajidbms@yahoo.com> wrote in message
> > news:Oo3JRKJdEHA.556@tk2msftngp13.phx.gbl...
> > > Hi all,
> > >
> > > Q[1]: What are the differences between 'release image' and 'debug
image'
> ?
> > > Q[2]: How is 'debug image' more helpful than 'release image' ?
> > >
> > > As per my understanding 'debug image' enables the debug zones, is this
> the
> > > only advantage of 'debug image' ?
> > >
> > > regards
> > > sajid
> > >
> > >
> >
> >
>
>