[erlang-questions] running trace (or similar)

Kenneth Lakin kennethlakin@REDACTED
Sun Jul 19 20:37:05 CEST 2015

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]

Eshell V7.0  (abort with ^G)
1> dbg:tracer().

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?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20150719/c098ce5b/attachment.bin>

More information about the erlang-questions mailing list