Zulip Chat Archive
Stream: new members
Topic: How to set `trace`?
Zihao Zhang (Apr 12 2025 at 01:54):
The following code caused an error "tmp.lean:9:0
unknown option 'trace.tmp'"
import Mathlib
import Lean
open Lean
initialize
registerTraceClass `tmp
set_option trace.tmp true
Aaron Liu (Apr 12 2025 at 06:56):
Setting up a trace class only takes effect once you go into another file
Aaron Liu (Apr 12 2025 at 06:57):
So you have access to the trace classes defined in all the imports, but not in the same file
Last updated: May 02 2025 at 03:31 UTC