Up

Module Backtrace = Core_kernel.Backtrace

Signature

type t

A Backtrace.t is a snapshot of the stack obtained by calling Backtrace.get. It is represented as a string with newlines separating the frames. sexp_of_t splits the string at newlines and removes some of the cruft, leaving a human-friendly list of frames, but to_string does not.

val sexp_of_t : t -> Sexplib.Sexp.t
val get : ?at_most_num_frames:int -> unit -> t
val to_string : t -> string
module Exn : sig .. end
Backtrace.Exn has functions for controlling and printing the backtrace of the most recently raised exception.
val initialize_module : unit -> unit

Runs global side effects, which initializes am_recording () as specified above.