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.

classification
Title: MSVC .pdb files not created by python 2.7 distutils
Type: behavior Stage: resolved
Components: Distutils, Windows Versions: Python 3.4, Python 3.5, Python 2.7
process
Status: closed Resolution: duplicate
Dependencies: Superseder: no extension debug info with msvc9compiler.py
View: 4214
Assigned To: tarek Nosy List: BreamoreBoy, eric.araujo, jpe, loewis, tarek, theller
Priority: normal Keywords:

Created on 2010-09-02 15:52 by jpe, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (6)
msg115389 - (view) Author: John Ehresman (jpe) * Date: 2010-09-02 15:52
.pdb files are not created because /pdb:None is set as an option on line 415 of msvc9compiler.py.  Removing the /pdb:None works to write the .pdb file and allow symbols to be loaded in the VS 2008 debugger in the one extension I tried.  Anyone know why /pdb:None was added?
msg115576 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2010-09-04 15:14
See the subversion history. It was added in r14344, which supposedly originated from Thomas Heller, so he should know.

Thomas, what's the reason for suppressing PDB files?
msg222615 - (view) Author: Mark Lawrence (BreamoreBoy) * Date: 2014-07-09 13:18
/pdb:None is still set in msvc9compiler.py.  Does this need changing in this file, or a more modern equivalent, so that symbols can be loaded in the debugger?
msg222632 - (view) Author: Mark Lawrence (BreamoreBoy) * Date: 2014-07-09 19:39
/pdb:None is referenced on #4214.  As there is more detail on that issue I recommend that this is closed.
msg222634 - (view) Author: John Ehresman (jpe) * Date: 2014-07-09 20:02
Are you saying close this as a duplicate?  That would be fine with me.  I still think the /pdb:None should be removed if it hasn't been already.
msg222635 - (view) Author: Mark Lawrence (BreamoreBoy) * Date: 2014-07-09 20:12
Yes, close this as a duplicate.  I'll put up a patch on #4214.
History
Date User Action Args
2022-04-11 14:57:06adminsetgithub: 53954
2014-07-10 10:48:32berker.peksagsetstatus: open -> closed
type: behavior
superseder: no extension debug info with msvc9compiler.py
stage: resolved
2014-07-09 20:13:17jpesetresolution: duplicate
2014-07-09 20:12:17BreamoreBoysetmessages: + msg222635
2014-07-09 20:02:43jpesetmessages: + msg222634
2014-07-09 19:39:51BreamoreBoysetmessages: + msg222632
2014-07-09 13:18:34BreamoreBoysetnosy: + BreamoreBoy

messages: + msg222615
versions: + Python 3.4, Python 3.5, - Python 3.1, Python 3.2
2010-09-04 15:14:24loewissetnosy: + loewis, theller
messages: + msg115576
2010-09-02 18:30:54eric.araujosetnosy: + eric.araujo, tarek

assignee: tarek
components: + Distutils
versions: + Python 3.1, Python 3.2
2010-09-02 15:52:13jpecreate