package shexp
Process library and s-expression based shell
Install
Dune Dependency
Authors
Maintainers
Sources
shexp-v0.13.0.tar.gz
sha256=ff0e6ed52adf66dc1a1a9c85577dac043a0821feacfab09a5b8bea8f99ff3ba5
md5=13002fde6249703d06ff820906cd96c9
doc/shexp.process/Shexp_process/module-type-Debugger/index.html
Module type Shexp_process.Debugger
shexp_process allows one to plug a debugger in the evaluator. Logged
and Traced
are essentially two non-interactive debuggers.
val before_prim :
t ->
('a, 'b) Prim.t ->
('a, 'b) Prim.Args.t ->
('a, 'b) prim_token
Called before the execution of a primitive. The S-expression is a representation of the primitive call, for instance (mkdir "foo")
.
val after_prim :
t ->
('a, 'b) Prim.t ->
('b, exn * Printexc.raw_backtrace) result ->
('a, 'b) prim_token ->
unit
Called after the execution of a primitive, with the result.
val user_exn : t -> exn -> Printexc.raw_backtrace -> unit
Register a user exception, i.e. when a bind
raises.
val output : t -> string -> unit
Captured output
val enter_sub : t -> unit
Shexp tries to linearize the trace as much as possible. When an execution parameter is changed locally, such as in (chdir ...) >>= ...
, a sub context is entered.
val leave_sub : t -> unit
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>