package coq-core
Install
Dune Dependency
Authors
Maintainers
Sources
md5=13d2793fc6413aac5168822313e4864e
sha512=ec8379df34ba6e72bcf0218c66fef248b0e4c5c436fb3f2d7dd83a2c5f349dd0874a67484fcf9c0df3e5d5937d7ae2b2a79274725595b4b0065a381f70769b42
doc/ltac_plugin/Ltac_plugin/Tactic_debug/index.html
Module Ltac_plugin.Tactic_debug
Source
TODO: Move those definitions somewhere sensible
This module intends to be a beginning of debugger for tactic expressions. Currently, it is quite simple and we can hope to have, in the future, a more complete panel of commands dedicated to a proof assistant framework
Debug information
val debug_prompt :
int ->
Tacexpr.glob_tactic_expr ->
(debug_info -> 'a Proofview.tactic) ->
Geninterp.Val.t Names.Id.Map.t ->
Tacexpr.ltac_trace option ->
'a Proofview.tactic
Prints the state and waits
Initializes debugger
val db_constr :
debug_info ->
Environ.env ->
Evd.evar_map ->
EConstr.constr ->
unit Proofview.NonLogical.t
Prints a constr
For use in the Ltac debugger: some exception that are usually consider anomalies are acceptable because they are caught later in the process that is being debugged. One should not require from users that they report these anomalies.
val db_breakpoint :
debug_info ->
Names.lident Tacexpr.message_token list ->
unit Proofview.NonLogical.t
Check for/process idtac breakpoint
Prints a message only if debugger stops at the next step
Push a trace chunk (multiple frames) onto the trace chunk stack
Pop a trace chunk (multiple frames) from the trace chunk stack