errcode
By pingcap
backward-cpp
A beautiful stack trace pretty printer for C++ (by bombela)
errcode | backward-cpp | |
---|---|---|
1 | 4 | |
14 | 3,603 | |
- | - | |
2.8 | 4.7 | |
6 months ago | 15 days ago | |
Go | C++ | |
Apache License 2.0 | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
errcode
Posts with mentions or reviews of errcode.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-08-23.
-
Error stack traces in Go with x/xerror
I believe the solution to this is to classify errors properly. Any "internal error" as in HTTP 500 Internal Error should be generating a stack trace. Most other expected errors (like your case) should not. I codified this practice in a library I created for Go called errcode [1] which is designed to attach error codes and other meta information where errors are generated.
[1] https://github.com/pingcap/errcode
backward-cpp
Posts with mentions or reviews of backward-cpp.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-08-23.
-
Advice on custom assertion libraries
I've used backward-cpp for printing stack traces and I'm very satisfied!
-
How to generate core dump in windows?
if you're just looking for a way to log the stack trace at the time, you can use: https://github.com/bombela/backward-cpp
-
Error stack traces in Go with x/xerror
100% Shameless plug. Stack capture and pretty printer for C++: https://github.com/bombela/backward-cpp
-
Getting around static method limitation of backtrace/dladdr
have you tried backward-cpp?: https://github.com/bombela/backward-cpp
What are some alternatives?
When comparing errcode and backward-cpp you can also consider the following projects:
json-logs - A tool to pretty-print JSON logs, like those from zap or logrus.
Google Test - GoogleTest - Google Testing and Mocking Framework
xtrace - A simple library to extract traces from golang's xerrors
gdb-frontend - ☕ GDBFrontend is an easy, flexible and extensible gui debugger. Try it on https://debugme.dev
logutil - Utils for use with zerolog
Google Mock
golangci-lint - Fast linters Runner for Go
hayai - C++ benchmarking framework
errors - Simple error handling primitives
ig-debugheap - Debug heap useful for tracking down memory errors.
errors - Go error library with error portability over the network
CppUTest - CppUTest unit testing and mocking framework for C/C++