projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a6be43
)
Remove n-steps argument for stepping and stepping over
author
Mark Florisson
<markflorisson88@gmail.com>
Sat, 6 Nov 2010 21:05:48 +0000
(22:05 +0100)
committer
Mark Florisson
<markflorisson88@gmail.com>
Sat, 6 Nov 2010 21:05:48 +0000
(22:05 +0100)
Cython/Debugger/libpython.py
patch
|
blob
|
history
diff --git
a/Cython/Debugger/libpython.py
b/Cython/Debugger/libpython.py
index 1880b9af6c331ff01b55bb27a4de6590ab4d4b67..ae73353f7c3b0839067c68771109a40c5a97e788 100644
(file)
--- 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):