* enable getting debug information over dbus; for now
authorDirk-Jan C. Binnema <dirk-jan.binnema@nokia.com>
Tue, 8 Jan 2008 14:46:53 +0000 (14:46 +0000)
committerDirk-Jan C. Binnema <dirk-jan.binnema@nokia.com>
Tue, 8 Jan 2008 14:46:53 +0000 (14:46 +0000)
commit6c444592d419f655429195f1e8cf87c3d3adad63
tree37d97ba034e652d683fe07a934ba70fea4625719
parent6460c948fdf0ed9f02db691f2ba8b3d81242b646
* enable getting debug information over dbus; for now
  we can get the operation-queue contents; other things can be added later.

it can be retrieved (from cmdline):

run-standalone.sh dbus-send --print-reply --dest='com.nokia.modest' /com/nokia/modest com.nokia.modest.Dump

this will print it to stderr wherever that is for modest, and also return it as a string
over dbus. if you're lucky, you get something like:

modest debug dump
=================
mail operation queue (01)
-------------------------
0x82e7c00 "NokiaID_store" (RECEIVE) [IN-PROGRESS] {1/100} ''

pmo-trunk-r3991
src/dbus_api/modest-dbus-api.h
src/dbus_api/modest-dbus-callbacks.c
src/modest-mail-operation-queue.c
src/modest-mail-operation-queue.h