1. 程式人生 > >Windows應用程式除錯必備的--符號檔案(Symbols)

Windows應用程式除錯必備的--符號檔案(Symbols)

Two different builds of each NT-based operating system exist:
The free build (or retail build) of Windows is the end-user version of the operating system. The system and drivers are built with full optimization, debugging asserts are disabled, and debugging information is stripped from the binaries. A free system and driver are smaller and faster, and it uses less memory.
The checked build (or debug build) of Windows serves as a testing and debugging aid in the developing of the operating system and kernel-mode drivers. The checked build contains extra error checking, argument verification, and debugging information that is not available in the free build. A checked system or driver can help isolate and track down driver problems that can cause unpredictable behavior, result in memory leaks, or result in improper device configuration.
Although the checked build provides extra protection, it consumes more memory and disk space than the free build. System and driver performance is slower for the following reasons:
The executables contain symbolic debugging information.
Additional code paths are executed due to parameter checking and output of diagnostic messages for debugging purposes.