This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jbit
Recipients cgrebeld, jbit, lemburg, loewis, lylefile, stutzbach
Date 2010-08-03.22:42:33
SpamBayes Score 2.5122433e-09
Marked as misclassified No
Message-id <1280875355.32.0.59629718464.issue1303434@psf.upfronthosting.co.za>
In-reply-to
Content
Attached is a simple patch against msi.py from the py3k branch. It generates a .zip file containing all the PDB files (minus a select few) in the PCbuild directory. I imagine most people only want python31.pdb, but it is very frustrating when you have a crash without debug information so all distributed executables PDBs are included.
One thing to watch out for is if you have built a debug build and not cleaned the directory it will also include debug PDBs (this could be easily fixed if needed).
I have tested the output by making an MSI package and corresponding zip, installing the MSI on another machine, causing a crash within a python module and pointing the visual studio debugger at the PDB files from the zip. Symbols are shown and source level debugging works if you point visual studio to a corresponding python source tree.
This should make debugging of crashdumps of python modules or programs which embed python much easier for windows developers.
History
Date User Action Args
2010-08-03 22:42:36jbitsetrecipients: + jbit, lemburg, loewis, lylefile, stutzbach, cgrebeld
2010-08-03 22:42:35jbitsetmessageid: <1280875355.32.0.59629718464.issue1303434@psf.upfronthosting.co.za>
2010-08-03 22:42:34jbitlinkissue1303434 messages
2010-08-03 22:42:33jbitcreate