Debugger - fails to "continue" with breakpoint set
lie.1296 at gmail.com
Fri Sep 17 18:58:29 CEST 2010
On 09/16/10 03:38, Ed Greenberg wrote:
> I'm pretty new to Python, but I am really enjoying it as an alternative
> to Perl and PHP.
> When I run the debugger [import pdb; pdb.set_trace()] and then do next
> and step, and evaluate variables, etc, when I hit 'c' for continue, we
> go to the end, just fine.
> As soon as I set a breakpoint down the line, [b <line number>] the
> behavior of 'c' changes. Instead of continuing until the breakpoint, or
> until the end, if the breakpoint is hidden by a conditional, the
> debugger starts to treat 'c' as a step (or a next, I'm not sure which.)
> This behavior is repeatable and consistent.
can you write a test script and post its corresponding gdb session that
demonstrates what you meant?
More information about the Python-list