X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fat-spi2-atk.git;a=blobdiff_plain;f=droute%2Fdroute.c;h=5ab1478ee456a9408a5fe7d280389fbbccf6f1dd;hp=212c28088f442d502d3fab67f4ea6a2b484a5839;hb=5713a8e46559b6de9fbf5fc3e073d0d482d8c7e1;hpb=e0f0a772ab239471f69ece3b99e7e7786953028d diff --git a/droute/droute.c b/droute/droute.c index 212c280..5ab1478 100644 --- a/droute/droute.c +++ b/droute/droute.c @@ -310,6 +310,8 @@ impl_prop_GetSet (DBusMessage *message, DBUS_TYPE_INVALID)) return dbus_message_new_error (message, DBUS_ERROR_FAILED, error.message); + _DROUTE_DEBUG ("DRoute (handle prop): %s|%s on %s\n", pair.one, pair.two, pathstr); + prop_funcs = (PropertyPair *) g_hash_table_lookup (path->properties, &pair); if (!prop_funcs) return dbus_message_new_error (message, DBUS_ERROR_FAILED, "Property unavailable"); @@ -447,6 +449,7 @@ handle_introspection (DBusConnection *bus, for (i=0; i < path->interfaces->len; i++) { gchar *interface = (gchar *) g_ptr_array_index (path->interfaces, i); + _DROUTE_DEBUG ("DRoute (appending interface): %s\n", interface); append_interface(output, interface, path->cnx->introspect_dir); } @@ -505,6 +508,9 @@ handle_other (DBusConnection *bus, dbus_message_unref (reply); result = DBUS_HANDLER_RESULT_HANDLED; } + + _DROUTE_DEBUG ("DRoute (handle other) (reply): type %d\n", + dbus_message_get_type(reply)); return result; } @@ -519,6 +525,8 @@ handle_message (DBusConnection *bus, DBusMessage *message, void *user_data) const gint type = dbus_message_get_type (message); const gchar *pathstr = dbus_message_get_path (message); + _DROUTE_DEBUG ("DRoute (handle message): %s|%s of type %d on %s\n", member, iface, type, pathstr); + /* Check for basic reasons not to handle */ if (type != DBUS_MESSAGE_TYPE_METHOD_CALL || member == NULL ||