[erlang-questions] unhelpful backtrace truncation

michael.truog <>
Wed Dec 10 00:45:23 CET 2008


Wouldn't the function call "erlang:system_flag(bracktrace_depth, Depth)"
provide you more information here?
 

-----Original Message-----
From: 
[mailto:] On Behalf Of ext Roger
Critchlow
Sent: Monday, December 08, 2008 4:56 PM
To: Erlang-Questions (E-mail)
Subject: [erlang-questions] unhelpful backtrace truncation

This kind of truncated stack backtrace, generated by erl -boot
start_sasl:

** Reason for termination ==
** {{key_exists,"7b181d15cebb4c86a6ad7fed3dbf30ce2223b4c5"},
    [{gb_trees,insert_1,4},
     {gb_trees,insert_1,4},
     {gb_trees,insert_1,4},
     {gb_trees,insert_1,4},
     {gb_trees,insert_1,4},
     {gb_trees,insert_1,4},
     {gb_trees,insert_1,4},
     {gb_trees,insert_1,4}]}

is not very helpful.

It is especially galling since I had to page past a 4000 line print out
of the server's state to reach it.

Is there some option to start_sasl which would print the entire stack
backtrace?

-- rec --
_______________________________________________
erlang-questions mailing list

http://www.erlang.org/mailman/listinfo/erlang-questions



More information about the erlang-questions mailing list