Georg Brandl ge...@python.org added the comment:
Fixed in r83272 with a slightly different patch. Thanks very much for the
report!
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
Swapnil Talekar swapnil...@gmail.com added the comment:
The problem it seems is actually in the bdb module and not in pdb. The
set_next function sets the current frame as stopframe but it does not
specify the stoplineno. Hence it's always -1. When you do c(ontinue),
set_continue just sets
New submission from Petr Viktorin encu...@gmail.com:
Consider this program:
import pdb
pdb.set_trace()
print (At line 5)
print (At line 6)
print (At line 7)
print (At line 8)
print (At line 9)
When set_trace starts the debugger, I set a breakpoint at line 8. When I
do that, the continue
Petr Viktorin encu...@gmail.com added the comment:
It doesn't matter whether the breakpoint is set from within a function
or not, but only the module-level frame is affected.
import pdb
def test():
print (At line 4)
print (At line 5)
print (At line 6)
print (At line 7)