How to enable lcnt in elixir?

How to enable lcnt module in iex shell?

I configured and compiled erlang as described in the lсnt manual, compiled a elixir based on it, and running the application as a elixir release

When I start the console, I get the message

Erlang/OTP 24 [erts-12.1.5] [source] [64-bit] [smp:40:40] [ds:40:40:10] [async-threads:1] [jit:no-native-stack] **[lock-counting]**

Interactive Elixir (1.12.3) - press Ctrl+C to exit (type h() ENTER for help)

which indicates that lock counting is enabled

but the :lсnt module is still not available

Tell me, what I’m doing wrong?

1 Like

:lcnt is part of the tools Erlang/OTP application. Have you included that in your release?


Hi @garazdawi

added to
applications: [tools: :temporary, ...]
And it helped!

Thank you very much for your help!

1 Like