On 29 Apr 2011, at 06:36, Andrey Somov wrote:
> P.S. I have already identified some redundant code (
> https://issues.apache.org/jira/browse/COUCHDB-920).
> I hope I can further improve the code base when I am able to debug the
> running database.
Thank you for your efforts Andrey and thanks for
On 28 Apr 2011, at 19:17, Nathan Stott wrote:
> Originally, (until 0.11 I think?) CouchDB was developed without unit
> tests.
That is not correct. The source has always contained testing code for
the harder parts of CouchDB. They just weren't always accessible to
the user, but only to developers
Hi Robert,
unfortunately, I could not build distel (on Ubuntu 10.04):
trop:~/distel-bdionne$ erl
Erlang R13B03 (erts-5.7.4) [source] [rq:1] [async-threads:0] [hipe]
[kernel-poll:false]
Eshell V5.7.4 (abort with ^G)
1>
trop:~/distel-bdionne$ make --debug
GNU Make 3.81
Copyright (C) 2006 Free So
Hello Robert,
this is much closer to what I expect.
I assume I should follow the procedure described here
http://mail-archives.apache.org/mod_mbox/couchdb-dev/200811.mbox/%3cc397e43f-096f-4892-9519-383032622...@dionne-associates.com%3E
I will give it a try.
Thank you very much.
-
Andrey
P.S. I ha
Hi Andrey,
I use Distel[1] (Distributed emacs lisp for Erlang), a set of emacs
extensions that create a full development environment for Erlang. It connects
to a running node so one gets full access to the syntax_tools and source code
of Erlang, all at run time. As this brief white paper poin
On 29 Apr 2011, at 03:17, Nathan Stott wrote:
> Originally, (until 0.11 I think?) CouchDB was developed without unit
> tests. I take it from this thread it was also developed then without
> step-by-step debugging. It's amazing how stable it is and has been in
> light of those two facts.
Depend
Originally, (until 0.11 I think?) CouchDB was developed without unit
tests. I take it from this thread it was also developed then without
step-by-step debugging. It's amazing how stable it is and has been in
light of those two facts.
On Thu, Apr 28, 2011 at 7:40 PM, till wrote:
> On Fri, Apr 29
On Fri, Apr 29, 2011 at 2:38 AM, Miles Fidelman
wrote:
> Andrey Somov wrote:
>>
>> On Fri, Apr 29, 2011 at 1:01 AM, Paul
>> Daviswrote:
>>
>>
>>>
>>> On Thu, Apr 28, 2011 at 6:57 PM, Nathan Stott wrote:
>>>
So couchdb is really developed without using step-by-step debugging at
all?
Andrey Somov wrote:
On Fri, Apr 29, 2011 at 1:01 AM, Paul Daviswrote:
On Thu, Apr 28, 2011 at 6:57 PM, Nathan Stott wrote:
So couchdb is really developed without using step-by-step debugging at
all? That seems quite odd.
I never use step by step debugging on any project i
On Thu, Apr 28, 2011 at 8:21 PM, Andrey Somov wrote:
> On Fri, Apr 29, 2011 at 1:01 AM, Paul Davis
> wrote:
>
>> On Thu, Apr 28, 2011 at 6:57 PM, Nathan Stott wrote:
>> > So couchdb is really developed without using step-by-step debugging at
>> > all? That seems quite odd.
>> >
>>
>> I never us
On Fri, Apr 29, 2011 at 1:01 AM, Paul Davis wrote:
> On Thu, Apr 28, 2011 at 6:57 PM, Nathan Stott wrote:
> > So couchdb is really developed without using step-by-step debugging at
> > all? That seems quite odd.
> >
>
> I never use step by step debugging on any project in any language.
> I've ne
On Thu, Apr 28, 2011 at 15:57, Nathan Stott wrote:
> So couchdb is really developed without using step-by-step debugging at
> all? That seems quite odd.
>
Most of the time, when I've written couchdb patches and they're wrong
I immediately get dying processes, stack traces and errors. The number
Tracing seems more common in Erlang. Have you looked at the debugger or redbug?
On 28/04/2011, at 10:57 PM, Nathan Stott wrote:
> So couchdb is really developed without using step-by-step debugging at
> all? That seems quite odd.
>
> On Thu, Apr 28, 2011 at 5:52 PM, Paul Davis
> wrote:
>> On
On Thu, Apr 28, 2011 at 6:57 PM, Nathan Stott wrote:
> So couchdb is really developed without using step-by-step debugging at
> all? That seems quite odd.
>
I never use step by step debugging on any project in any language.
I've never found it that useful.
So couchdb is really developed without using step-by-step debugging at
all? That seems quite odd.
On Thu, Apr 28, 2011 at 5:52 PM, Paul Davis wrote:
> On Thu, Apr 28, 2011 at 6:45 PM, Andrey Somov
> wrote:
>> On Thu, Apr 28, 2011 at 7:43 PM, Miles Fidelman
>> wrote:
>>
>>> I'm not 100% sure, b
On Thu, Apr 28, 2011 at 6:45 PM, Andrey Somov wrote:
> On Thu, Apr 28, 2011 at 7:43 PM, Miles Fidelman
> wrote:
>
>> I'm not 100% sure, but I expect Erlide might fill the bill - it's an Erlang
>> IDE that runs under Eclipse. Now how much further that takes you into the
>> guts of CouchDB is anoth
On Thu, Apr 28, 2011 at 7:43 PM, Miles Fidelman
wrote:
> I'm not 100% sure, but I expect Erlide might fill the bill - it's an Erlang
> IDE that runs under Eclipse. Now how much further that takes you into the
> guts of CouchDB is another story.
>
>
I tried to use erlIDE but I did not find a way t
On Thu, Apr 28, 2011 at 3:19 PM, Benoit Chesneau wrote:
> On Thursday, April 28, 2011, Paul Davis wrote:
>> On Thu, Apr 28, 2011 at 12:15 PM, Andrey Somov
>> wrote:
>>> Thank you, but the question is not how to run but how to DEBUG (and watch
>>> all the values, function calls etc)
>>> Just the
On Thursday, April 28, 2011, Paul Davis wrote:
> On Thu, Apr 28, 2011 at 12:15 PM, Andrey Somov
> wrote:
>> Thank you, but the question is not how to run but how to DEBUG (and watch
>> all the values, function calls etc)
>> Just the ability to run CouchDB does not help to understand who is callin
The simplest thing is just:
make dev
./utils/run -i
This will launch couch and drop you into an interacting erlang session.
>From there you can use erlang calls to inspect processes, enable tracing, etc.
As far as an interactive step debugger I don't know. Never tried.
On Thu, Apr 28, 2011 at 1
I'm not 100% sure, but I expect Erlide might fill the bill - it's an
Erlang IDE that runs under Eclipse. Now how much further that takes you
into the guts of CouchDB is another story.
Andrey Somov wrote:
Thank you, but the question is not how to run but how to DEBUG (and watch
all the values,
On Thu, Apr 28, 2011 at 12:15 PM, Andrey Somov
wrote:
> Thank you, but the question is not how to run but how to DEBUG (and watch
> all the values, function calls etc)
> Just the ability to run CouchDB does not help to understand who is calling
> whom, when, how, with which arguments...
>
Oh, got
Thank you, but the question is not how to run but how to DEBUG (and watch
all the values, function calls etc)
Just the ability to run CouchDB does not help to understand who is calling
whom, when, how, with which arguments...
-
Andrey
On Thu, Apr 28, 2011 at 6:10 PM, Paul Davis wrote:
> On Thu,
On Thu, Apr 28, 2011 at 12:03 PM, Andrey Somov
wrote:
> Hi all,
> in order to understand how CouchDB works I want be able to run the
> application under debugger. Unfortunately it does not look like an easy
> task.
> The information provided on the wiiki (
> http://wiki.apache.org/couchdb/Running%
24 matches
Mail list logo