pdb in 3.0 very buggy (Win XP Home)

Aaron Brady castironpi at gmail.com
Fri Feb 13 21:45:49 CET 2009


Hi, got a freeze when running 'pdb' in 3.0.

The program executes correctly with the command 'c', but freezes part
way through when running successive 'n' commands.  Platform Windows XP
Home.  Python 3.0 (r30:67507, Dec  3 2008, 20:14:27) [MSC v.1500 32
bit (Intel)] on win32.  The 'list' command was also not working
properly, printing '[EOF]' many places, even when prompted with
arguments for 'first' and 'last'.

/Screen dump:

C:\Documents and Settings\usr\Desktop\working>\programs
\python30\python -m pdb picktest.py

--Return--
> <string>(5)A()->None
(Pdb) c
0
1
2
The program finished and will be restarted
--Return--
> <string>(5)A()->None
(Pdb) n
--Return--
> c:\programs\python30\lib\io.py(757)closed()->False
-> return self.raw.closed
(Pdb) n
--Return--
> c:\programs\python30\lib\io.py(1467)closed()->False
-> return self.buffer.closed
(Pdb) n
--Return--
> c:\programs\python30\lib\encodings\cp437.py(19)encode()->b'0'
-> return codecs.charmap_encode(input,self.errors,encoding_map)[0]
(Pdb) n
--Return--
> c:\programs\python30\lib\io.py(757)closed()->False
-> return self.raw.closed
(Pdb) n
0--Return--
> c:\programs\python30\lib\io.py(1060)write()->1
-> return written
(Pdb) n
--Return--
> c:\programs\python30\lib\io.py(1498)write()->1
-> return length
(Pdb) n
--Return--
> c:\programs\python30\lib\io.py(757)closed()->False
-> return self.raw.closed
(Pdb) n
--Return--
> c:\programs\python30\lib\io.py(1467)closed()->False
-> return self.buffer.closed
(Pdb) n
--Return--
> c:\programs\python30\lib\encodings\cp437.py(19)encode()->b'\n'
-> return codecs.charmap_encode(input,self.errors,encoding_map)[0]
(Pdb) n
--Return--
> c:\programs\python30\lib\io.py(757)closed()->False
-> return self.raw.closed
(Pdb) n

--Return--
> c:\programs\python30\lib\io.py(1060)write()->1
-> return written
(Pdb) n

/Program:

class A:
    def f( self ):
        self.x= 0
        print( self.x )
    def g( self ):
        self.x+= 1
        print( self.x )

a= A()
a.f()
a.g()
a.g()




More information about the Python-list mailing list