Inspect language clients

Qt Creator sends messages (requests) to a language server and receives responses that have the requested information if the language server is capable of handling the requests. To inspect the communication between Qt Creator and language servers and to view server capabilities, select Tools > Debug Qt Creator > Inspect Language Clients.

{Language Client Inspector dialog}

Select a running language server in Language Server. The information displayed depends on the language server.

For a generic language server, the value of the Startup behavior field in the language server preferences determines when the server is started. To restart language servers, select on the editor toolbar, and go to Restart.

Log displays additional information about the selected log entry. You can see the Content length and MIME type of a Client Message and Server Message, as well as inspect the data sent between Qt Creator and the language server.

To remove old entries, select Clear.

Check language server capabilities

In Capabilities, you can check whether a language server is capable of a specific task. You cannot modify the server capabilities in this dialog.

You can view the Name, Value, and Type of the capability.

{Language Client Inspector Capabilities tab}

For some language servers, Dynamic Capabilities lists the Methods and Options available.

Inspect memory usage

For a clangd server, you can inspect the total amount of memory used by a particular component in Memory Usage.

{Language Client Inspector Memory Usage tab}

See also How To: Manage Language Servers and Language Servers.

© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.