(MatitaScript.current ())#proofMetasenv));
prerr_endline ("stack: " ^ Continuationals.Stack.pp
(GrafiteTypes.get_stack (MatitaScript.current ())#grafite_status)));
+ addDebugItem "Print current proof term"
+ (fun _ ->
+ HLog.debug
+ (CicPp.ppterm
+ (match
+ (MatitaScript.current ())#grafite_status.GrafiteTypes.proof_status
+ with
+ | GrafiteTypes.No_proof -> (Cic.Implicit None)
+ | Incomplete_proof i -> let _,_,p,_ = i.GrafiteTypes.proof in p
+ | Proof p -> let _,_,p,_ = p in p
+ | Intermediate _ -> assert false)));
(* addDebugItem "ask record choice"
(fun _ ->
HLog.debug (string_of_int
CicNotation.set_active_notations
(List.map fst (CicNotation.get_all_notations ())));
addDebugSeparator ();
+ addDebugItem "enable multiple disambiguation passes (default)"
+ (fun _ -> GrafiteDisambiguator.only_one_pass := false);
+ addDebugItem "enable only one disambiguation pass"
+ (fun _ -> GrafiteDisambiguator.only_one_pass := true);
+ addDebugSeparator ();
addDebugItem "enable coercions hiding"
(fun _ -> TermAcicContent.hide_coercions := true);
addDebugItem "disable coercions hiding"