[erlang-questions] is there rr() finctionality outside of shell?
Wed Jul 1 16:58:20 CEST 2015
The shell uses the io_lib_pretty module to format records, so you could try
tapping into that. It's undocumented, so YMMV, stuff could break in future
versions, etc. But if you're careful with upgrades and such then you'll
probably be okay.
More info on how to use io_lib_pretty at these links:
On Sat, Jun 27, 2015 at 5:31 AM, Alex Shneyderman <a.shneyderman@REDACTED>
> Hi, all!
> I would like to nicely format dbg output. I have a formatter function
> but io:format() out of there produces plain tuples. Even if I am
> running this dbg:tc() code within the shell that saw rr() call
> Is there a lib some place that helps with formatting records nicely,
> besides trying to dig it out the shell code?
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions