Skip to content

Instantly share code, notes, and snippets.

@jbruggem
Created April 18, 2019 12:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jbruggem/7a9ad52a0f86d1140084f84b2d4e260f to your computer and use it in GitHub Desktop.
Save jbruggem/7a9ad52a0f86d1140084f84b2d4e260f to your computer and use it in GitHub Desktop.
Debugging Elixir Registry
# 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