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
No traces for the functions given in @on_load and @on_definition attributes are emitted.
Expected behavior
I would expect @on_load to emit :local_function (or :remote_function) and @on_definition to emit :remote_function events. @before_compile, @after_compile and @after_verify correctly emit :remote_(function|macro)
The text was updated successfully, but these errors were encountered:
Elixir and Erlang/OTP versions
Erlang/OTP 27 [erts-15.2.5] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1] [jit]
Elixir 1.18.3 (compiled with Erlang/OTP 27)
Operating system
any
Current behavior
With an example tracer
compile example code from https://hexdocs.pm/elixir/1.18.3/Module.html#module-on_definition and https://hexdocs.pm/elixir/1.18.3/Module.html#module-on_load
No traces for the functions given in
@on_load
and@on_definition
attributes are emitted.Expected behavior
I would expect
@on_load
to emit:local_function
(or:remote_function
) and@on_definition
to emit:remote_function
events.@before_compile
,@after_compile
and@after_verify
correctly emit:remote_(function|macro)
The text was updated successfully, but these errors were encountered: