[Python-bugs-list] [ python-Bugs-456738 ] Support for smoother debugging of C exts
noreply@sourceforge.net
noreply@sourceforge.net
Wed, 29 Aug 2001 19:42:25 -0700
Bugs item #456738, was opened at 2001-08-29 19:42
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=456738&group_id=5470
Category: Python Interpreter Core
Group: Feature Request
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Support for smoother debugging of C exts
Initial Comment:
With every new Python release, the first thing that I
do is modify Modules/main.c to add an empty function
called
void Py_DebugTrap(void) { return; }
The purpose of this function is to give me a handy
place to set a breakpoint so that I can debug my C/C++
extension modules.
It occured to me that this handy trick might be more
generally useful and worthy of inclusion in the
standard distributions.
Thoughts?
-- Michael Aivazis (aivazis@caltech.edu)
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=456738&group_id=5470