mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-02-16 22:05:55 -05:00
Print more info when demarshal fails
This commit is contained in:
parent
379b678c57
commit
c098d8da47
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue