You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am playing around the :dbg module in Elixir recently. I noticed I can't use the builtin match_spec functions with :dbg.fun2ms/1 in Elixir. So will this library plans to support it too?
Example:
But it quite inconvenient.
I'm wondering if I used it in the wrong way or people use match spec directly without this kind of helper functions. I can't find related topics about this issue. I only saw Elixir is going to Deprecate usage of parse_transforms(elixir-lang/elixir#5762) and point to here. so I think maybe here is the right place to ask the question. 😄
The text was updated successfully, but these errors were encountered:
chrismcg
added a commit
to chrismcg/ex2ms
that referenced
this issue
May 3, 2019
The Match Specification in Erlang documentation has a list of
ActionFunction's that can be used in the body when creating match
specifications for tracing functions for use in :erlang.trace_pattern/3.
http://erlang.org/doc/apps/erts/match_spec.html
This adds support for those functions so tracing match specifications
can be constructed using Ex2ms.
Closesericmj#20
The Match Specification in Erlang documentation has a list of
ActionFunction's that can be used in the body when creating match
specifications for tracing functions for use in :erlang.trace_pattern/3.
http://erlang.org/doc/apps/erts/match_spec.html
This adds support for those functions so tracing match specifications
can be constructed using Ex2ms.
Closes#20
Hi,
First of all, thanks for the nice libraray. 😄
I am playing around the
:dbg
module in Elixir recently. I noticed I can't use the builtin match_spec functions with:dbg.fun2ms/1
in Elixir. So will this library plans to support it too?Example:
So my workaround is using atom as function and warpping the tuple manualy of
:dbg.fun2ms/1
output.But it quite inconvenient.
I'm wondering if I used it in the wrong way or people use match spec directly without this kind of helper functions. I can't find related topics about this issue. I only saw Elixir is going to Deprecate usage of parse_transforms(elixir-lang/elixir#5762) and point to here. so I think maybe here is the right place to ask the question. 😄
The text was updated successfully, but these errors were encountered: