C++ debugger for python/scintilla?

Ken Seehof kseehof at neuralintegrator.com
Tue Nov 27 06:04:58 CET 2001

Any know how I might go about implementing a C/C++ debugger in python for debugging python extensions?  Is such a project being worked on?

The main features that I need are:
1. place a breakpoint in a python extension source code file
2. invoke a python callback when a breakpoint (or exception) is hit
3. step through extension source code
4. access the symbol table

Is anyone using PyGDB?  Is it what I'm looking for?  At first glance, it appears to be inside-out compared to what I want.  PyGDB apparently is a python script that uses gdb to debug python code, rather than a python module that debugs extensions (in other words, PyGDB set breakpoints in python code, but I want to set breakpoints in C++ code inside extensions). Perhaps I can use gdb.py directly as a module?

It should run on Windoze, Lunux, and popular Unix platforms (anywhere wxPython runs).

Once the functionality is in place, I'd want to wrap it into Scintilla to add python extension debugging capabilities to a custom IDE.

I'm only likely to do this project if it turns out ot be relatively easy, or someone is willing to share the cost of development, or both, otherwise it might stay on the back burner for a long time.  So, does anyone else need this?

- Ken Seehof
kseehof at neuralintegrator.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20011126/3f043d3f/attachment.html>

More information about the Python-list mailing list