Geoff
Wed Nov 29 10:50:45 CST 2006
A debug build has the optimizations turned off, debug output. A retail
build has optimizations turned on. This his side effects on code size,
stack usage , memory footprint and so on, so behaviour can be very
different at run time.
Scatter you code with OEMWriteDebugString messages in the init path to
get some output on the serial port and don't use kitl yet.
I seem to remember something about automatic variables being zero
initialized in debug builds, but that is probably some stale bit of
information from CE2.10 or thereabouts so don't count it as reliable.
Geoff
--
eg_yskaa@yahoo.com.hk wrote:
> Hi all,
>
> Can anyone please tell what is the difference between a deub build and
> release build? Because I have created multiple XIP region and it can be
> boot up under debug build but not release build. It just hangs in the
> middle after "IOCTL_HAL_POSTINIT" (The last step of boot-up process
> described in
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnce50/html/ce50prev.asp).
> Any comments or debug skill is appreciated. Thanks.
>
> Regards,
> Nicholas
>