gdbinit and Gdb wrapper objects
Hi I am trying to use python gdb to debug a python process that is hanginig - it is a thread lock situation. I have been trying to use the gdbinit macros to help me in this, but when I attempt to access f->f_nlocals in a PyEval_EvalFrameEx object it informs There is no member named f_nlocals. Consequently pylocals does not work. 1) Does anyone have any idea why this might be happening ? 2) I have been unable to find any documentation (other than the gdbinit macros) about the make up of the Gdb wrapper objects and how to access the information in them. Does anyone know where I might get hold of some ? Cheers Larry Larry Cotton Software Engineer, System Test Broadcom, Cambridge Tel: +44 (0)1223 382835
I am trying to use python gdb to debug a python process that is hanginig - it is a thread lock situation.
Larry, python-dev is a mailing list for the development of Python, not the development with Python. So this question is off-topic.
1) Does anyone have any idea why this might be happening ?
Most likely, you didn't compile Python for debugging.
2) I have been unable to find any documentation (other than the gdbinit macros) about the make up of the Gdb wrapper objects and how to access the information in them. Does anyone know where I might get hold of some ?
I don't even know what a "Gdb wrapper object" is... Regards, Martin
participants (2)
-
"Martin v. Löwis"
-
Larry (Laurence) Cotton