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
benaadams avatar

benaadams/Ben.Demystifier

0
View on GitHub↗
2,867 stars·121 forks·C#·apache-2.0·18 views

Ben.Demystifier

Ben.Demystifier is a .NET library that transforms raw stack traces into modern C# 7+ syntax. It reads compiler-generated frames produced by async methods, iterators, lambdas, local functions, and generic types, then rewrites them to match the original source code, making exception call stacks and debug output immediately readable.

The library resolves common compiler artifacts such as MoveNext frames back into their original async method or iterator names, shows declaring method names and ordinals for lambdas and local functions instead of generated identifiers, and displays resolved generic type parameters and value tuple syntax inside stack frames. It also includes parameter qualifiers like ref, in, and out along with return types in method signatures, and preserves original line numbers and file paths during transformation.

Under the hood, Ben.Demystifier processes stack traces through a pipeline of regex-based token matching, symbol-table resolution, and syntax rewriting, producing immutable output with preserved line numbers. It handles multiple stack trace entries in a single pass to minimise memory allocations. The library is available as a NuGet package and integrates directly into existing .NET debugging workflows.

Features

  • Stack Trace Demystifiers - Reads raw .NET stack traces by translating compiler-generated frames into modern C# syntax.
  • Async Frame Resolvers - Replaces compiler-generated MoveNext frames with original async method names.
  • Stack Trace Debugging Workflows - Translates legacy stack trace formats into current language constructs for debugging.
  • Async Stack Frame Resolvers - Replaces compiler-generated async frames with original method names for readable stack traces.
  • Async Iterator Frame Resolvers - Replaces compiler-generated MoveNext frames with original async method or iterator names.
  • Lambda Frame Resolvers - Shows declaring method and ordinal for lambdas instead of compiler-generated identifiers.
  • Lambda Name Resolvers - Shows declaring method names and ordinals for lambdas instead of compiler-generated identifiers.
  • C# - Rewrites compiler-generated method names into readable C# syntax for faster debugging.
  • Error Message Interpretation Tools - Transforms cryptic exception call stacks into human-readable representations.
  • Stack Frame Type Resolvers - Shows resolved generic parameters and value tuple syntax inside stack frames.
  • Stack Trace Formatters - Transforms raw stack traces into modern C# 7+ syntax for clearer debugging.
  • .NET Stack Trace Demystifiers - Transforms raw .NET stack traces into modern C# 7+ syntax by resolving compiler-generated frames.
  • Stack Trace Generation - Produces a human-readable string from a demystified exception or current call stack.
  • Stack Trace Readability Enhancers - Converts raw .NET stack traces into modern C# syntax for easier debugging.
  • Stack Trace Syntax Rewriters - Applies rule-based substitution to convert old C# stack frame tokens into modern equivalents.
  • Parameter Qualifier Displays - Includes parameter qualifiers like ref, in, and out along with return types in stack traces.
  • Exception Handling - High-performance stack trace analysis and formatting.

Star history

Star history chart for benaadams/ben.demystifierStar history chart for benaadams/ben.demystifier

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

Frequently asked questions

What does benaadams/ben.demystifier do?

Ben.Demystifier is a .NET library that transforms raw stack traces into modern C# 7+ syntax. It reads compiler-generated frames produced by async methods, iterators, lambdas, local functions, and generic types, then rewrites them to match the original source code, making exception call stacks and debug output immediately readable.

What are the main features of benaadams/ben.demystifier?

The main features of benaadams/ben.demystifier are: Stack Trace Demystifiers, Async Frame Resolvers, Stack Trace Debugging Workflows, Async Stack Frame Resolvers, Async Iterator Frame Resolvers, Lambda Frame Resolvers, Lambda Name Resolvers, C#.

What are some open-source alternatives to benaadams/ben.demystifier?

Open-source alternatives to benaadams/ben.demystifier include: benhmoore/knwl.js — Knwl.js is a JavaScript named entity recognition library and text entity extractor. It functions as an extensible text… stacktracejs/stacktrace.js — stacktrace.js is a JavaScript library designed for generating and parsing detailed function call stacks from error… markzhai/androidperformancemonitor — AndroidPerformanceMonitor is a diagnostic library and debugging tool designed to detect UI freezes and monitor main… bombela/backward-cpp — backward-cpp is a C++ stack trace library and debugging utility designed to capture, resolve, and print detailed… bdwgc/bdwgc — This project is a garbage collection library and memory allocator for C and C++ that provides automatic reclamation of… avajs/ava — Ava is a test runner for JavaScript and TypeScript designed to execute test suites with a focus on concurrency and…

Open-source alternatives to Ben.Demystifier

Similar open-source projects, ranked by how many features they share with Ben.Demystifier.
  • benhmoore/knwl.jsbenhmoore avatar

    benhmoore/Knwl.js

    5,259View on GitHub↗

    Knwl.js is a JavaScript named entity recognition library and text entity extractor. It functions as an extensible text parsing engine designed to scan unstructured strings for specific data patterns and convert them into structured information. The engine utilizes a modular framework that allows for the recognition of custom data types. This is achieved through a plugin system for language pattern matching, enabling the integration of custom logic to identify unique data types within text. The library identifies and isolates entities such as dates, times, phone numbers, emails, and locations

    JavaScript
    View on GitHub↗5,259
  • stacktracejs/stacktrace.jsstacktracejs avatar

    stacktracejs/stacktrace.js

    4,005View on GitHub↗

    stacktrace.js is a JavaScript library designed for generating and parsing detailed function call stacks from error objects across different web browsers. It functions as a stack trace parser and error instrumentation utility that captures execution flow and error traces. The project differentiates itself through its ability to resolve source maps, translating minified JavaScript stack traces back to original source lines. It also includes a remote error reporter for transmitting processed exception data and stack traces to a centralized server for analysis. The library covers broad capabilit

    JavaScripterror-handlingjavascriptstacktracejs
    View on GitHub↗4,005
  • markzhai/androidperformancemonitormarkzhai avatar

    markzhai/AndroidPerformanceMonitor

    6,730View on GitHub↗

    AndroidPerformanceMonitor is a diagnostic library and debugging tool designed to detect UI freezes and monitor main thread responsiveness in Android applications. It functions as a UI block detector that identifies performance degradation by capturing thread stack dumps and performance logs. The tool utilizes a watchdog mechanism to monitor the main thread for hangs based on configurable time thresholds. When a block is detected, it captures a full call stack dump and triggers system-level alert notifications to notify developers immediately. The library includes capabilities for performance

    Javaandroidanrapm
    View on GitHub↗6,730
  • bdwgc/bdwgcbdwgc avatar

    bdwgc/bdwgc

    3,418View on GitHub↗

    This project is a garbage collection library and memory allocator for C and C++ that provides automatic reclamation of unreachable objects. It functions as a memory management system that can replace standard allocation functions to automate memory reclamation without requiring source modification. The system is distinguished by its ability to perform incremental and generational garbage collection to reduce application pauses, as well as parallel collection to distribute tracing across multiple CPU cores. It includes a specialized string manipulation library that uses shared structures to en

    Ccc-plus-pluscplusplus
    View on GitHub↗3,418
See all 30 alternatives to Ben.Demystifier→