如果erlang中的结果太大,则无法在erl终端上完全显示。有什么办法可以解决吗?
[{rabbit_prelaunch_sup,'_',#Fun<erl_eval.42.3316493>},
{rabbit_prelaunch_sighandler,'_',#Fun<erl_eval.42.3316493>},
{rabbit_semver_parser,'_',#Fun<erl_eval.42.3316493>},
{rabbit_semver,'_',...},
{rabbit_runtime_parameter,...},
{...}|...]
最佳答案
使用rp(Term)
,如shell functions所示。当使用 rp/1 时,无论它有多深,它都会打印该术语。
Prints a term using the record definitions known to the shell. All of Term is printed; the depth is not limited as is the case when a return value is printed.
关于erlang - erlang中的erl终端如何完整显示,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/75566211/