From c098d8da474df9d6ce396ec4068371a022248b16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Wed, 28 Jul 2010 23:47:16 -0400 Subject: [PATCH] Print more info when demarshal fails --- connection.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/connection.c b/connection.c index 264c6ab4..577e83c2 100644 --- a/connection.c +++ b/connection.c @@ -344,7 +344,8 @@ wl_connection_demarshal(struct wl_connection *connection, types[i] = &ffi_type_pointer; object = wl_hash_table_lookup(objects, *p); if (object == NULL && *p != 0) - printf("unknown object (%d)\n", *p); + printf("unknown object (%d), message %s(%s)\n", + *p, message->name, message->signature); values[i].object = object; p++; break;