LiveDebugger.GenServers.CallbackTracingServer (LiveDebugger v0.1.6)

View Source

This gen_server is responsible for tracing callbacks and managing ETS tables.

Summary

Functions

Returns a specification to start this module under a supervisor.

If table for given pid exists it deletes it from ETS.

Checks if GenServer has been loaded

Returns ETS table reference. It creates table if none is associated with given pid

Types

table_refs()

@type table_refs() :: %{required(pid()) => :ets.table()}

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

delete_table!(pid)

@spec delete_table!(pid :: pid()) :: :ok

If table for given pid exists it deletes it from ETS.

ping!()

@spec ping!() :: :ok

Checks if GenServer has been loaded

table!(pid)

@spec table!(pid :: pid()) :: :ets.table()

Returns ETS table reference. It creates table if none is associated with given pid