All Projects → oraoto → php-stacktrace

oraoto / php-stacktrace

Licence: MIT License
Read stacktrace from outside PHP process

Programming Languages

rust
11053 projects
C++
36643 projects - #6 most used programming language

Projects that are alternatives of or similar to php-stacktrace

Errors
Drop-in replacement for the standard library errors package and github.com/pkg/errors
Stars: ✭ 88 (+120%)
Mutual labels:  stacktrace
errors
errors with paired message and caller stack frame
Stars: ✭ 19 (-52.5%)
Mutual labels:  stacktrace
asmCrashReport
🐞 Installs signal handlers to capture stack traces for MinGW 32 and macOS builds.
Stars: ✭ 39 (-2.5%)
Mutual labels:  stacktrace
Debugengine
Delphi debug framework
Stars: ✭ 133 (+232.5%)
Mutual labels:  stacktrace
Fracker
PHP function tracker
Stars: ✭ 234 (+485%)
Mutual labels:  stacktrace
gostackparse
Package gostackparse parses goroutines stack traces as produced by panic() or debug.Stack() at ~300 MiB/s.
Stars: ✭ 88 (+120%)
Mutual labels:  stacktrace
Memstrack
A memory allocation tracer combined with stack trace.
Stars: ✭ 60 (+50%)
Mutual labels:  stacktrace
stackwalkerc
Windows single header stack walker in C (DbgHelp.DLL)
Stars: ✭ 26 (-35%)
Mutual labels:  stacktrace
Stacktrace
C++ library for storing and printing backtraces.
Stars: ✭ 250 (+525%)
Mutual labels:  stacktrace
ngx-flamegraph
Flame graph for stack trace visualization written in Angular
Stars: ✭ 54 (+35%)
Mutual labels:  stacktrace
Clarify
Remove nodecore related stack trace noise
Stars: ✭ 140 (+250%)
Mutual labels:  stacktrace
Blocked At
Detects node eventloop block and reports where it started
Stars: ✭ 219 (+447.5%)
Mutual labels:  stacktrace
xUnwind
🔥 xUnwind is a collection of Android native stack unwinding solutions.
Stars: ✭ 127 (+217.5%)
Mutual labels:  stacktrace
Pasta Sourcemaps
Pretty (and) Accurate Stack Trace Analysis is an extension to the JavaScript source map format that allows for accurate function name decoding.
Stars: ✭ 112 (+180%)
Mutual labels:  stacktrace
rebucket
ReBucket – A Method for Clustering Duplicate Crash Reports based on Call Stack Similarity
Stars: ✭ 21 (-47.5%)
Mutual labels:  stacktrace
Backtrace
Makes Python tracebacks human friendly
Stars: ✭ 80 (+100%)
Mutual labels:  stacktrace
stacktrace
Atom package to navigate stacktraces.
Stars: ✭ 35 (-12.5%)
Mutual labels:  stacktrace
madbomber
Backtrace-on-throw C++ exception logger
Stars: ✭ 17 (-57.5%)
Mutual labels:  stacktrace
stacktrace compat
get_stacktrace() compatibility in Erlang/OTP 21+
Stars: ✭ 18 (-55%)
Mutual labels:  stacktrace
py better exchook
nice Python exception hook replacement
Stars: ✭ 35 (-12.5%)
Mutual labels:  stacktrace

php-stacktrace

Read stacktrace from outside PHP process, inspired by ruby-stacktrace.

Install

  1. Download or build php-stacktrace from source

Build from source

Clone and build this project:

git clone https://github.com/oraoto/php-stacktrace.git
cd php-stacktrace
cargo build

Usage

./php-stacktrace --help
php-stacktrace 0.2.0
Read stacktrace from outside PHP process

USAGE:
    php-stacktrace [OPTIONS] <PID>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -v <php_version>        PHP Version (5.6, 7.2, 7.3) [default: 7.3]

ARGS:
    <PID>    PID of the PHP process

For a running Laravel queue worker, the output looks like:

stream_select()
Symfony\Component\Process\Pipes\UnixPipes::readAndWrite()
Symfony\Component\Process\Process::readPipes()
Symfony\Component\Process\Process::wait()
Symfony\Component\Process\Process::run()
Illuminate\Queue\Listener::runProcess()
Illuminate\Queue\Listener::listen()
Illuminate\Queue\Console\ListenCommand::handle()
call_user_func_array()
Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
Illuminate\Container\Util::unwrapIfClosure()
Illuminate\Container\BoundMethod::callBoundMethod()
Illuminate\Container\BoundMethod::call()
Illuminate\Container\Container::call()
Illuminate\Console\Command::execute()
Symfony\Component\Console\Command\Command::run()
Illuminate\Console\Command::run()
Symfony\Component\Console\Application::doRunCommand()
Symfony\Component\Console\Application::doRun()
Symfony\Component\Console\Application::run()
Illuminate\Console\Application::run()
Laravel\Lumen\Console\Kernel::handle()
main()
Time 124.716µs
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].