[Python-Dev] How to debug python crashes

Antoine Pitrou solipsis at pitrou.net
Tue May 14 14:47:59 CEST 2013

Le Tue, 14 May 2013 14:32:27 +0200,
Philippe Fremy <phil at freehackers.org> a écrit :
> Hi,
> I have a reproducable crash on Windows XP with Python 2.7 which I
> would like to investigate. I have Visual Studio 2008 installed and I
> downloaded the pdb files. However I could not find any instructions on
> how to use them and was unsuccessful at getting anything out of it.

You may as well recompile Python in debug mode and then run it under
the Visual Studio debugger. VS 2008 is adequate for building Python 2.7.
See http://docs.python.org/devguide/setup.html#windows-compiling

(that doesn't answer your question about pdb files, it's simply that I
don't know the answer :-))



More information about the Python-Dev mailing list