Build-your-own-debugger (SeleniumBase edition) #1623
Labels
dependencies
This involves updating a dependency file
enhancement
Making things better
SeleniumBase 4
SeleniumBase 4
I've been building my own debugger as an upgrade to
pdb
, calledpdbp
(Pdb+): https://github.com/mdmintz/pdbp. Originally, I tried using https://github.com/pdbpp/pdbpp, but that has bugs, and the maintainer hasn't fixed them yet. My only alternative is to build my own debugger clone if I want all my required fixes in.The good news is that I'm already done. The whole project and upgrade took me less than a day to complete! I'm just testing the parts to make sure everything is good before I include the new Python packages as a SeleniumBase dependency. Here's what was made:
Here's what the main issue was:
pdbpp
has a dependency onfancycompleter
, which has a Windows dependency onpyreadline
(https://github.com/pyreadline/pyreadline), which has this issue: pyreadline/pyreadline#65, which leads to this error:AttributeError: module 'collections' has no attribute 'Callable'
.Here's what I did: I created
pdbp
with a dependency on my own librarytabcompleter
, which has a dependency on the improvedpyreadline3
(https://github.com/pyreadline3/pyreadline3/) instead ofpyreadline
. Then things started working again. As a bonus, I fixed some bugs and improved on default configuration settings.If testing goes well, the new debugger,
pdbp
/ (Pdb+) will be included with SeleniumBase dependencies very soon.The text was updated successfully, but these errors were encountered: