pdb in 3.0 very buggy (Win XP Home)

A

Aaron Brady

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()
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,043
Latest member
CannalabsCBDReview

Latest Threads

Top