[erlang-questions] tracing very large terms

Max Lapshin max.lapshin@REDACTED
Mon Sep 26 18:51:44 CEST 2011


I had to make such module:
https://github.com/erlyvideo/erlyvideo/blob/master/apps/erlyvideo/src/core/io_lib_pretty_limited.erl

for this fix:
https://github.com/erlyvideo/erlyvideo/blob/master/apps/erlyvideo/src/core/gen_server_ems.erl#L747

Without this code one large process can kill whole VM while writing
logs about his death.


On Mon, Sep 26, 2011 at 11:47 PM, Daniel Goertzen
<daniel.goertzen@REDACTED> wrote:
> I am struggling to debug functions that reference very large terms
> (thousands of lines to print).  Crash reports and trace outputs are huge and
> finding the interesting bits is hard.  This isn't a trace pattern problem;
> actual number of trace outputs is maybe a dozen or so.
> Just wondering what others do to manage this situation.  I've looked for a
> text editor that can do parenthesis folding, but no luck so far.  Ideas?
> Dan.
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
>



More information about the erlang-questions mailing list