构建时的 Unity 5 pdb 文件 - 开发构建已关闭
Unity 5 pdb file on build - Development Build turned off
我在 unity 5 中有这个游戏,当我构建它时,它会生成 2 个不是在 unity 4 中制作的新文件。
player_win_x64.pdb
player_win_x64_s.pdb
unity创建的这些文件有什么作用。
我能找到的关于 pdb 的唯一参考资料位于 Debugging。
如您所知,生成 PDB 文件是为了调试目的。如果您在构建设置中 select "Development Build" ,它们将被生成。然后您将使用它们作为文档 (http://docs.unity3d.com/Manual/windowsstore-debugging.html) 在标题 "Resolving callstack from UnityPlayer.dll".
下说明
请记住,这是一个高级主题,对于 Unity 项目恕我直言,无需担心太多。调试方法在实时应用程序(如游戏)和基于事件的应用程序(如大多数桌面应用程序)之间会有所不同。如果您要深入研究这个主题,您可能需要搜索特定于 Unity 和特定于游戏开发的调试方法。
这里有关于 PDB 文件的详细信息及其重要性,如果您想看一看。但正如我所说,不要太担心它们,因为这是一个非常高级而不是 Unity-development-friendly 的主题。
https://msdn.microsoft.com/en-us/library/ms241903%28v=vs.90%29.aspx
http://www.wintellect.com/devcenter/jrobbins/pdb-files-what-every-developer-must-know
这是保存在PDB文件中的数据(引用自上页)
A native C++ PDB file contains quite a bit of information:
Public, private, and static function addresses
Global variable names and addresses
Parameter and local variable names and offsets where to find them on the stack
Type data consisting of class, structure, and data definitions
Frame Pointer Omission (FPO) data, which is the key to native stack walking on x86
Source file names and their lines
A .NET PDB only contains two pieces of information, the source file names and their lines and the local variable names. All the other information is already in the .NET metadata so there is no need to duplicate the same information in a PDB file.
我在 unity 5 中有这个游戏,当我构建它时,它会生成 2 个不是在 unity 4 中制作的新文件。
player_win_x64.pdb
player_win_x64_s.pdb
unity创建的这些文件有什么作用。
我能找到的关于 pdb 的唯一参考资料位于 Debugging。
如您所知,生成 PDB 文件是为了调试目的。如果您在构建设置中 select "Development Build" ,它们将被生成。然后您将使用它们作为文档 (http://docs.unity3d.com/Manual/windowsstore-debugging.html) 在标题 "Resolving callstack from UnityPlayer.dll".
下说明请记住,这是一个高级主题,对于 Unity 项目恕我直言,无需担心太多。调试方法在实时应用程序(如游戏)和基于事件的应用程序(如大多数桌面应用程序)之间会有所不同。如果您要深入研究这个主题,您可能需要搜索特定于 Unity 和特定于游戏开发的调试方法。
这里有关于 PDB 文件的详细信息及其重要性,如果您想看一看。但正如我所说,不要太担心它们,因为这是一个非常高级而不是 Unity-development-friendly 的主题。
https://msdn.microsoft.com/en-us/library/ms241903%28v=vs.90%29.aspx
http://www.wintellect.com/devcenter/jrobbins/pdb-files-what-every-developer-must-know
这是保存在PDB文件中的数据(引用自上页)
A native C++ PDB file contains quite a bit of information:
Public, private, and static function addresses Global variable names and addresses Parameter and local variable names and offsets where to find them on the stack Type data consisting of class, structure, and data definitions Frame Pointer Omission (FPO) data, which is the key to native stack walking on x86 Source file names and their lines
A .NET PDB only contains two pieces of information, the source file names and their lines and the local variable names. All the other information is already in the .NET metadata so there is no need to duplicate the same information in a PDB file.