PDB File -- Needed on End User Machine?

  • Thread starter Thread starter Harry Whitehouse
  • Start date Start date
H

Harry Whitehouse

I understand that the PDB file is for holding debug and link optimization
code, but I'm wondering if I'm distributing my finished application to users
who just have the framework (and not full SDK), if the PDB is necessary or
has any value.

Does anyone know?

TIA

Harry
 
No. Not needed...

it wont even generated if u compile in release mode..

Regards,
NetPointer
 
Harry Whitehouse said:
I understand that the PDB file is for holding debug and link optimization
code, but I'm wondering if I'm distributing my finished application to users
who just have the framework (and not full SDK), if the PDB is necessary or
has any value.

Does anyone know?

Even if you comple in release mode, the PDB will be used to generate line
numbers for stack traces. So if you are willing to live without those
helpful line numbers in your error messages, then don't deploy the PDB.

I might deploy it on servers, perhaps not on clients.

David
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top