(original) (raw)

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