discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=2444e127ddf3cc3cf0efb4dd3b1e76eb9728a632

commit 2444e127ddf3cc3cf0efb4dd3b1e76eb9728a632
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Sat Feb 13 11:25:48 2016 -0500

    eldbus: add more debug prints for proxy and signal handler
---
 src/lib/eldbus/eldbus_proxy.c          | 2 ++
 src/lib/eldbus/eldbus_signal_handler.c | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/lib/eldbus/eldbus_proxy.c b/src/lib/eldbus/eldbus_proxy.c
index d8d3cbf..4ca2b6c 100644
--- a/src/lib/eldbus/eldbus_proxy.c
+++ b/src/lib/eldbus/eldbus_proxy.c
@@ -158,6 +158,7 @@ _eldbus_proxy_free(Eldbus_Proxy *proxy)
    unsigned int i;
    Eldbus_Signal_Handler *h;
 
+   DBG("freeing proxy=%p", proxy);
    EINA_LIST_FREE(proxy->handlers, h)
      {
         if (h->dangling)
@@ -665,6 +666,7 @@ eldbus_proxy_signal_handler_add(Eldbus_Proxy *proxy, const 
char *member, Eldbus_
    handler = _eldbus_signal_handler_add(proxy->obj->conn, name, path,
                                        proxy->interface, member, cb, cb_data);
    EINA_SAFETY_ON_NULL_RETURN_VAL(handler, NULL);
+   DBG("signal handler added: proxy=%p handler=%p cb=%p", proxy, handler, cb);
 
    eldbus_signal_handler_free_cb_add(handler, _on_signal_handler_free, proxy);
    proxy->handlers = eina_list_append(proxy->handlers, handler);
diff --git a/src/lib/eldbus/eldbus_signal_handler.c 
b/src/lib/eldbus/eldbus_signal_handler.c
index 8fedf21..7009319 100644
--- a/src/lib/eldbus/eldbus_signal_handler.c
+++ b/src/lib/eldbus/eldbus_signal_handler.c
@@ -233,7 +233,7 @@ _eldbus_signal_handler_clean(Eldbus_Signal_Handler *handler)
    DBusError err;
 
    if (handler->dangling) return;
-
+   DBG("clean handler=%p path=%p cb=%p", handler, handler->path, handler->cb);
    dbus_error_init(&err);
    dbus_bus_remove_match(handler->conn->dbus_conn,
                          eina_strbuf_string_get(handler->match), &err);

-- 


Reply via email to