Module Base__.Backtrace
type tA
Backtrace.tis a snapshot of the stack obtained by callingBacktrace.get. It is represented as a string with newlines separating the frames.sexp_of_tsplits the string at newlines and removes some of the cruft, leaving a human-friendly list of frames, butto_stringdoes not.
val sexp_of_t : t -> Base.Sexp.t
val get : ?at_most_num_frames:int -> unit -> tval to_string : t -> stringval to_string_list : t -> string listval elide : bool Base__.Import.refThe value of
elidecontrols the behavior of backtrace serialization functions such asto_string,to_string_list, andsexp_of_t. When set tofalse, these functions behave as expected, returning a faithful representation of their argument. When set totrue, these functions will ignore their argument and return a message indicating that behavior.The default value is
am_testing.
module Exn : sig ... endBacktrace.Exnhas functions for controlling and printing the backtrace of the most recently raised exception.