awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
BetterErrors avatar

BetterErrors/better_errors

0
View on GitHub↗
6,869 stars·433 forks·Ruby·MIT·17 views

Better Errors

Better Errors is a Rack middleware exception handler and interactive application state inspector for Ruby web applications. It intercepts unhandled exceptions to render developer-friendly error pages that provide detailed stack traces and variable inspection.

The tool provides a debugging interface that allows for live code evaluation at every stack frame of an exception. It maps stack trace entries to local filesystem paths for direct navigation to source code in an editor and restricts interface access via IP-based validation.

The project covers error response formatting for API and AJAX calls through plain text support. It also handles the interception of application crashes to provide real-time inspection of local variables and execution environments.

Features

  • Application Debugging - Intercepts unhandled exceptions in Rack applications to provide detailed stack traces and application state inspection.
  • Crash Diagnostics - Maps application crashes to specific source code lines and restricts debugging interface access to trusted IPs.
  • Variable Inspection Tools - Allows real-time inspection of variables and evaluation of live code at specific stack frames to diagnose failures.
  • Stack Frame Inspectors - Binds the execution environment of the interactive shell to specific stack frames for precise variable inspection.
  • Runtime Context Evaluators - Provides an interactive shell to execute arbitrary Ruby code within the context of a crashed stack frame.
  • Live Code Evaluation - Enables developers to evaluate Ruby expressions and inspect application state using an interactive shell during a crash.
  • Process Exception Interception - Captures unhandled exceptions at the process level and replaces standard error pages with a debugging interface.
  • Handler Middlewares - Acts as a middleware interceptor that wraps request handlers to render developer-friendly error pages.
  • Application State Inspection - Provides a browser-based interface for inspecting application state and local variables when a Rack app fails.
  • Rack-Based Middleware Pipelines - Implements a Rack middleware pipeline to intercept unhandled exceptions and replace default error responses.
  • Web Application Debugging - Provides a specialized debugging interface for Ruby web applications with live code evaluation at each stack frame.
  • API Error Handling - Provides plain text error details for AJAX calls and API responses by detecting non-HTML requests.
  • Editor-Integrated Debugging - Links exception details directly to the specific file and line number in a local text editor.
  • Error Page Diagnostics - Renders detailed error pages containing stack traces and variable states to diagnose the causes of application failures.
  • Source Path Mapping - Maps stack trace entries to local filesystem paths for direct navigation to source code in an editor.
  • Administrative Access Restrictions - Limits access to the administrative debugging interface by whitelisting specific requester IP addresses.
  • IP Access Restrictions - Restricts access to the debugging interface by validating requester IP addresses against allowed blocks.
  • Custom Error Pages - Renders an interactive error page for Rack applications featuring detailed stack traces and variable inspection.

Star history

Star history chart for bettererrors/better_errorsStar history chart for bettererrors/better_errors

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Better Errors

Similar open-source projects, ranked by how many features they share with Better Errors.
  • visualfc/liteidevisualfc avatar

    visualfc/liteide

    7,754View on GitHub↗

    LiteIDE is a cross-platform integrated development environment designed for writing, compiling, and debugging Go source code. It functions as both a code editor with syntax highlighting and a build tool orchestrator that manages toolchains, environment profiles, and cross-compilation targets. The environment is modular and extensible, supporting third-party plugins and custom keyboard mapping to tailor the coding workflow. It provides an integrated interface for external debuggers to inspect program execution and state. The platform covers a broad range of development capabilities, including

    C++
    View on GitHub↗7,754
  • microsoft/vscode-recipesmicrosoft avatar

    microsoft/vscode-recipes

    5,959View on GitHub↗

    vscode-recipes is a collection of configuration patterns and guides for setting up debuggers and runtime environments within VS Code. It provides standardized templates and blueprints to connect the editor to local, containerized, or serverless runtimes across a variety of programming languages and frameworks. The project focuses on coordinating simultaneous debugging sessions across client-side and server-side processes to trace logic through full-stack applications. It offers specific patterns for integrating language runtimes and orchestrating multi-language development setups within a sin

    JavaScript
    View on GitHub↗5,959
  • cool-rr/pysnoopercool-RR avatar

    cool-RR/PySnooper

    16,604View on GitHub↗

    PySnooper is a diagnostic library for Python that tracks variable values and execution flow to provide a detailed history of program state. By applying decorators to functions, generators, or classes, it logs line-by-line execution and state changes without requiring manual print statements. The tool distinguishes itself through its ability to monitor nested function calls and concurrent operations in multi-threaded applications. It captures execution context by accessing the current stack frame, allowing for the inspection of local variables and the evaluation of arbitrary expressions during

    Pythondebugdebuggerintrospection
    View on GitHub↗16,604
  • cs01/gdbguics01 avatar

    cs01/gdbgui

    10,338View on GitHub↗

    gdbgui is a web-based graphical frontend and visualizer for the GNU Debugger. It serves as a compiled language debugger that provides source-level inspection for C, C++, Go, Rust, and Fortran. The project acts as a remote debugging interface, providing a secure web portal for connecting to and controlling GDB sessions over a network. It distinguishes itself by offering a browser-based environment to visualize call stacks and data structures for programs running via the GNU Debugger. The interface covers program execution control and breakpoint management, featuring graphical variable inspect

    TypeScriptbrowsercc-plus-plus
    View on GitHub↗10,338
See all 30 alternatives to Better Errors→

Frequently asked questions

What does bettererrors/better_errors do?

Better Errors is a Rack middleware exception handler and interactive application state inspector for Ruby web applications. It intercepts unhandled exceptions to render developer-friendly error pages that provide detailed stack traces and variable inspection.

What are the main features of bettererrors/better_errors?

The main features of bettererrors/better_errors are: Application Debugging, Crash Diagnostics, Variable Inspection Tools, Stack Frame Inspectors, Runtime Context Evaluators, Live Code Evaluation, Process Exception Interception, Handler Middlewares.

What are some open-source alternatives to bettererrors/better_errors?

Open-source alternatives to bettererrors/better_errors include: visualfc/liteide — LiteIDE is a cross-platform integrated development environment designed for writing, compiling, and debugging Go… microsoft/vscode-recipes — vscode-recipes is a collection of configuration patterns and guides for setting up debuggers and runtime environments… cool-rr/pysnooper — PySnooper is a diagnostic library for Python that tracks variable values and execution flow to provide a detailed… cs01/gdbgui — gdbgui is a web-based graphical frontend and visualizer for the GNU Debugger. It serves as a compiled language… josephlenton/php-error — PHP-Error is a web development utility and error handler that intercepts application exceptions, syntax errors, and… cyfdecyf/cow — This project is a Go-based HTTP proxy server designed as a censorship circumvention tool. It functions as an upstream…