#stack-trace #panic-hook #debugging #browser #wasm #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

#357 in Web programming

Download history 737/week @ 2024-07-23 750/week @ 2024-07-30 353/week @ 2024-08-06 640/week @ 2024-08-13 729/week @ 2024-08-20 933/week @ 2024-08-27 1493/week @ 2024-09-03 944/week @ 2024-09-10 453/week @ 2024-09-17 709/week @ 2024-09-24 569/week @ 2024-10-01 482/week @ 2024-10-08 727/week @ 2024-10-15 637/week @ 2024-10-22 597/week @ 2024-10-29 296/week @ 2024-11-05

2,331 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