ipdb
ipdb copied to clipboard
Skipped hidden frame bug
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:
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.