[Python-Dev] GDB macros in Misc/gdbinit are broken
Skip Montanaro
skip.montanaro at gmail.com
Tue Feb 28 10:09:49 EST 2017
More information about the Python-Dev mailing list
Tue Feb 28 10:09:49 EST 2017
- Previous message (by thread): [Python-Dev] GDB macros in Misc/gdbinit are broken
- Next message (by thread): [Python-Dev] GDB macros in Misc/gdbinit are broken
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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. Skip On Tue, Feb 28, 2017 at 2:33 AM, Victor Stinner <victor.stinner at gmail.com> wrote: > 2017-02-28 3:00 GMT+01:00 Skip Montanaro <skip.montanaro at gmail.com>: >> Alexander> I find them useful. I've never had success with python-gdb.py. > > Alexander, Skip: Oh, which kind of issues do you have with > python-gdb.py? It doesn't work? You are unable to dump some data? > > python-gdb.py doesn't run code to analyze memory, it prevents crashes > when analysing a running process, and it works on core dumps. It has > many features, it works well. I never had major issues with it, and I > enhance it regulary. Recently, I added support for "method-wrapper". > > Victor
- Previous message (by thread): [Python-Dev] GDB macros in Misc/gdbinit are broken
- Next message (by thread): [Python-Dev] GDB macros in Misc/gdbinit are broken
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list