The main differences are usually:
DEBUG: Simple code that's easy to step through and understand as well as rapid builds
for quick and easy testing. Program usually
outputs constant text information about what is going on.
RELEASE: Super optimized code for performance that takes awhile to compile and can;t
really be debugged or stepped through. No
program outputs. Designed for end users.
You also often set large blocks fo your code to work differently whether in debug or
release.
Now, you could of course just hand tweak the numerous project settings yourself each
time you wished to switch from one mode to the
other, at which point the compiler would also demand a complete rebuild of your entire
project. You can see that process would be
slow, tedious, and prone to mistakes.
Different targets make switching quick in easy, as in - OOPS! an error occurred in my
release test, better switch back to the Debug
target and see what happened.
S KAR wrote:
> Can somebody tell me whats the advantage for creating
> multiple releases. Say one for debug...another for
> release, etc... And what are the differences in these.
> Thanx
> Su
>
> --- Gary Miller <[EMAIL PROTECTED]> wrote:
> > I don't know about the unix tools, but with
> > Codewarrior: Yes and Yes.
> > You may create multiple targets for your project.
> > One might be release. One
> > might be Debug. These targets may be independently
> > configured.
> > If you have a single target (called Starter?) then
> > the application you debug
> > is also the application you distribute.
> >
> > "Matt Mason" <[EMAIL PROTECTED]> wrote in message
> > news:35527@palm-dev-forum...
> > >
> > > Are there two ways to build the .prc? Is the file
> > that gets loaded for a
> > > debug session the same one that should/is normally
> > distributed? How can
> > you
> > > tell the difference?
> > >
> > >
> > >
> > >
> >
> >
> >
> > --
> > For information on using the Palm Developer Forums,
> > or to unsubscribe, please see
> http://www.palmos.com/dev/tech/support/forums/
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Photos - Share your holiday photos online!
> http://photos.yahoo.com/
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe, please see
>http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/