Program Database files (extension
are included in the ZIP Archive (not the MSI) distribution of
MySQL. These files provide information for debugging your
MySQL installation in the event of a problem.
As of MySQL 5.7.6, the PDB files were moved to a separate file labeled "ZIP Archive Debug Binaries & Test Suite".
The PDB file contains more detailed information about
mysqld and other tools that enables more
detailed trace and dump files to be created. You can use these
with WinDbg or Visual Studio to debug
The older Dr. Watson debugging tool was removed in Microsoft Vista, with WinDbg being a common alternative.
To use WinDbg, either install the full Windows Driver Kit (WDK) or install the standalone version.
files must be an exact match (both version number and MySQL
server edition) or WinDBG will complain while attempting to
load the symbols.
To generate a minidump
under the [mysqld] section in
Restart the MySQL server after making these changes.
Create a directory to store the generated files, such as
Determine the path to your windbg.exe
executable using the Find GUI or from the command line,
dir /s /b windbg.exe -- a
common default is C:\Program Files\Debugging
Tools for Windows (x64)\windbg.exe
windbg.exe giving it the paths
mysqld.dmp, and the source code.
Alternatively, pass in each path from the WinDbg GUI. For
windbg.exe -i "C:\mysql-5.7.8-winx64\bin\"^ -z "C:\mysql-5.7.8-winx64\data\mysqld.dmp"^ -srcpath "E:\ade\mysql_archives\5.7\5.7.8\mysql-5.7.8"^ -y "C:\mysql-5.7.8-winx64\bin;SRV*c:\symbols*http://msdl.microsoft.com/download/symbols"^ -v -n -c "!analyze -vvvvv"
^ character and newline are
removed by the Windows command line processor, so be
sure the spaces remain intact.