package ppx_minidebug

  1. Overview
  2. Docs

Module type Minidebug_runtime.Debug_runtimeSource

When using the ppx_minidebug syntax extension, provide a module called Debug_runtime with this signature in scope of the instrumented code.

Sourceval close_log : unit -> unit
Sourceval open_log_preamble_brief : fname:string -> pos_lnum:int -> pos_colnum:int -> message:string -> unit
Sourceval open_log_preamble_full : fname:string -> start_lnum:int -> start_colnum:int -> end_lnum:int -> end_colnum:int -> message:string -> unit
Sourceval log_value_sexp : descr:string -> sexp:Sexplib0.Sexp.t -> unit
Sourceval log_value_pp : descr:string -> pp:(Format.formatter -> 'a -> unit) -> v:'a -> unit
Sourceval log_value_show : descr:string -> v:string -> unit
Sourceval exceeds_max_nesting : unit -> bool
Sourceval exceeds_max_children : unit -> bool