-
Notifications
You must be signed in to change notification settings - Fork 11
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
pdbr vs ipdb #26
Comments
Hi @iloveitaly I haven't checked it before but at least that issue is known. it would be great if pdbr was placed as an alternative. |
I used ipdb for quite some time and I just tried to use pdbr, hoping that I would be able to get some (rich) color when printing various data structures. Still, first thing that I observe is that my I also observed that installing |
Hi, actually there was a problem with a version of ipython but now it is working. I removed the specific version definition now and you can see v0.7.2. For breakpoint, I couldn't reproduce it. Do you have any sample? |
Thanks, I updated both pdbr and ipython and gave it another try, but apparently pdbr did not want to debug. Later I created minimal python test file with just a breakpoint in it and found the culprit:
That is not the first project that is hit by this, it is specific to py311. I think you should enable py311 pipeline as soon as possible, take a look at https://github.com/ansible/ansible-lint/blob/main/.github/workflows/tox.yml#L144 for how to make use of it in GHA. |
It seems that pdbr could use some love because while having an attempt to contribute a py311 change I faces too many other issues. It uses nox which is uncommon, installed it but when I run
Sadly I do not have time to fix all the bugs and look at the history of merged PRs, i see that:
If some of these fixes are restored I would not mind to contribute back few for py311 but for the moment, I am sticking to |
Hi, @ssbarnea thanks for having a look. I fixed the win test problems (it was related pexpect package, I tried winpexpect but it didn't work. So I excluded magic tests for windows,) and added macos tests in the action. Feel free to add your MR. |
one more failed test still exists. It is related to win32 and python3.10. trying to fix it right now |
Are there any features missing from ipdb? This seems like a full replacement for ipdb (which is awesome). If that's the case, hopefully we can get the ipython documentation updated to include this package as an alternative.
The text was updated successfully, but these errors were encountered: