#panic-hook #stack-trace #mobile-devices #debugging #output #browser #wasm

workflow-panic-hook

Based on the console_error_panic_hook this crate provides additional functionality allowing panic hook to bring up an in-browser overlay displaying the panic hook stack trace

26 releases (9 breaking)

0.12.1 Apr 27, 2024
0.11.1 Apr 19, 2024
0.11.0 Feb 25, 2024
0.10.2 Dec 24, 2023
0.3.12 Mar 11, 2023

#39 in WebSocket

Download history 726/week @ 2024-01-20 225/week @ 2024-01-27 256/week @ 2024-02-03 269/week @ 2024-02-10 280/week @ 2024-02-17 452/week @ 2024-02-24 204/week @ 2024-03-02 269/week @ 2024-03-09 188/week @ 2024-03-16 310/week @ 2024-03-23 382/week @ 2024-03-30 216/week @ 2024-04-06 370/week @ 2024-04-13 839/week @ 2024-04-20 933/week @ 2024-04-27 386/week @ 2024-05-04

2,539 downloads per month
Used in 54 crates (2 directly)

MIT/Apache

11KB
127 lines

workflow-panic-hook

github crates.io docs.rs license

Features

This crate is based on console_error_panic_hook but provides two configuration modes - console output and a full page output, where the panic will create a full-screen DIV element in the browser window dumping the stack trace info in it. This is useful when debugging on devices without access to console output (such as mobile devices).

Dependencies

~6.5–9MB
~171K SLoC