Get logs from attempted import of compile_commands.json compilation database


Are there full logs dumped somewhere when CLion attempts to import a compile_commands.json compilation database? It would be helpful for us to be able to view all the errors/warnings that are generated somewhere that we can zip and share.

The build tab has two tabs when done. The import results tab has text that can be selected. But the Compiler Info tab can not be selected. It has a whole series of "cannot get compiler information errors". The user has to click on each of those to show a right pane with the results of that run. But there doesn't seem to be a way to copy them all together.





Basically we are looking for the equivalent of cmake-build-debug for compilation database projects.


Hi David! You can turn on additional logging (by adding #com.jetbrains.cidr.external.system to Help | Debug Log Settings) - in this case these errors should appear in the idea.log file (Help | Show Log in...) when you import a project.


Is there a debug log setting to have it log larger files before rotating or have more files in rotation? We are getting so many errors they are chopped off (out of the full set).


Please sign in to leave a comment.