[capi-sig] Python File+Line from GDB?
Adam Olsen
rhamph at gmail.com
Wed Jul 16 18:32:09 CEST 2008
On Wed, Jul 16, 2008 at 8:23 AM, Campbell Barton <ideasman42 at gmail.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
--
Adam Olsen, aka Rhamphoryncus
More information about the capi-sig
mailing list