grub2-theme-preview
watchpoints
grub2-theme-preview | watchpoints | |
---|---|---|
1 | 7 | |
307 | 462 | |
- | - | |
8.5 | 1.5 | |
10 days ago | about 1 year ago | |
Python | Python | |
- | Apache License 2.0 |
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.
grub2-theme-preview
-
What are some cool things I can do with Linux that you can't with windows?
For grub theming, I used this (and then added some customisation of my own). And I used this to preview it.
watchpoints
-
What a good debugger can do
It's sad that Python does not really support some of these debugging methods.
E.g. you cannot really watch variable changes. There are some workarounds, like writing a custom __setattr__ or __setattribute__ in case of an object, or checking all STORE_* operations. https://youtrack.jetbrains.com/issue/PY-30387 https://github.com/gaogaotiantian/watchpoints
Reverse debugging is also sth I would like to have, and there are a few projects to support this, but it's not really well supported in standard CPython. https://foss.heptapod.net/pypy/revdb https://pytrace.com/
-
Is there a tool to run code and AFTER that look at execution step by step.
There is also the watchpoints module to track changes to variables, but I don't think you can use the two of them together since they both use the same underlying callback in Python.
- Watchpoints - an easy-to-use, intuitive variable/object monitor tool for Python that behaves similar to watchpoints in gdb.
-
Show HN: Watchpoints, an easy to use watchpoints equivalent library for Python
It uses Python's built-in inspect module to get the caller frame. https://github.com/gaogaotiantian/watchpoints/blob/68bc13716...
It then uses sys.settrace (which is intended as an interface for debuggers) to step through the code and check whether the variable has been changed. Documentation on sys.settrace: https://docs.python.org/3/library/sys.html#sys.settrace
Python exposes most of its guts as part of the standard library, making clever hacks like this possible.
What are some alternatives?
grub2-themes - Modern Design theme for Grub2
python-varname - Dark magics about variable names in python
CLI-E2E-dictionary - [100k+ words] Simple fast dictionary
flow-storm-debugger - A debugger for Clojure and ClojureScript with some unique features.
django-cbv-inspect - A tool to help inspect Django class-based views
debug-adapter-protocol - Defines a common protocol for debug adapters.
icecream - 🍦 Never use print() to debug again.
rr - Record and Replay Framework
fallout-grub-theme - Fallout GRUB theme
spdlog - Fast C++ logging library.
girok - A powerful and beautiful CLI scheduler
delve - Delve is a debugger for the Go programming language.