Re: attaching debugger to runinng python program

2006-07-15 Thread Nebur
You may try winpdb. I find it to be a comfortable debugger that also can attach to running programs. (You need to add a line in your code where the program should stop and wait for the debugger to attach.) I am satisfied with it, but I did not debug a multi theaded app. However, it can handle threa

Re: attaching debugger to runinng python program

2006-07-14 Thread olsongt
alf wrote: > Bill Pursell wrote: > > Now, in another shell, > > % gdb > > (gdb) attach 54321 > > > > Thx for the reply. But I wish to debug the python program, not python > interpreter itself. I haven't used this, but it looks like it's worth a try: http://hapdebugger.sourceforge.net/ -- http:

Re: attaching debugger to runinng python program

2006-07-14 Thread alf
Bill Pursell wrote: > Now, in another shell, > % gdb > (gdb) attach 54321 > Thx for the reply. But I wish to debug the python program, not python interpreter itself. -- http://mail.python.org/mailman/listinfo/python-list

Re: attaching debugger to runinng python program

2006-07-13 Thread Bill Pursell
alf wrote: > Hi, > > I have a two fold question: > -how to attach the debugger to running multi threaded program > -the objective is to find an infinite loop in one of threads which > makes the whole thingy going craze (100%CPU) > > The program itself is not easy, in fact quite hude an

attaching debugger to runinng python program

2006-07-13 Thread alf
Hi, I have a two fold question: -how to attach the debugger to running multi threaded program -the objective is to find an infinite loop in one of threads which makes the whole thingy going craze (100%CPU) The program itself is not easy, in fact quite hude and sometimes it takes