From: Mark Florisson Date: Sat, 6 Nov 2010 21:05:48 +0000 (+0100) Subject: Remove n-steps argument for stepping and stepping over X-Git-Tag: 0.14.beta0~1^2~37 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=efb417b685ae8a9e4f460946d1a33a38840bc5c9;p=cython.git Remove n-steps argument for stepping and stepping over --- diff --git a/Cython/Debugger/libpython.py b/Cython/Debugger/libpython.py index 1880b9af..ae73353f 100644 --- a/Cython/Debugger/libpython.py +++ b/Cython/Debugger/libpython.py @@ -1670,22 +1670,16 @@ class GenericCodeStepper(gdb.Command): return depth def invoke(self, args, from_tty): - if args: - nsteps = int(args) - else: - nsteps = 1 - if self.stepper: gdb_command = 'step' else: gdb_command= 'next' - for nthstep in xrange(nsteps): - self.init_stepping() - while self.next_step(gdb_command): - pass - - self.end_stepping() + self.init_stepping() + while self.next_step(gdb_command): + pass + + self.end_stepping() class PythonCodeStepper(GenericCodeStepper):