On Feb 28, 2017, at 09:09 AM, Skip Montanaro wrote:

>I haven't tried using Python support in gdb in a long time. I don't
>know what python-gdb.py is. How is that different than
>Tools/gdb/libpython.py? Is it distributed with Python? (I'm kind of
>blind at work without a source distribution I can grep through, and
>didn't see it in Tools/gdb or Misc.)
>
>I'm a simple man. I need the kind of stuff Misc/gdbinit provides
>(smart stack traces and variable printing), but I most frequently use
>the pyo user-defined command to print the contents of PyObject
>pointers. When they are working (<wink>) pystack and pyframe are also
>useful.

I think I'm largely in the same boat as Skip although it's been a while since
I stepped through the C code.  I also had trouble (ages ago) getting the gdb
integration working, so I relied on the simple stuff in gdbinit.  I think
there's still utility in that if we can keep it working.

-Barry
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to