What does ‘Generate Debug Info’ mean in VB/C#?
The difference between ‘none’ and ‘pdb-only’ only is pretty clear. But what about ‘pdb-only’ and ‘full’?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The compiler will generate a pdb file for you when you build which contains the symbols for your application and can be used by the Visual Studio debugger and external debuggers to find where something went wrong easily.
‘Full’ means that full debugging information will be generated when you build your application, so the code itself will be debuggable which includes the
[DebuggableAttribute]which links the code to the debugging information, e.g. symbols.‘pdb-only’ means that only the pdb debugging information will be generated on build, which will not add the
[DebuggableAttribute]to the compiled code which is used by the JIT compiler to link the code the debugging information.More info can be found here