Hi,

Am Dienstag, den 22.05.2007, 20:56 +0300 schrieb Marius Gedminas:
> Is there any documentation about how to extract the Python level stack
> trace when you've attached to a Python program at C level with gdb?
> (One of my fantasies (i.e. projects I'll never find the time to work on)
> is adding Python support to sysprof, the whole-system statistical
> profiler for Linux.)

I just contributed an updated version of the gdb macros that allow you to do 
this. 

Look here: 

http://svn.python.org/view/python/trunk/Misc/gdbinit?rev=39492&view=auto

My patch isn't in there yet, see this posting too:

http://thread.gmane.org/gmane.comp.python.devel/88120


Christian

-- 
gocept gmbh & co. kg - forsterstraße 29 - 06112 halle/saale - germany
www.gocept.com - [EMAIL PROTECTED] - phone +49 345 122 9889 7 -
fax +49 345 122 9889 1 - zope and plone consulting and development

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

_______________________________________________
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to