ecso
ecso copied to clipboard
Add -D ecso-verbose
Debug printings can only be triggered from OCaml sources at the moment but should instead be triggered through defines to make it simpler, this would allow debugging without re-compiling the plugin. Maybe the context-specific ones could be triggered via metadata too?
There are currently 5 of them which can be changed separetely:
- [ ]
gl_debug_mutationsfromEcsoAnalyzer.global - [ ]
ctx_debug_archetype_eqfromEcsoContext.t - [ ]
ctx_debug_genfromEcsoContext.twith the valuesno_debugging,simple_debuggingandfull_debugging - [ ] the
runfunction of the plugin inecso.mldefines alet print_ctxs = false in - [ ] and
LocalFlowhave a hard codedlet print_debug = falsetoo.