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

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

23 releases (8 breaking)

0.11.0 Feb 25, 2024
0.10.2 Dec 24, 2023
0.8.1 Nov 1, 2023
0.3.17 May 28, 2023
0.3.12 Mar 11, 2023

#44 in WebSocket

Download history 236/week @ 2023-12-05 340/week @ 2023-12-12 434/week @ 2023-12-19 560/week @ 2023-12-26 472/week @ 2024-01-02 270/week @ 2024-01-09 515/week @ 2024-01-16 537/week @ 2024-01-23 241/week @ 2024-01-30 223/week @ 2024-02-06 321/week @ 2024-02-13 366/week @ 2024-02-20 345/week @ 2024-02-27 204/week @ 2024-03-05 260/week @ 2024-03-12 159/week @ 2024-03-19

1,043 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