Bug #53185 Make it possible to install .pdb files with binaries from cmake
Submitted: 27 Apr 2010 7:51 Modified: 10 Dec 2010 7:30
Reporter: Jørgen Austvik Email Updates:
Status: Verified Impact on me:
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S4 (Feature request)
Version:mysql-5.1-telco-7.1 OS:Windows
Assigned to: CPU Architecture:Any

[27 Apr 2010 7:51] Jørgen Austvik
On windows:

When we build "devenv.com /Build RelWithDebInfo", we get the binaries (.exe), and symbol information in .pdb (program database) files.

"devenv.com /Project INSTALL /Build" copies the binaries (*.exe) to the install directory given to cmake, but not the *.pdb files. This makes it difficult to analyze crashes on windows, since we miss the symbol information.

How to repeat:
cscript win/configure.js WITH_NDBCLUSTER_STORAGE_ENGINE WITH_NDB_TEST --without-plugins=archive,blackhole,example,federated
cmake -G "Visual Studio 9 2008" -DERROR_INSERT=1 -DCMAKE_INSTALL_PREFIX=$install_dir_dos
devenv.com MySql.sln /Build RelWithDebInfo
devenv.com MySql.sln /Project INSTALL /Build

Suggested fix:
Make the install project install .pdb files as well as .exe files.
[29 Apr 2010 9:46] Hartmut Holzgraefe
Is this really cluster specific or actually a general Cmake installation problem that affects the main line server, too?