[erlang-questions] running trace (or similar)

Fernando 'Brujo' Benavides fernando.benavides@REDACTED
Sun Jul 19 21:05:13 CEST 2015


And, for development purposes, you can always start your app using make shell, instead of building a release and running it.
 

Fernando "Brujo" Benavides
about.me/elbrujohalcon

 
 



> On Jul 19, 2015, at 15:37, Kenneth Lakin <kennethlakin@REDACTED> wrote:
> 
> On 07/18/2015 02:44 PM, Ben Hsu wrote:
>> 
>> Hello
>> 
>> I am learning erlang by playing with a small webapp. The webapp is
>> written in Cowboy with erlang.mk <http://erlang.mk>
>> 
>> "make" creates a binary in _rel and I can use this binary to start a
>> console.
>> 
>> ./_rel/fiar/bin/fiar console
> 
> I can't get fiar to build because of erlang.mk's insistence that
> warnings be treated as errors, so I can't help you with your *real*
> problem. (erlang.mk devs: Any chance that this, and erlang.mk's utter
> inability to build with parallel make will ever get fixed? :) )
> 
> All I can tell you is that dbg:tracer/0 works for me in a newly started
> erl shell:
> 
> Erlang/OTP 18 [erts-7.0] [source] [smp:2:2] [async-threads:10] [hipe]
> [kernel-poll:false]
> 
> Eshell V7.0  (abort with ^G)
> 1> dbg:tracer().
> {ok,<0.36.0>}
> 2>
> 
> Taking a wild guess: what if you added runtime_tools to the list of
> applications in src/fiar.app.src and then rebuilt? Does dbg:tracer/0
> work in your fiar shell now?
> 
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions




More information about the erlang-questions mailing list