Is it safe to generate debug info for Release Configuration
Posted on 2002-04-25
My application has included exception handler and call stackwalk() if crashed. To see which line have caused the crash, I do this on the project: in Linker option, I have turned on debug info for Mircosoft Format and in Compiler option, I have set debug info for line numbers only. I would like to know that
a) Is it safe if I distribute my application exe together with the pdb file? Will somebody make use the pdb to hack the app, although with line-numbers only?
b) Will it help if I only distribute exe file without pdb file (but with both of the above options on)? I hope that the options only append link info to the exe and without pdb it is useless. Am I right?