Make debugging index/ query easier
Bug #1271977 reported by
Cris Dywan
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
U1DB Qt/ QML |
Fix Committed
|
High
|
Unassigned | ||
u1db-qt (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Whilst working on Synchronizer I found myself inserting plenty of diagnostic qDebug calls until I finally thought on how to solve this via sync_output which contains both successes and failures and can even be incorporated in a GUI on a phone or tablet.
Especially the lack of manpower makes me think we need a similar solution for Index and Query to more easily track down the bugs which lately get filed faster than they are fixed.
Related branches
lp://staging/~kalikiana/u1db-qt/queryLog
- Benjamin Zeller: Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 849 lines (+195/-488)7 files modifiedexamples/CMakeLists.txt (+1/-1)
examples/bookmarks/bookmarks.qml (+131/-450)
examples/u1db-qt-example-4/u1db-qt-example-4.qdoc (+0/-24)
src/index.cpp (+6/-2)
src/query.cpp (+16/-8)
src/query.h (+2/-2)
tests/tst_query.qml (+39/-1)
To post a comment you must log in.
Fix committed into lp:u1db-qt at revision 112, scheduled for release in u1db-qt, milestone 1.0