For example, println(trace)
in the intro to modeling tutorial notebook currently prints the following; it would be easier to read if it involved various degrees of indenting (but were the same up to whitespace changes):
Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol,Any}(), Dict{Symbol,Any}(), Type[Array{Float64,1}], getfield(Main, Symbol("##3#5"))(), getfield(Main, Symbol("##4#6"))(), Bool[false], false), Trie{Any,Gen.ChoiceRecord}(Dict{Any,Gen.ChoiceRecord}((:y, 7)=>ChoiceRecord{Float64}(2.15599, -1.44199),(:y, 9)=>ChoiceRecord{Float64}(-0.217138, 0.755207),(:y, 1)=>ChoiceRecord{Float64}(8.84673, -0.344844),(:y, 10)=>ChoiceRecord{Float64}(-1.32226, 0.528996),(:y, 5)=>ChoiceRecord{Float64}(4.1605, 1.38225),(:y, 4)=>ChoiceRecord{Float64}(3.31077, 1.28686),:intercept=>ChoiceRecord{Float64}(3.04202, -2.76882),(:y, 3)=>ChoiceRecord{Float64}(6.30626, 0.810854),(:y, 6)=>ChoiceRecord{Float64}(2.82405, -0.991964),(:y, 8)=>ChoiceRecord{Float64}(0.736654, 1.2163),(:y, 11)=>ChoiceRecord{Float64}(-2.97161, -6.41178),(:y, 2)=>ChoiceRecord{Float64}(7.50822, 1.34212),:slope=>ChoiceRecord{Float64}(-1.12376, -1.55035)), Dict{Any,Trie{Any,Gen.ChoiceRecord}}()), Trie{Any,Gen.CallRecord}(Dict{Any,Gen.CallRecord}(), Dict{Any,Trie{Any,Gen.CallRecord}}()), false, -6.187158856986298, 0.0, ([-5.0, -4.0, -3.0, -0.2, -1.0, 0.0, 1.0, 2.0, 3.0, 4.0, 5.0],), 11)
(Suggested as a feature request by @marcoct after I asked if this exists.)