Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Bugs
[issue13183] pdb skips frames after hitting a breakpoint and running step
 

Index | Next | Previous | View Flat


report at bugs

May 1, 2012, 11:02 AM


Views: 114
Permalink
[issue13183] pdb skips frames after hitting a breakpoint and running step [In reply to]

Martin v. Löwis <martin [at] v> added the comment:

The test fails on Windows. Whereas on Unix, the two step commands produce this output:

-> print('1')
(Pdb) step
1
--Return--
> /net/pao/export/home/staff/loewis/work/33/bar.py(2)bar()->None
-> print('1')
(Pdb) step
--Return--
> /net/pao/export/home/staff/loewis/work/33/main.py(5)foo()->None
-> bar()
(Pdb) quit

on Windows, they produce this output:

-> print('1')
(Pdb) step
--Call--
> c:\users\martin\33\python\lib\encodings\cp850.py(18)encode()
-> def encode(self, input, final=False):
(Pdb) step
> c:\users\martin\33\python\lib\encodings\cp850.py(19)encode()
-> return codecs.charmap_encode(input,self.errors,encoding_map)[0]
(Pdb) quit

I.e. the stepping enters the print, and breaks in the codec.

Reopening the issue.

----------
nosy: +loewis
status: closed -> open

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue13183>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com

Subject User Time
[issue13183] pdb skips frames after hitting a breakpoint and running step report at bugs Apr 30, 2012, 9:53 AM
    [issue13183] pdb skips frames after hitting a breakpoint and running step report at bugs Apr 30, 2012, 1:00 PM
    [issue13183] pdb skips frames after hitting a breakpoint and running step report at bugs Apr 30, 2012, 7:37 PM
    [issue13183] pdb skips frames after hitting a breakpoint and running step report at bugs Apr 30, 2012, 7:49 PM
    [issue13183] pdb skips frames after hitting a breakpoint and running step report at bugs May 1, 2012, 11:02 AM
    [issue13183] pdb skips frames after hitting a breakpoint and running step report at bugs May 1, 2012, 11:47 AM
    [issue13183] pdb skips frames after hitting a breakpoint and running step report at bugs May 1, 2012, 12:06 PM
    [issue13183] pdb skips frames after hitting a breakpoint and running step report at bugs May 1, 2012, 5:01 PM
    [issue13183] pdb skips frames after hitting a breakpoint and running step report at bugs May 1, 2012, 7:03 PM
    [issue13183] pdb skips frames after hitting a breakpoint and running step report at bugs May 1, 2012, 10:39 PM
    [issue13183] pdb skips frames after hitting a breakpoint and running step report at bugs May 1, 2012, 10:41 PM
    [issue13183] pdb skips frames after hitting a breakpoint and running step report at bugs May 2, 2012, 11:42 AM
    [issue13183] pdb skips frames after hitting a breakpoint and running step report at bugs May 2, 2012, 1:05 PM
    [issue13183] pdb skips frames after hitting a breakpoint and running step report at bugs May 6, 2012, 2:32 AM
    [issue13183] pdb skips frames after hitting a breakpoint and running step report at bugs May 6, 2012, 2:50 AM
    [issue13183] pdb skips frames after hitting a breakpoint and running step report at bugs May 6, 2012, 2:54 AM
    [issue13183] pdb skips frames after hitting a breakpoint and running step report at bugs May 6, 2012, 2:54 AM
    [issue13183] pdb skips frames after hitting a breakpoint and running step report at bugs May 7, 2012, 12:53 PM
    [issue13183] pdb skips frames after hitting a breakpoint and running step report at bugs May 9, 2012, 8:44 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.