[issue6126] Python 3 pdb: shows internal code, breakpoints don't work

Eric Promislow report at bugs.python.org
Tue Jun 2 19:37:31 CEST 2009


Eric Promislow <ericp at activestate.com> added the comment:

Similar problem with 3.1rc1:

C:\...>c:\Python31rc1\python.exe -m  pdb hello01.py
--Return--
> c:\python31rc1\lib\encodings\cp437.py(19)encode()->b'Hello'
-> return codecs.charmap_encode(input,self.errors,encoding_map)[0]
(Pdb) b 2
*** Blank or comment
(Pdb) b hello01.py:2
Breakpoint 1 at c:\...\hello01.py:2

(Pdb) b
Num Type         Disp Enb   Where
1   breakpoint   keep yes   at c:\...\hello01.py:2
(Pdb) c
Hello
here
bye
The program finished and will be restarted
--Return--
> c:\python31rc1\lib\encodings\cp437.py(19)encode()->b'Hello'
-> return codecs.charmap_encode(input,self.errors,encoding_map)[0]
(Pdb)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6126>
_______________________________________


More information about the Python-bugs-list mailing list