package coq-core
Install
    
    dune-project
 Dependency
Authors
Maintainers
Sources
md5=5d1187d5e44ed0163f76fb12dabf012e
    
    
  sha512=91bc81530fa4f6498961583ad51eac5001f139881788b88e360a866ad8e2a6e2c5bce86d1a580ab4cd4782bf49d48318767df82471ce33ba3ac143e5569ad33c
    
    
  doc/coq-core.lib/CDebug/index.html
Module CDebugSource
Creates a debug component, which may be used to print debug messages.
A debug component is named by the string name. It is either active or inactive.
The special component "all" may be used to control all components.
There is also a special component "backtrace" to control backtrace recording.
Useful when interacting with a component from code, typically when doing something more complicated than printing.
Note that the printer function prints some metadata compared to  fun pp -> if get_flag flag then Feedback.msg_debug (pp ()) 
get_flags and set_flags use the user syntax: a comma separated list of activated "component" and "-component"s. get_flags starts with "all" or "-all" and lists all components after it (even if redundant).
Components not mentioned are not affected (use the "all" component at the start if you want to reset everything).