[erlang-questions] View Compiled Binary Search Pattern
Mon May 15 06:09:18 CEST 2017
Hmm.. it would have been a wonderful thing if there was some debug command
to dump the magic binary content. Anyway, thanks for the feedback.
On Sat, May 13, 2017 at 8:36 PM, Jesper Louis Andersen <
> I don't think there is any support for this in the current or new Erlang
> systems. Compiled patterns are represented as magic binaries currently.
> This will change in Erlang/OTP 20.0 where you will have a reference type
> for this. But the semantics will stay the same: There is no way to go
> backwards. You best bet is to figure out where the creator code is. Then
> you can look at who creates the compiled binary search pattern.
> On Sat, May 13, 2017 at 12:52 PM Eranga Udesh <eranga.erl@REDACTED>
>> Is there anyway to view Compiled Binary Search Pattern for debugging
>> purposes? I need to output (dump) all content inside the Compiled Pattern.
>> Any possibility?
>> Thanks in advance.
>> - Eranga
>> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions