Xavier de Gaye <xdeg...@gmail.com> added the comment:

Uploaded pdb_default_2.patch.
This new patch fixes the previous patch that fails to stop at
breakpoints set in nested functions, and extends the previous patch in
allowing breakpoints outside function and method definitions.

> When a breakpoint is set at the line number of a function definition,
> the algorithm used to find the first statement of the function (the
> actual breakpoint) is not robust, so that when another breakpoint is
> also set at this fuction using the function name instead of the line
> number, then this last breakpoint hides the first one.

This is not correct. One should read instead:

    When a breakpoint is set at the first statement of a function and
    another breakpoint is set using the function name, then the first
    breakpoint hides the other one.

This is fixed as well in both patches.

----------
Added file: http://bugs.python.org/file26050/pdb_default_2.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14913>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to