incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johannes Schneider <maili...@cedarsoft.com>
Subject Re: breakpoints
Date Sat, 18 Sep 2010 09:45:46 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have the same problems...

I have been able to create some unit tests - but only for the map
functions so far. I think I will create a blog post describing the
necessary steps soon...

On 09/18/2010 11:33 AM, Nils Breunese wrote:
> The design doc code is run server-side, while Firebug runs in your browser, so no, it
doesn't sound like that's possible. I guess your best friend is the log() function which you
can call from functions in your design document and writes to the CouchDB log file.
> 
> Nils.
> ________________________________________
> Van: Wolfgang Egger [beuys@wolfgang-egger.de]
> Verzonden: zaterdag 18 september 2010 8:06
> Aan: user@couchdb.apache.org
> Onderwerp: breakpoints
> 
> Servus,
> 
> I am playing a little with evently after watching some of this videos.
> 
> To see whats happening while runtime (cause not everythig behaves lije I
> exoected to) I would like to debug e.g. data.js with firebug setting some
> breakpoints.
> 
> Sadly, I cant find  the place, to break, to step into the design-doc-code.
> 
> Is that possible? Any hints are welcome!
> 
> Have a nice and relaxing day
> 
> Wolfgang
> 
> 

- -- 
Johannes Schneider - blog.cedarsoft.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEcBAEBAgAGBQJMlIpIAAoJEAytD9R7Qv6dMx4IALC3zfizOilSaAHPMMouon1z
yLUyZMyQRxLx4R4bV6ZrUDC/x40BR/r8MluYrOBQRRTeypFBTcOPZt7nZrJPuEC9
shPHvqbTJUyNxxhnNSPhvGMFVxa/47tPZDIAn3PybgDTHweWEa5SH5xGa+lJHZ6g
2U4dTklHov3HNqdJRXV3YPBHZKpfhn56FMzBJRPQASukqaU3VUk+lzrKcaAAVH0H
CMtO0i2lxU2M92hANK0NasUbeqm5rgTsnXlqp8AESjjFy2/t73gKlXSuD6LHumh6
Y3F7vYTTmGB3bilyrjVJ69i1iZiOv8MCkyfOcTePHgfddOQ2i7BOHI/tEhj+EBU=
=vVsy
-----END PGP SIGNATURE-----

Mime
View raw message