Apparently I've unlearned how to debug with python.
I run bpython3 -i myfile.py
, but when an exception occurs I still don't have access to the program variables, nor I can find any command like gdb
's up
and down
.
I've tried to import pdb
and play around with it, but I didn't manage to obtain much. And it definitely isn't integrated into bpython in any way.
As far as I remember, it was pretty straightforward, like gdb
, but apparently I remember uncorrectly and now I'm clueless. Information online about python debuggers is confused, vague, and I couldn't find anything similar to what I was using before, so I came to ask here: am I missing something obvious?