On Wed, Jul 16, 2008 at 8:23 AM, Campbell Barton email@example.com wrote:
Every so often I get a crash in C/C++ code cause by some function python calls. The problem is I want to know what line number+file python called before the crash, at the moment I just do this with print's, but this is tedious.
Annoyingly this crash happens when the python stack is being printed but there have been other situations when I have been debugging and wanted to know the python line number+file and where there was no python error, Any hints?
Misc/gdbinit, pystack command