couchdb-erlang mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chris snow <chsnow...@gmail.com>
Subject run couchdb with erlang debugger
Date Sun, 26 Oct 2014 11:15:28 GMT
Hi Forum,

I would like to run couchdb and set breakpoints with the erlang
debugger and watch some queries, etc., to help with my understanding
of the code base.

I have seen a post [1] that describes how to use the erlang debugger
with couchdb,  but it seems to be quite old and no longer works on
master.

The instructions provided are:

----
git clone https://github.com/apache/couchdb.git
ERLC_FLAGS=+debug_info ./configure
make dev
./utils/run -i
debugger:start().
----

Would someone be able to help by providing some debugging instructions
that will work on the current master?

Many thanks,

Chris

[1] http://adamlofts.blogspot.co.uk/2012/05/couchdb-development-debugging.html

Mime
View raw message