Re: Debugger Confusion

2005-07-16 Thread R Toop
By now, you have probably found an IDE that gives you satisfactory debugging. I think your original problem was trying to use an emacs shell (M-x shell) to run Python interpreter. But the emacs Python mode works a whole better than Python in a dumb terminal. Have you tried the following? -- open P

Re: Debugger Confusion

2005-07-01 Thread Colin J. Williams
Adriaan Renting wrote: > I use the debugger that comes with Eric3, but it is only free for Linux/ > OS X, as it needs PyQt. > asside from setting (conditional) breakpoints, one of it's features is > that it can show you a browsable tree of all your variables. something > like this: > class MyClass

RE: Debugger Confusion

2005-06-30 Thread Adriaan Renting
I use the debugger that comes with Eric3, but it is only free for Linux/ OS X, as it needs PyQt. asside from setting (conditional) breakpoints, one of it's features is that it can show you a browsable tree of all your variables. something like this: class MyClass | L-- string 'username' - 'myuser'

Re: Debugger Confusion

2005-06-29 Thread Christopher Arndt
Rex Eastbourne schrieb: > Also, when I try running pdb in my Emacs shell, I get very weird > behavior: for instance, I'll hit 'h' and enter twenty times with no > output. Then, all of a sudden, twenty output messages will pop up. That may be due to output buffering. Try running your script with "p

Re: Debugger Confusion

2005-06-29 Thread Rex Eastbourne
Also, when I try running pdb in my Emacs shell, I get very weird behavior: for instance, I'll hit 'h' and enter twenty times with no output. Then, all of a sudden, twenty output messages will pop up. -- http://mail.python.org/mailman/listinfo/python-list

Re: Debugger Confusion

2005-06-29 Thread Rex Eastbourne
One thing: is it possible to go through the code within emacs? Doing it on the command line is useful, but it would be very helpful if I could have a little marker within the emacs buffer that showed me where I am. Rex -- http://mail.python.org/mailman/listinfo/python-list

Re: Debugger Confusion

2005-06-29 Thread Rex Eastbourne
Thanks! -- http://mail.python.org/mailman/listinfo/python-list

RE: Debugger Confusion

2005-06-28 Thread Robert Brewer
Rex Eastbourne wrote: > I'm a little confused about which debugging utilities do what, and > which I should use for my Python code. I'd like to be able to step > through my code, insert breakpoints, etc. I haven't been able to do > this yet (I'm using Emacs on Windows). I have seen references to GD