All Projects → g-andrade → stacktrace_compat

g-andrade / stacktrace_compat

Licence: MIT License
get_stacktrace() compatibility in Erlang/OTP 21+

Programming Languages

erlang
1774 projects
Makefile
30231 projects

Projects that are alternatives of or similar to stacktrace compat

Panic Overlay
Displays JS errors in browsers. Shows sources. Use with any framework. 💥✨
Stars: ✭ 50 (+177.78%)
Mutual labels:  stacktrace
Blocked At
Detects node eventloop block and reports where it started
Stars: ✭ 219 (+1116.67%)
Mutual labels:  stacktrace
xUnwind
🔥 xUnwind is a collection of Android native stack unwinding solutions.
Stars: ✭ 127 (+605.56%)
Mutual labels:  stacktrace
Backtrace
Makes Python tracebacks human friendly
Stars: ✭ 80 (+344.44%)
Mutual labels:  stacktrace
Clarify
Remove nodecore related stack trace noise
Stars: ✭ 140 (+677.78%)
Mutual labels:  stacktrace
Stacktrace
C++ library for storing and printing backtraces.
Stars: ✭ 250 (+1288.89%)
Mutual labels:  stacktrace
Sentry Ruby
Sentry SDK for Ruby
Stars: ✭ 724 (+3922.22%)
Mutual labels:  stacktrace
asmCrashReport
🐞 Installs signal handlers to capture stack traces for MinGW 32 and macOS builds.
Stars: ✭ 39 (+116.67%)
Mutual labels:  stacktrace
Ololog
A better console.log for the log-driven debugging junkies
Stars: ✭ 141 (+683.33%)
Mutual labels:  stacktrace
gostackparse
Package gostackparse parses goroutines stack traces as produced by panic() or debug.Stack() at ~300 MiB/s.
Stars: ✭ 88 (+388.89%)
Mutual labels:  stacktrace
Errors
Drop-in replacement for the standard library errors package and github.com/pkg/errors
Stars: ✭ 88 (+388.89%)
Mutual labels:  stacktrace
Debugengine
Delphi debug framework
Stars: ✭ 133 (+638.89%)
Mutual labels:  stacktrace
errors
errors with paired message and caller stack frame
Stars: ✭ 19 (+5.56%)
Mutual labels:  stacktrace
Memstrack
A memory allocation tracer combined with stack trace.
Stars: ✭ 60 (+233.33%)
Mutual labels:  stacktrace
py better exchook
nice Python exception hook replacement
Stars: ✭ 35 (+94.44%)
Mutual labels:  stacktrace
Retrace
基于mapping.txt文件,根据原始class名或方法名获取混淆后的class名或方法名,根据混淆后的class名或方法名获取原始class名或方法名,堆栈还原等
Stars: ✭ 41 (+127.78%)
Mutual labels:  stacktrace
Fracker
PHP function tracker
Stars: ✭ 234 (+1200%)
Mutual labels:  stacktrace
rebucket
ReBucket – A Method for Clustering Duplicate Crash Reports based on Call Stack Similarity
Stars: ✭ 21 (+16.67%)
Mutual labels:  stacktrace
ngx-flamegraph
Flame graph for stack trace visualization written in Angular
Stars: ✭ 54 (+200%)
Mutual labels:  stacktrace
stacktrace
Atom package to navigate stacktraces.
Stars: ✭ 35 (+94.44%)
Mutual labels:  stacktrace

stacktrace_compat

Given the upcoming release of Erlang/OTP 24, stacktrace_compat is no longer maintained as of April 2nd, 2021.

⚠️ You should discontinue any use of this library unless you strictly need to maintain compatibility with Erlang/OTP versions older than 21 (released back in 2018.)

How do I do that?

Start by:

  1. removing, from rebar.config:
    • under erl_opts, {parse_transform, stacktrace_transform}
    • under deps, stacktrace_compat
  2. removing, from your_app.app.src:
    • under applications, stacktrace_compat (it needn't be there, but it may be)

..and then:

  1. search your code for calls to erlang:get_stacktrace();
  2. replace them with the current syntax for capturing stacktraces.
History

stacktrace_compat defined a parse transform (stacktrace_transform) which, when applied to modules on OTP 21+, replaced calls to erlang:get_stacktrace() with instances of the stacktrace binding that was to be captured on the closest catch pattern up the abstract syntax tree (within the same named function.)

If no binding had been defined, a generated name would have been used that was likely to be conflict free.

If no catch pattern was found, no replacement was made.


Generated by EDoc

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].