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
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
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'
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
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
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
Thanks!
--
http://mail.python.org/mailman/listinfo/python-list
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