ipdb
reloading
Our great sponsors
ipdb | reloading | |
---|---|---|
6 | 5 | |
1,812 | 1,043 | |
- | - | |
2.9 | 0.0 | |
9 months ago | about 1 year ago | |
Python | Python | |
BSD 3-clause "New" or "Revised" License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ipdb
-
The new pdbp (Pdb+) Python debugger!
Why not just use Python’s built-in pdb debugger or another existing one like ipdb or pdbpp?
-
Why do people say that Neovim cannot be an IDE?
Unfortunately, I couldn't find any official documentation. But here is a small cheatsheet about it and here is there is github repo.
-
Debugging Python programs without an IDE
Integration of IPython pdb
-
You say “cave dweller debugging”, I say debug logging
One thing I have used is drop into the Python debugger (also ipdb) from within a signal handler. Then I can run a kill, and have it drop into the debugger.
There are some of cute hacks to get a remote debugger which I haven't used in years.
https://github.com/sassoftware/epdb can start and connect to a remote debug instance
https://github.com/gotcha/ipdb
- Debug in VIM
-
Reloadr – Hot code reloading tool for Python
Now tie in some ipdb [1] and you have a pretty sweet setup. Also depending on your serving framework it might also have hot reloading as well, tornado, flask, etc.
[1]https://github.com/gotcha/ipdb
[2] https://www.tornadoweb.org/en/stable/autoreload.html https://werkzeug.palletsprojects.com/en/0.14.x/serving/
reloading
- GitHub - julvo/reloading: Change Python code while it's running without losing state
- Change Python Code While Running Without Losing State
- So you're using a weird language
-
What has been the most difficult thing that you have learned with Python?
the most complicated/interesting thing i figured out was probably the AST manipulation and decorator fuckery required for my rewrite of julvo/reloading
-
Reloadr – Hot code reloading tool for Python
Write a similar thing [1] which can also reload functions from source before every execution but also load loop bodies from source before each iteration. Can be helpful for long running loops like when downloading or training deep learning models.
[1] https://github.com/julvo/reloading
What are some alternatives?
pudb - Full-screen console debugger for Python
jurigged - Hot reloading for Python
pdbpp - pdb++, a drop-in replacement for pdb (the Python debugger)
ipython - Official repository for IPython itself. Other repos in the IPython organization contain things like the website, documentation builds, etc.
flask-debugtoolbar - A toolbar overlay for debugging Flask applications
Revise.jl - Automatically update function definitions in a running Julia session
vimspector - vimspector - A multi-language debugging system for Vim
reloadr - Hot code reloading tool for Python
django-debug-toolbar - A configurable set of panels that display various debug information about the current request/response.
RuntimeCompiledCPlusPlus - Change C++ code at runtime
wdb - An improbable web debugger through WebSockets
PyDev.Debugger - Sources for the debugger used in PyDev, PyCharm and VSCode Python