[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] PGReloaded example error



On, Fri May 15, 2009, Evan Kroske wrote:

> How do I run it through gdb? I know gdb is the gnu debugger, but its
> documentation says it only works with c, c++, and a couple other languages
> that aren't Python. If you can walk me through the process, I'll use it for
> all the PGReloaded errors I find.
> 
> Here's my configuration:
> Python: 2.5.2 (r252:60911, Oct  5 2008, 19:29:17)
> SDL: 1.2.13-2ubuntu1
> OS: Ubuntu 8.10  (Intrepid Ibex 64-bit Desktop version)

First load Python in gdb, then run the script as argument to it:

    # gdb python
    ...
    (gdb) r mouse.py

Once it crashed. type bt to get a backtrace:

     ...
     (gdb) bt

Regards
Marcus

Attachment: pgpm1nqcA75zY.pgp
Description: PGP signature