]> matita.cs.unibo.it Git - helm.git/commitdiff
New debug item to print aliases.
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Sat, 23 Aug 2008 19:10:31 +0000 (19:10 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Sat, 23 Aug 2008 19:10:31 +0000 (19:10 +0000)
helm/software/matita/matita.ml

index 62e425bf38b13dcb28fc0c7f7e7e553d97d113bb..64d1a4513ebed04a6c7fa8427aa8094a9f4b3da3 100644 (file)
@@ -116,6 +116,9 @@ let _ =
     let addDebugSeparator () =
       ignore (GMenu.separator_item ~packing:gui#main#debugMenu_menu#append ())
     in
+    addDebugItem "dump aliases" (fun _ ->
+      let status = script#lexicon_status in
+      HLog.debug (DisambiguatePp.pp_environment status.LexiconEngine.aliases));
     addDebugItem "dump environment to \"env.dump\"" (fun _ ->
       let oc = open_out "env.dump" in
       CicEnvironment.dump_to_channel oc;