En Fri, 25 Jan 2008 12:28:08 -0200, kj <[EMAIL PROTECTED]> escribi�:
> The one thing I couldn't > find, and would greatly miss if not available, is the ability to > set breakpoints by inserting a particular indication right in the > code. In the Perl debugger one can insert something like the > following anywhere in the code: > > $DB::single = 1; > > When such a line executes, the debugger immediately switches to > single-step mode. It's a very flexible technique, and I like it I think that pdb.set_trace() does what you want. -- Gabriel Genellina -- http://mail.python.org/mailman/listinfo/python-list