2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-25 22:27:35 +00:00
restic/internal/debug
Michael Eischer 306a29980a Print stacktrace in SIGINT handler if RESTIC_DEBUG_STACKTRACE_SIGINT set
The builtin mechanism to capture a stacktrace in Go is to send a SIGQUIT
to the running process. However, this mechanism is not avaiable on
Windows. Thus, tweak the SIGINT handler to dump a stacktrace if the
environment variable `RESTIC_DEBUG_STACKTRACE_SIGINT` is set.
2023-04-23 15:50:40 +02:00
..
debug.go debug: enable debug support for release builds 2022-08-05 23:49:39 +02:00
doc.go Moves files 2017-07-23 14:19:13 +02:00
log_test.go debug: Auto-shorten IDs passed as parameters 2018-01-25 20:49:26 +01:00
round_tripper_debug.go debug: support roundtripper logging also for release builds 2022-08-05 23:49:39 +02:00
round_tripper_release.go debug: support roundtripper logging also for release builds 2022-08-05 23:49:39 +02:00
round_tripper_test.go debug: support roundtripper logging also for release builds 2022-08-05 23:49:39 +02:00
round_tripper.go Replace most usages of ioutil with the underlying function 2022-12-02 19:36:43 +01:00
stacktrace.go Print stacktrace in SIGINT handler if RESTIC_DEBUG_STACKTRACE_SIGINT set 2023-04-23 15:50:40 +02:00