couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Trivial Update of "Running CouchDB in Dev Mode" by BramNeijt
Date Mon, 20 Dec 2010 13:23:33 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The "Running CouchDB in Dev Mode" page has been changed by BramNeijt.
The comment on this change is: s/couchdb/CouchDB/g.
http://wiki.apache.org/couchdb/Running%20CouchDB%20in%20Dev%20Mode?action=diff&rev1=8&rev2=9

--------------------------------------------------

  }}}
  
  === Run with debugger ===
- By default, make dev does not add debug information, so loading the debugger will not work.
To start the debugger when couchdb starts, add the following debugger:start() line to src/couchdb/couch.erl:
+ By default, make dev does not add debug information, so loading the debugger will not work.
To start the debugger when CouchDB starts, add the following debugger:start() line to src/couchdb/couch.erl:
  {{{
  start() ->
      debugger:start(),
@@ -74, +74 @@

  export ERLC_FLAGS=+debug_info
  LD_RUN_PATH=/usr/lib/xulrunner-devel-${xulrunner_gre_version}/lib/ ./configure --with-js-lib=/usr/lib/xulrunner-devel-${xulrunner_gre_version}/lib/
--with-js-include=/usr/lib/xulrunner-devel-${xulrunner_gre_version}/include/ && ERLC_FLAGS=+debug_info
make dev
  }}}
- then use the following command to start a couchdb with local configuration:
+ then use the following command to start a CouchDB with local configuration:
  {{{
  xulrunner_gre_version=`xulrunner --gre-version`
  LD_LIBRARY_PATH=/usr/lib/xulrunner-devel-${xulrunner_gre_version}/lib/ ./utils/run

Mime
View raw message