SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 Debugging Tool Open-Source Projects
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
django-debug-toolbar
A configurable set of panels that display various debug information about the current request/response.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
gdb-frontend
☕ GDBFrontend is an easy, flexible and extensible gui debugger. Try it on https://debugme.dev
-
Rails Footnotes
Every Rails page has footnotes that gives information about your application and links back to your editor
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Project mention: Show HN: Dbg.h: C macro for quick and dirty print debugging | news.ycombinator.com | 2023-11-28Hey, very useful. Thanks! Similar to ic() for python, but with the nice ability to be used inline.
https://github.com/gruns/icecream
Project mention: Setting up Django in a Better Way in 5 Minutes and Understanding How It Works | dev.to | 2023-11-13The reason behind this splitting is that we can safely use packages and related settings only where we need. For example, this starter kit has the package django-debug-toolbar. This is only intended for your development environment and not for your production. This can be very risky if used in production because if your Django project encounters errors, all the debug info will be shown to the user which is a severe security risk. Similarly, for tracking errors in production, we're using Sentry which is not needed in our local environment since we already have django-debug-toolbar. For keeping these settings file separate so that they don't conflict with each other, the settings file is split for serving different environments.
Project mention: Ask HN: C/C++ developer wanting to learn efficient Python | news.ycombinator.com | 2024-04-10
Project mention: Why does pry/Zeitwerk have issues loading constants in breakpoint context? | /r/rails | 2023-05-01Just pry or with byebug? If the latter: https://github.com/deivid-rodriguez/byebug/issues/564
I simply use the superb pudb. Press ctrl+e to open the current file at the current line in your editor.
Project mention: GDB-front end: GDB front end with a browser-based UI | news.ycombinator.com | 2024-01-28
CLion uses lldb.
I wrote https://github.com/daym/idea-native2-debugger as a stop-gap. It uses gdb and works in IntelliJ IDEA Community edition. Setting it up the first time is kinda weird since you need to add a new run/debug configuration "Native2Debugger". I could not figure out how to hook this directly into the existing run configuration that you use to run your program to begin with. Otherwise, I like how it turned out.
If you want a standalone frontend, https://github.com/epasveer/seer is extremely good.
And emacs has gdb integration. By now I tried it, and... I guess it's better than nothing.
Why not just use Python’s built-in pdb debugger or another existing one like ipdb or pdbpp?
I collected a list of profilers (also memory profilers, also specifically for Python) here: https://github.com/albertz/wiki/blob/master/profiling.md
Currently I actually need a Python memory profiler, because I want to figure out whether there is some memory leak in my application (PyTorch based training script), and where exactly (in this case, it's not a problem of GPU memory, but CPU memory).
I tried Scalene (https://github.com/plasma-umass/scalene), which seems to be powerful, but somehow the output it gives me is not useful at all? It doesn't really give me a flamegraph, or a list of the top lines with memory allocations, but instead it gives me a listing of all source code lines, and prints some (very sparse) information on each line. So I need to search through that listing now by hand to find the spots? Maybe I just don't know how to use it properly.
I tried Memray, but first ran into an issue (https://github.com/bloomberg/memray/issues/212), but after using some workaround, it worked now. I get a flamegraph out, but it doesn't really seem accurate? After a while, there don't seem to be any new memory allocations at all anymore, and I don't quite trust that this is correct.
There is also Austin (https://github.com/P403n1x87/austin), which I also wanted to try (have not yet).
Somehow this experience so far was very disappointing.
(Side node, I debugged some very strange memory allocation behavior of Python before, where all local variables were kept around after an exception, even though I made sure there is no reference anymore to the exception object, to the traceback, etc, and I even called frame.clear() for all frames to really clear it. It turns out, frame.f_locals will create another copy of all the local variables, and the exception object and all the locals in the other frame still stay alive until you access frame.f_locals again. At that point, it will sync the f_locals again with the real (fast) locals, and then it can finally free everything. It was quite annoying to find the source of this problem and to find workarounds for it. https://github.com/python/cpython/issues/113939)
Project mention: Scientist: A Ruby library for carefully refactoring critical paths | news.ycombinator.com | 2023-11-14Yes, at the bottom it lists all similar libraries in other languages. Python has https://github.com/joealcorn/laboratory
Debugging Tools related posts
- Ask HN: C/C++ developer wanting to learn efficient Python
- Minha jornada de otimização de uma aplicação django
- Show HN: Dbg.h: C macro for quick and dirty print debugging
- Scientist: A Ruby library for carefully refactoring critical paths
- Setting up Django in a Better Way in 5 Minutes and Understanding How It Works
- The new pdbp (Pdb+) Python debugger!
- Graphical Python Profiler
-
A note from our sponsor - SaaSHub
www.saashub.com | 26 Apr 2024
Index
What are some of the best open-source Debugging Tool projects? This list will help you:
Project | Stars | |
---|---|---|
1 | py-spy | 11,850 |
2 | icecream | 8,459 |
3 | django-debug-toolbar | 7,903 |
4 | memory_profiler | 4,210 |
5 | python-uncompyle6 | 3,549 |
6 | Byebug | 3,321 |
7 | pudb | 2,874 |
8 | gdb-frontend | 2,758 |
9 | Cyberbrain | 2,489 |
10 | seer | 2,003 |
11 | Pry Byebug | 1,974 |
12 | pyelftools | 1,883 |
13 | did_you_mean | 1,871 |
14 | ipdb | 1,812 |
15 | CAPEv2 | 1,669 |
16 | sidekick | 1,634 |
17 | wdb | 1,570 |
18 | Rails Footnotes | 1,522 |
19 | austin | 1,355 |
20 | Seeing Is Believing | 1,297 |
21 | Laboratory | 1,273 |
22 | django-devserver | 1,272 |
23 | Xray | 1,219 |
Sponsored