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
 
Back
Top