Re: debugging view or filter functions in design documents

2014-10-01 Thread Igor Ievsiukov
afaik 'log' function is not defined it default JS context in CBL iOS. If do really want to waste some time on this, you can try to use my fork in your project https://github.com/evsukov89/couchbase-lite-ios/commits/sqlcipher Besides having all usual JS functions defined like in Apache CouchDB,

Re: debugging view or filter functions in design documents

2014-09-27 Thread Jens Alfke
> On Sep 27, 2014, at 2:24 PM, Seung Chan Lim wrote: > > I'm trying to figure out how to trace within such a function or at least do > print statement style debugging. Unfortunately there isn't a log( ) function in that context. :( It wouldn't be hard to add one, though — it would be register

debugging view or filter functions in design documents

2014-09-27 Thread Seung Chan Lim
Hi, Is anyone else using cblite on phonegap (iOS) and debugging views or filter functions in design docs? I'm trying to figure out how to trace within such a function or at least do print statement style debugging. I'm debugging directly on the iPhone with console access through safari web in