I sending it on the list as well so everyone are aware of this. I have a gdbinit with some custom actions for python
https://github.com/ficoos/gdb-python-scripts `pystack` to print the python stack. You got to have python-debuginfo for it to work. I would love to get more features is but I don't have time to work on it. Patches are welcome! ----- Original Message ----- > From: "wenchao xia" <xiaxia34...@163.com> > To: "Saggi Mizrahi" <smizr...@redhat.com> > Sent: Monday, April 16, 2012 6:29:08 AM > Subject: [vdsm] gdb for python > > Hi, Saggi, > I am currently working on a thread hanging problem in vdsm, but > when I use gdb to attach the process, no python stack could be > showed. > Adam recommend me asking for your help, could u give me some tips on > how to setup gdb to spy on running python script? > > Best Regards > Wenchao Xia > > _______________________________________________ vdsm-devel mailing list vdsm-devel@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/vdsm-devel