Hi
Please consider the following script:
#!/usr/bin/env python3.6
#pdb_last_frame.py
import pdb
def recursive_function(n=5, output='default print'):
if n > 0:
recursive_function(n - 1)
else:
pdb.set_trace()
print(output)
return
if __name__ == '__main__':
On Fri, May 10, 2013 at 10:58 AM, Michael O'Leary wrote:
> I am working on a project in which the code and data I am working with are
> all on an Amazon EC2 machine. So far I have been ssh'ing to the EC2 machine
> in two terminal windows, running emacs or vi in one of them to view and
> update the
I am working on a project in which the code and data I am working with are
all on an Amazon EC2 machine. So far I have been ssh'ing to the EC2 machine
in two terminal windows, running emacs or vi in one of them to view and
update the code and running the "python -m pdb ..." debugger in the other
on
On Sat, Jan 10, 2009 at 7:37 AM, jadrifter wrote:
> Despite the name I believe Winpdb is platform independent
Yes, it is, it is windows as in GUI not windows as in Microsoft.
Kent
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/l
Despite the name I believe Winpdb is platform independent I haven't
used it myself but I looked into it while following this thread.
http://winpdb.org/
John Purser
On Sat, 2009-01-10 at 12:56 +0100, Michael Bernhard Arp Sørensen wrote:
> It might and I'll keep it in mind.
>
> However, I'm not
It might and I'll keep it in mind.
However, I'm not going to ditch my linux just to get a gui debugger. After
all, I do have WingIDE installed in Linux, but I wanted to be free of the
GUI limitations I have when I code on a host that I connect to through a
minicom on another ssh host. I do that fr
On Fri, Jan 9, 2009 at 7:36 AM, Michael Bernhard Arp Sørensen
wrote:
> I can't use a graphical debugger because i mostly code python over ssh on
> remote servers in my company.
Winpdb opens a socket connection between the debugger and debuggee.
Perhaps it would run over an ssh tunnel...
Kent
__
Hi.
Thanks for the input. Your way of doing it is simpler and possible to use as
an alias in pdb.
I can't use a graphical debugger because i mostly code python over ssh on
remote servers in my company.
Thanks anyway. It was actually helpfull. :-)
/Michael
On Fri, Jan 9, 2009 at 12:38 PM, Kent
On Fri, Jan 9, 2009 at 3:27 AM, Michael Bernhard Arp Sørensen
wrote:
> Hi there.
>
> I've just started using the python debugger and I wonder how I could have
> lived without it earlier.
>
> I just wonder if there is a smarter way to show what all the variables
> contain in any given point in the
Hi there.
I've just started using the python debugger and I wonder how I could have
lived without it earlier.
I just wonder if there is a smarter way to show what all the variables
contain in any given point in the debugger. I'm using this approach:
import sys
f = sys._getframe()
p f.f_locals.it
> I have a small problem with python's debugger.
> I don't know how can I debugg a script through this debugger.
> Can you tell me?
There are several debuggers available on top of the basic pdb module.
If you know the Gnu debugger gdb then pdb is closely modelled
on that. If you don't know gdb
Hi, guys,I have a small problem with python's debugger. I don't know how can I debugg a script through this debugger.Can you tell me?Thank you very much___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
Thanks Alan.
As always, you are very helpful.
Victor
On Mon, 2006-01-16 at 23:35 +, Alan Gauld wrote:
> > I was going through the Python library documentation and I found
> > something I never saw before.
> >
> > $ python -m pdb myscript.py
>
> I was just about to suggest loading pdb...
>
> I was going through the Python library documentation and I found
> something I never saw before.
>
> $ python -m pdb myscript.py
I was just about to suggest loading pdb...
And of course there is also a graphical debugger in IDLE as
well as PythonWin.
The paper version of my book contains a c
Hi again,
I was going through the Python library documentation and I found
something I never saw before.
$ python -m pdb myscript.py
This is what I was looking for! Great help.
Any further reference could of course help a lot. I never was able to
get the hang of it until now.
Victor
On Mon,
Hi to all,
I tried to look for a reference to this issue in the ASPN archive, but I
can't seem to find an answer.
I currently work under Linux and have never been able to properly use
the Python debugger. Coming from a Perl background, I fail to find a
similar simple way to step through my code t
Great recommendation, thanks.-MHOn May 18, 2005, at 8:12 PM, Lee Cullens wrote:Mike,You may not be looking for a commercial IDE, but I am very happy with WingIDE and using it with Tiger.Lee COn May 18, 2005, at 6:54 PM, Mike Hall wrote: I should of specified that I'm looking for an IDE with fullde
> Subject:
> Re: [Tutor] Python debugger under Tiger?
> From:
> Mike Hall <[EMAIL PROTECTED]>
> Date:
> Wed, 18 May 2005 15:54:18 -0700
> To:
> [EMAIL PROTECTED]
>
> To:
> [EMAIL PROTECTED]
> CC:
> tutor@python.org
>
>
> I should of spec
> Does anyone know of a Python debugger that will run under OSX 10.4?
> The Eric debugger was looked at, but it's highly unstable under
> Tiger. Thanks.
pdb should still work.
Alan g
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailm
Mike,
You may not be looking for a commercial IDE, but I am very happy with
WingIDE and using it with Tiger.
Lee C
On May 18, 2005, at 6:54 PM, Mike Hall wrote:
> I should of specified that I'm looking for an IDE with full
> debugging. Basically something like Xcode, but with Python support.
I should of specified that I'm looking for an IDE with full
debugging. Basically something like Xcode, but with Python support.
On May 18, 2005, at 3:10 PM, [EMAIL PROTECTED] wrote:
> Quoting Mike Hall <[EMAIL PROTECTED]>:
>
>
>> Does anyone know of a Python debugger that will run under OSX 10
Quoting Mike Hall <[EMAIL PROTECTED]>:
> Does anyone know of a Python debugger that will run under OSX 10.4?
> The Eric debugger was looked at, but it's highly unstable under
> Tiger. Thanks.
pdb should work :-)
--
John.
___
Tutor maillist - Tutor
Does anyone know of a Python debugger that will run under OSX 10.4? The Eric debugger was looked at, but it's highly unstable under Tiger. Thanks.-MH___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
23 matches
Mail list logo