way to manage erlang console dumper

Ivan Glushkov gli.work@REDACTED
Mon Jun 21 15:31:04 CEST 2010


Hi.

Is there some way to manage the length after which erlang console
dumper begin to shorten complex term print?
For example

> f(F), F = fun(C) -> lists:concat(lists:duplicate(15, C)) end,  F([{1, F("a")}, {2, F("b")}]).
[{1,"aaaaaaaaaaaaaaa"},
 {2,"bbbbbbbbbbbbbbb"},
 {1,"aaaaaaaaaaaaaaa"},
 {2,"bbbbbbbbbbbbbbb"},
 {1,"aaaaaaaaaaaaaaa"},
 {2,"bbbbbbbbbbbbbbb"},
 {1,"aaaaaaaaaaaaaaa"},
 {2,"bbbbbbbbbbbbbbb"},
 {1,"aaaaaaaaaaaaaaa"},
 {2,"bbbbbbbbbbbbbbb"},
 {1,"aaaaaaaaaaaaaaa"},
 {2,"bbbbbbbbbbbbbbb"},
 {1,"aaaaaaaaaaaaaaa"},
 {2,"bbbbbbbbbbbbbbb"},
 {1,"aaaaaaaaaaaaaaa"},
 {2,"bbbbbbbbbbbbbbb"},
 {1,"aaaaaaaaaaaaaaa"},
 {2,"bbbbbbbbbbbbbbb"},
 {1,"aaaaaaaaaaaaaaa"},
 {2,"bbbbbbbbbbbbbbb"},
 {1,"aaaaaaaaaaaaaaa"},
 {2,"bbbbbbbbbbbbbbb"},
 {1,"aaaaaaaaaaaaaaa"},
 {2,"bbbbbbbbbbbbbbb"},
 {1,"aaaaaaaaaaaaaaa"},
 {2,"bbbbbbbbbbbbbbb"},
 {1,[...]},
 {2,...},
 {...}|...]

Surely, i can insert io:format instead of just entering terms. But
it's slightly inconvenient.

I expected erlang console to have such an option, but i didn't find one.

Thanks.

Ivan.


More information about the erlang-questions mailing list