How much information do pdb files contain? (C# / .NET)

前端 未结 5 1515
暖寄归人
暖寄归人 2020-12-30 02:36

Is is wise to redistribute the pdb files along with a commercial application?

Occasionally, I\'m using the stack trace to get a more detailed error reporting logs fr

5条回答
  •  太阳男子
    2020-12-30 02:42

    The managed .pdb files contain the following information:

    • The names of all local variables
    • The names of all source code files and the mapping from IL instructions onto lines within those files.

    Everything else is contained in the binary itself, including the names of all types, members and function arguments.

    Source: PDB files: what every developer must know.

提交回复
热议问题