Module Debug

module Debug: sig .. end
When RECORD_ASYNC_BACKTRACES is set, the Async scheduler records a backtrace everytime it schedules a job, and will include the backtrace history in any exceptions raised to monitors, and in particular, in an unhandled exception that reaches the main monitor.

val debug : bool
val record_backtraces : bool
When RECORD_ASYNC_BACKTRACES is set, the Async scheduler records a backtrace everytime it schedules a job, and will include the backtrace history in any exceptions raised to monitors, and in particular, in an unhandled exception that reaches the main monitor.
val log : Core.Std.String.t -> 'a -> ('a -> Sexplib.Sexp.t) -> unit
val log_string : Core.Std.String.t -> unit