[Zope-dev] Fwd: Re: [Zope] zope2.6.1 debugging

Dieter Maurer dieter@handshake.de
Thu, 24 Apr 2003 21:47:21 +0200


Bakhtiar A Hamid wrote at 2003-4-24 11:00 +0800:
 > ....
 > > Almost surely, your Python is not compiled for debugging.
 > > Then, only global symbos are available for the debugger
 > > and tracebacks are likely to be misleading.
 > >
 > > If possible, recompile your Python in a way that it contains
 > > debugging information and try again.
 > >
 > >
 > 
 > this is probable.  i use python rpm source, and the Makefile has -g (which i 
 > think enables debugging?)

"-g" indeed enables the generation of debugging symbols.

Are you sure, Python was generated with this option?


Dieter