#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

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

#96 in WebSocket

Download history 494/week @ 2023-12-21 352/week @ 2023-12-28 490/week @ 2024-01-04 326/week @ 2024-01-11 707/week @ 2024-01-18 281/week @ 2024-01-25 251/week @ 2024-02-01 199/week @ 2024-02-08 323/week @ 2024-02-15 466/week @ 2024-02-22 228/week @ 2024-02-29 302/week @ 2024-03-07 173/week @ 2024-03-14 267/week @ 2024-03-21 379/week @ 2024-03-28 229/week @ 2024-04-04

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