[Spice-devel] [PATCH] spice-gtk: controller: log messages received from a controller

Uri Lublin uril at redhat.com
Thu Oct 18 01:20:35 PDT 2012


On 10/17/2012 07:48 PM, Marc-André Lureau wrote:
> ----- Mensaje original -----
>> ---
>>   gtk/controller/controller.vala |   25 +++++++++++++++++++++++++
>>   1 files changed, 25 insertions(+), 0 deletions(-)
>>
>> diff --git a/gtk/controller/controller.vala
>> b/gtk/controller/controller.vala
>> index 24433ec..ffd57c3 100644
>> --- a/gtk/controller/controller.vala
>> +++ b/gtk/controller/controller.vala
>> @@ -93,86 +93,111 @@ public class Controller: Object {
>>   		switch (msg.id) {
>>   		case SpiceProtocol.Controller.MsgId.HOST:
>>   			host = str;
>> +			debug ("got HOST: %s".printf (str));
>>   			break;
>>
>
> Are you trying to debug something? :)
>
> ack

It's good to have it in case we do want to debug something -- rhbz #767581

Thanks,
     Uri



More information about the Spice-devel mailing list