[Python-Dev] gdbinit problem

Guido van Rossum guido at python.org
Mon Sep 5 16:53:13 CEST 2005


On 9/4/05, Neal Norwitz <nnorwitz at gmail.com> wrote:
> break in gdbinit is apparently does not break a loop, but rather sets
> a break point.  I don't know how to hit the break within lineno with a
> simple test case.  Debugging pychecker with a C extension (matplotlib)
> triggers it.
> 
> The only way I could see to fix it was by setting a continue flag and
> testing it.  Does anyone know a better way to fix this problem?  A
> patch is attached which fixes the problem for me, but I would rather
> check in a better solution if one exists.
> 
> Any ideas?  Or should I just check in the attached patch.

You're probably one of the two users. :-) So don't hesitate. If the
other user disagrees you two can fight it out in CVS. :)

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-Dev mailing list