[gnome-builder/1074-vala-language-server-add-support-using-gvls-2: 14/18] lsp: add some logging for RPC calls



commit f64e15c441bd8f205982f24dd60a3a42aa36456d
Author: Christian Hergert <chergert redhat com>
Date:   Fri Jan 3 14:14:17 2020 -0800

    lsp: add some logging for RPC calls

 src/libide/lsp/ide-lsp-client.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/libide/lsp/ide-lsp-client.c b/src/libide/lsp/ide-lsp-client.c
index 7a06568fd..8e53333be 100644
--- a/src/libide/lsp/ide-lsp-client.c
+++ b/src/libide/lsp/ide-lsp-client.c
@@ -883,6 +883,8 @@ ide_lsp_client_handle_call (IdeLspClient  *self,
   g_assert (id != NULL);
   g_assert (JSONRPC_IS_CLIENT (client));
 
+  IDE_TRACE_MSG ("Received remote call for method \"%s\"", method);
+
   if (strcmp (method, "workspace/configuration") == 0)
     {
       g_autoptr(GVariant) config = NULL;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]