Created
April 18, 2019 12:31
-
-
Save jbruggem/7a9ad52a0f86d1140084f84b2d4e260f to your computer and use it in GitHub Desktop.
Debugging Elixir Registry
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Taken from: https://stackoverflow.com/a/50907591 | |
registry_module = My.Registry | |
{_kind, _partitions, table, _pid_ets, _} = :ets.lookup_element(registry_module, -1, 2) | |
:ets.select(table, [{:"$1", [], [:"$1"]}]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment