[erlang-questions] View Compiled Binary Search Pattern

Jesper Louis Andersen jesper.louis.andersen@REDACTED
Sat May 13 17:06:20 CEST 2017

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> wrote:

> Hi,
> 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
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20170513/3a833b0a/attachment.htm>

More information about the erlang-questions mailing list