Re: How to debug python code?
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.python archive

Re: How to debug python code?

From: R. Bernstein <rocky@panix.com>
Date: Fri Mar 31 2006 - 18:08:48 CEST

Dennis Lee Bieber <wlfraed@ix.netcom.com> writes:

> On 30 Mar 2006 21:18:50 -0800, sushant.sirsikar@gmail.com declaimed the
> following in comp.lang.python:
>
> > hi,
> > I am new to Python programming.I am not getting exactly pdb.Can
> > anyone tell me effective way to debug python code?
>
> I think I toyed with pdb back around 1993... Never needed it...
>
> Of course, with so many different languages and debuggers in my
> life, I've never found time to master any but the old VMS debugger
> (which is nothing more than a very complex error handler <G>)

That's one reason why in my bash and GNU make debugger (and in
extending pdb), I've stuck to the gdb command set: the effort that is
spent mastering gdb can be transfered in the GNU Make, Bash, *AND*
Python debuggers.
Received on Sun Apr 30 21:47:38 2006