471,321 Members | 1,580 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,321 software developers and data experts.

Why ProjectName.pdb exists in the release dir?

GG
I see ProjectName.pdb for console applications and
ProjectName.vshost.exe for windows application after compiling a release
with C# 2.0.
Is this normal? Why is the debug file needed in a production machine?
Is this going to slow performance?

Thanks

*** Sent via Developersdex http://www.developersdex.com ***
Feb 10 '06 #1
1 1215
<GG> wrote in message news:u1*************@TK2MSFTNGP14.phx.gbl...
I see ProjectName.pdb for console applications and
ProjectName.vshost.exe for windows application after compiling a release
with C# 2.0.
Is this normal? Why is the debug file needed in a production machine?
Is this going to slow performance?


You probably want the pdb even in Release mode. It won't slow anything down
and you'll get better information if an Exception occurs in production.

The only reason that I can think off to not have the pdb in production is if
you have a commercial application and you're worried about someone
decompiling it. The pdb makes that easier.
Feb 16 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by CES | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.