Page
Library
Module
Module type
Parameter
Class
Class type
Source
RdbgStdLib
Sourcemain:Launches the debuggees, calls hooks (by default), and returns the first event
move:Computes the next event, calls the hooks functions on it, and returns that event
move:as next, without printing the current event
move:Returns the ith next event
move:Returns the ith next event without printing events
move:Goes to the next simulation step of the current node
move:Goes to the ith simulation step of the current node
move:Returns the next event that satisfies a condition
val next_cond_gen :
RdbgEvent.t ->
(RdbgEvent.t -> bool) ->
(RdbgEvent.t -> RdbgEvent.t) ->
RdbgEvent.t
move:Returns the next event s.t. the string arg is a substring of the event name
move:Returns the previous event s.t. the string arg is a substring of the event name
move:Loops forever
misc:Turns on/on the possibility to run backwards
move:Moves one event backwards
move:Moves i events backwards
move:Moves one step backwards
move:Moves i steps backwards
move:Returns the previous event satisfying a condition
val rev_cond_gen :
RdbgEvent.t ->
(RdbgEvent.t -> bool) ->
(RdbgEvent.t -> RdbgEvent.t) ->
(int -> unit) ->
RdbgEvent.t
move:Returns the previous event satisfying a condition p using a custom next.
Since the next function may modify some (external) state, rev_cond_gen is parameterized by the restore_state:int->unit function that is able to restore the external state at its value at event i (the save_state i ought to be done by the caller)
move:Goes to step number i
move:Goes to event nb i
A predicate that controls 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
move:Adds a breakpoint on a node or a file. A breakpoint is a string of the form: "node" "node@line" "file" "file@line"
move:Removes all breakpoints
move:continues to the next breakpoint
move:runs backwards until the next breakpoint
move:Goes to to a specific explicit breakpoint (cf 'break' for breakpoints syntax)
data:Gets the value of an int variable
data:Gets the value of an int variable
data:Gets the value of a float variable
data:Gets the value of a boolean variable
data:Prints some source code information attached to an event
data:Prints the call stack
misc:Hooks are functions that are called each time a new event is obtained with the next function and thus with functions that use next, such as nexti, next_cond, rev_conv, step, stepi, and more).
add_hook
adds (or replaces) a hook function in the hooks list.
misc:Gets a hook function (may raise Not_found
)
misc:Removes a hook
misc:Removes all hooks
misc:Lists hooks
data:Prints an event