User Profile


person axelson   starPREMIUM

Member since 09/12/2019


Karma

2

Public Bits


1
Posted by axelson 29 days ago
Trace all calls to a module without any external libraries
        
:dbg.tracer()
# Or replace the `_` with a function name to trace just that function
:dbg.tpl(MyModule...        
      
MORE

0
Posted by axelson 10 months ago
        
iex> :code.which Tuple
'/Users/jason/.asdf/installs/elixir/1.8.1-otp-21/bin/../lib/elixir/ebin/Elixir...        
      
MORE

0
Posted by axelson 10 months ago
Trace garbage collection of a process with pid `pid`.
        
:dbg.tracer(); :dbg.p(pid, [:garbage_collection])        
      

1
Posted by axelson 10 months ago
        
System.unique_integer([:positive, :monotonic])