Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"1 frame hidden (try 'help hidden_frames')" not suppressed by hf_unhide #517

Open
kalen-sj opened this issue Mar 21, 2023 · 0 comments
Open
Labels

Comments

@kalen-sj
Copy link

Once upon a time, I could type 'hf_unhide' to make the following hidden frame warning go away.

1 frame hidden (try 'help hidden_frames')

Nowadays, (ipython 8,11.0, pdbpp 0.10.3 and some versions before) this warning appears incessantly; the hf_unhide command is unheeded.

I use breakpoint() to drop into the debugger prompt.

k@t:~$ ipython
Python 3.10.9 | packaged by conda-forge | (main, Feb  2 2023, 20:20:04) [GCC 11.3.0]
Type 'copyright', 'credits' or 'license' for more information
IPython 8.11.0 -- An enhanced Interactive Python. Type '?' for help.

In [1]: %run hf_unhide_bug_demo.py
[17] > /home/k/hf_unhide_bug_demo.py(5)<module>()
-> b = 1
   1 frame hidden (try 'help hidden_frames')
(Pdb++) hf_unhide
(Pdb++) n
[18] > /home/k/hf_unhide_bug_demo.py(6)<module>()
-> c = 2
   1 frame hidden (try 'help hidden_frames')
(Pdb++) n
[18] > /home/k/hf_unhide_bug_demo.py(7)<module>()
-> d = 3
   1 frame hidden (try 'help hidden_frames')
(Pdb++) hf_unhide
(Pdb++) n
[18] > /home/k/hf_unhide_bug_demo.py(8)<module>()
-> e = b/c
   1 frame hidden (try 'help hidden_frames')

$ cat hf_unhide_bug_demo.py

import os

a = 0
breakpoint()
b = 1
c = 2
d = 3
e = b/c
@blueyed blueyed added the bug label Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants