 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
phimalaya Guest
|
Posted: Tue Jul 18, 2006 7:00 pm Post subject: what to compile before distribution |
|
|
hello, i am building a WAR file for final release. after reading
http://info.borland.com/techpubs/jbuilder/jbuilder9/bajb/debug.html
i learnt that i should turn off generating symbolic debug info before
deployment. now following this page, if i have understood correctly, i will
choose "None" from the "Debug Options". i want to ask, if i turn it off,
will i lose any leverage for debugging after the product is deployed? what
are the pros-and-cons of turning off this option? |
|
| Back to top |
|
 |
Kevin Dean [TeamB] Guest
|
Posted: Mon Jul 24, 2006 12:30 am Post subject: Re: what to compile before distribution |
|
|
phimalaya wrote:
| Quote: | hello, i am building a WAR file for final release. after reading
http://info.borland.com/techpubs/jbuilder/jbuilder9/bajb/debug.html
i learnt that i should turn off generating symbolic debug info before
deployment. now following this page, if i have understood correctly, i
will choose "None" from the "Debug Options". i want to ask, if i turn it
off, will i lose any leverage for debugging after the product is deployed?
what are the pros-and-cons of turning off this option?
|
Personally, I don't turn it off when deploying to production. I'm now
aware of any performance difference (except possibly in loading classes
because the files are larger than they would be without debug
information). I also find the line numbering in exception traces to be
infinitely more useful than they would be without line numbers, so if
you're going to reduce the debugging information at least keep the "line
numbers only" option.
--
Kevin Dean [TeamB]
Dolphin Data Development Ltd.
http://www.datadevelopment.com/
NEW WHITEPAPERS
Team Development with JBuilder and Borland Enterprise Server
Securing Borland Enterprise Server
http://www.datadevelopment.com/papers/index.html
Please see Borland's newsgroup guidelines at
http://info.borland.com/newsgroups/guide.html |
|
| Back to top |
|
 |
phimalaya Guest
|
Posted: Mon Jul 24, 2006 5:17 pm Post subject: Re: what to compile before distribution |
|
|
thanks kevin.
"Kevin Dean [TeamB]" <NkOdSePaAnM (AT) datadevelopment (DOT) com> wrote in message
news:xn0ep2imx5nreh002-kdean (AT) www (DOT) teamb.com...
| Quote: | phimalaya wrote:
hello, i am building a WAR file for final release. after reading
http://info.borland.com/techpubs/jbuilder/jbuilder9/bajb/debug.html
i learnt that i should turn off generating symbolic debug info before
deployment. now following this page, if i have understood correctly, i
will choose "None" from the "Debug Options". i want to ask, if i turn it
off, will i lose any leverage for debugging after the product is deployed?
what are the pros-and-cons of turning off this option?
Personally, I don't turn it off when deploying to production. I'm now
aware of any performance difference (except possibly in loading classes
because the files are larger than they would be without debug
information). I also find the line numbering in exception traces to be
infinitely more useful than they would be without line numbers, so if
you're going to reduce the debugging information at least keep the "line
numbers only" option.
--
Kevin Dean [TeamB]
Dolphin Data Development Ltd.
http://www.datadevelopment.com/
NEW WHITEPAPERS
Team Development with JBuilder and Borland Enterprise Server
Securing Borland Enterprise Server
http://www.datadevelopment.com/papers/index.html
Please see Borland's newsgroup guidelines at
http://info.borland.com/newsgroups/guide.html |
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|