ipdb
ipdb copied to clipboard
TAB completion not working when fiddling with stdout
Hey,
Thanks for the information on the README about using ipdb when fiddling with stdout! That has solved a headache I've had for quite a while, whilst working within a forked repo which fiddles with stdout for logging purposes. I'm now able to use ipdb by running: import ipdb; ipdb.sset_trace(); ipdb.spm()
The arrow keys work correctly now, which they didn't before. However, TAB completion still doesnt work for me in this scenario. When I hit TAB, the cursor moves forward. When I'm not fiddling with stdout, TAB completion works correctly for me.
Any ideas how I could solve this? In case it's helpful, the code which is fiddling with stdout is here:
No idea at first thought. Sorry