Debugging Tools

Open-source projects categorized as Debugging Tools

Top 23 Debugging Tool Open-Source Projects

  • py-spy

    Sampling profiler for Python programs

  • Project mention: Minha jornada de otimização de uma aplicação django | dev.to | 2024-03-13
  • icecream

    🍦 Never use print() to debug again.

  • Project mention: Show HN: Dbg.h: C macro for quick and dirty print debugging | news.ycombinator.com | 2023-11-28

    Hey, very useful. Thanks! Similar to ic() for python, but with the nice ability to be used inline.

    https://github.com/gruns/icecream

  • 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.

    InfluxDB logo
  • django-debug-toolbar

    A configurable set of panels that display various debug information about the current request/response.

  • Project mention: Setting up Django in a Better Way in 5 Minutes and Understanding How It Works | dev.to | 2023-11-13

    The 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.

  • memory_profiler

    Monitor Memory usage of Python code

  • Project mention: Ask HN: C/C++ developer wanting to learn efficient Python | news.ycombinator.com | 2024-04-10
  • python-uncompyle6

    A cross-version Python bytecode decompiler

  • Byebug

    Debugging in Ruby 2

  • Project mention: Why does pry/Zeitwerk have issues loading constants in breakpoint context? | /r/rails | 2023-05-01

    Just pry or with byebug? If the latter: https://github.com/deivid-rodriguez/byebug/issues/564

  • pudb

    Full-screen console debugger for Python

  • Project mention: How can I debug Python code in neovim! | /r/vim | 2023-07-01

    I simply use the superb pudb. Press ctrl+e to open the current file at the current line in your editor.

  • 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.

    WorkOS logo
  • gdb-frontend

    ☕ GDBFrontend is an easy, flexible and extensible gui debugger. Try it on https://debugme.dev

  • Project mention: GDB-front end: GDB front end with a browser-based UI | news.ycombinator.com | 2024-01-28
  • Cyberbrain

    Python debugging, redefined.

  • seer

    Seer - a gui frontend to gdb

  • Project mention: Beej's Quick Guide to GDB (2009) | news.ycombinator.com | 2023-11-05

    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.

  • Pry Byebug

    Step-by-step debugging and stack navigation in Pry

  • pyelftools

    Parsing ELF and DWARF in Python

  • did_you_mean

    The gem that has been saving people from typos since 2014

  • ipdb

    Integration of IPython pdb

  • Project mention: The new pdbp (Pdb+) Python debugger! | dev.to | 2023-08-02

    Why not just use Python’s built-in pdb debugger or another existing one like ipdb or pdbpp?

  • CAPEv2

    Malware Configuration And Payload Extraction

  • sidekick

    Sidekick is no longer in service

  • wdb

    An improbable web debugger through WebSockets

  • Rails Footnotes

    Every Rails page has footnotes that gives information about your application and links back to your editor

  • austin

    Python frame stack sampler for CPython

  • Project mention: Memray – A Memory Profiler for Python | news.ycombinator.com | 2024-02-10

    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)

  • Seeing Is Believing

    Displays the results of every line of code in your file

  • Laboratory

    Achieving confident refactoring through experimentation with Python 2.7 & 3.3+

  • Project mention: Scientist: A Ruby library for carefully refactoring critical paths | news.ycombinator.com | 2023-11-14

    Yes, at the bottom it lists all similar libraries in other languages. Python has https://github.com/joealcorn/laboratory

  • django-devserver

    A drop-in replacement for Django's runserver.

  • Xray

    ☠️ A development tool that reveals your UI's bones

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Debugging Tools related posts

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
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com