#stack-trace #panic-hook #debugging #browser #mobile-devices #console

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

36 releases (15 breaking)

0.18.0 Sep 7, 2024
0.16.0 Aug 19, 2024
0.15.0 Jul 26, 2024
0.11.0 Feb 25, 2024
0.3.12 Mar 11, 2023

#893 in WebAssembly

Download history 755/week @ 2024-08-25 1319/week @ 2024-09-01 1240/week @ 2024-09-08 556/week @ 2024-09-15 619/week @ 2024-09-22 631/week @ 2024-09-29 489/week @ 2024-10-06 667/week @ 2024-10-13 691/week @ 2024-10-20 572/week @ 2024-10-27 361/week @ 2024-11-03 449/week @ 2024-11-10 896/week @ 2024-11-17 459/week @ 2024-11-24 542/week @ 2024-12-01 628/week @ 2024-12-08

2,595 downloads per month
Used in 59 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

~7.5–10MB
~182K SLoC