From: Ferruccio Guidi Date: Tue, 10 Mar 2009 20:16:58 +0000 (+0000) Subject: added some commented debugging instructions :) X-Git-Tag: make_still_working~4164 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=b197242b10d80729d47457911bd6f42f4a30f354;p=helm.git added some commented debugging instructions :) --- diff --git a/helm/software/matita/applyTransformation.ml b/helm/software/matita/applyTransformation.ml index e741ed70c..670fd2e0c 100644 --- a/helm/software/matita/applyTransformation.ml +++ b/helm/software/matita/applyTransformation.ml @@ -204,7 +204,15 @@ let txt_of_cic_object (CicNotationPres.mpres_of_box bobj) ) | G.Procedural depth -> +(* + PO.critical := false; + Acic2Procedural.tex_formatter := Some Format.std_formatter; + let _ = ProceduralTeX.tex_of_obj Format.std_formatter obj in +*) let obj, info = PO.optimize_obj obj in +(* + let _ = ProceduralTeX.tex_of_obj Format.std_formatter obj in +*) let aobj, ids_to_inner_sorts, ids_to_inner_types = get_aobj obj in let term_pp = term2pres ~map_unicode_to_tex (n - 8) ids_to_inner_sorts in let lazy_term_pp = term_pp in @@ -244,6 +252,9 @@ let discharge_uri style uri = let discharge_name s = s ^ "_discharged" let txt_of_inline_uri ~map_unicode_to_tex style ?flavour prefix suri = +(* + Ds.debug := true; +*) let print_exc = function | ProofEngineHelpers.Bad_pattern s as e -> Printexc.to_string e ^ " " ^ Lazy.force s