ipdb icon indicating copy to clipboard operation
ipdb copied to clipboard

Skipped hidden frame bug

Open zaid-g opened this issue 3 years ago • 0 comments

ipdb doesn't function properly when processed via the ipython shell. For example, if I try to copy this block of text into ipython

x = 3
import ipdb
ipdb.set_trace()
y = 4
z = 5

and then enter n, it doesn't move on to the next line of code. Instead, it breaks into a weird subroutine and hitting n (next) and doesn't return to the pasted lines of code. See screenshots:

screenshot-ipdb1-2023-09-04T19:56:02 screenshot-ipdb2-2023-09-04T19:55:46

This problem occurs on both ipython 8.15 and 8.14 and python 3.11 (I also tested a few other versions 3.7+, but can't remember specifically which ones, and the problem was there in all of them). The problem happens in both Linux (Ubuntu), Linux (Arch), and Windows 10.

zaid-g avatar Sep 05 '23 02:09 zaid-g