package rdbg
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=80c13ca3619b52c7e879ef90cd290d42775eb1032d526a9e1a770150d10a150d
md5=facf4de4f8b9f1a890e235d58163c66c
doc/rdbg-plugin.rdbg/RdbgStdLib/index.html
Module RdbgStdLib
Compute the next event, call the hooks functions on it, and return that event
val add_hook : string -> (Event.t -> unit) -> unitAdd a function that is called after each next call
val get_hook : string -> Event.t -> unitGet a hook function (raise Not_found if it does not exist)
val loopforever : Event.t -> unitloop forever
val show_trace : bool refcontrol the printing of skipped events
val show_data : bool refcontrol the behavior of print_event
val show_src : bool refcontrol the behavior of print_event
val print_event : Event.t -> unitPrint an event
Returns the next event that satisfies a condition
Returns the next event s.t. the string arg is a substring of the event name
val v : string -> Event.t -> Data.vGet the value of an int variable
val vi : string -> Event.t -> intGet the value of an int variable
val vf : string -> Event.t -> floatGet the value of a float variable
val vb : string -> Event.t -> boolGet the value of a boolean variable
val print_src : Event.t -> unitPrint some source code information attached to an event
val print_call_stack : Event.t -> unitprint the call stack
add a breapoint on a node or a file. A breakpoint is a string of the form: "node" "node::line" "file" "file::line"
Goto to a specific explicit breakpoint (cf 'break' for breakpoints syntax)
val ckpt_rate : int refCheckpoint rate (that can be changed).
A predicate that control when check-point are done. By default, it is done periodically every !ckpt_rate event.
But of course one can change it (hence the ref)
List of checkpoints made when !check_ref is true. This list is used and modified by the commands:
- rev
- rev_cond
- back/backi
- goto
val goto_last_ckpt : int -> Event.trun backwards until the next breakpoint or condition
val run : unit -> Event.t