Re: How to use pdb?

2006-07-22 Thread R. Bernstein
[EMAIL PROTECTED] writes: > R. Bernstein wrote: > > Perhaps what you are looking for is: > > python /usr/lib/python2.4/pdb.py Myprogram.py > > I tried this and it did not work. pdb did not load the file so it > could be debugged. lol. Yes, if you are not in the same directory as Myprogram.py

Re: How to use pdb?

2006-07-21 Thread tron . thomas
R. Bernstein wrote: > Perhaps what you are looking for is: > python /usr/lib/python2.4/pdb.py Myprogram.py I tried this and it did not work. pdb did not load the file so it could be debugged. -- http://mail.python.org/mailman/listinfo/python-list

Re: How to use pdb?

2006-07-21 Thread tron . thomas
peter wrote: > I haven't tried to use pdb myself, but this looks fairly helpful ... > > http://www.ferg.org/papers/debugging_in_python.html > > good luck > > Peter That link was indeed helpful. I was finally able to debug the program -- http://mail.python.org/mailman/listinfo/python-list

Re: How to use pdb?

2006-07-21 Thread R. Bernstein
[EMAIL PROTECTED] writes: > I am trying to figure out how to use the pdb module to debug Python > programs, and I'm having difficulties. I am pretty familiar with GDB > which seems to be similar, If you are pretty familiar with gdb, try http://bashdb.sourceforge.net/pydb. It is a great deal mor

Re: How to use pdb?

2006-07-21 Thread peter
I haven't tried to use pdb myself, but this looks fairly helpful ... http://www.ferg.org/papers/debugging_in_python.html good luck Peter -- http://mail.python.org/mailman/listinfo/python-list

How to use pdb?

2006-07-20 Thread tron . thomas
I am trying to figure out how to use the pdb module to debug Python programs, and I'm having difficulties. I am pretty familiar with GDB which seems to be similar, however I cannot even get the Python debugger to break into a program so I can step through it. I wrote a simple program and below is