Error running '<project>': no document for: LightVirtualFile: /LLDB
I've just started using CLion for developing an application based on ROS and Qt5, but I'm unable to debug. Once I click the debug button the build succeeds but I get the following error message (regardless of using bundled LLDB or system/bundled GDB):
13:06 Error running '<project>': no document for: LightVirtualFile: /LLDB (fileType: com.intellij.openapi.fileTypes.UnknownFileType@74928a9b, language: Language: LLDB, length: 0, valid: true)
using GDB I get the similar error message
13:09 Error running '<project>': no document for: LightVirtualFile: /GDB (fileType: com.intellij.openapi.fileTypes.UnknownFileType@74928a9b, language: Language: GDB, length: 0, valid: true)
I'm not sure how to begin to look into this problem. Nothing comes up when I search for similar issues on either Google or other search engines.
I'd appreciate any tips or ideas
请先登录再写评论。
Hi! Could you please do File | Invalidate Caches / Restart...? Does it help? Does the issue happen with a default C++ ("Hello, World!") project?
Invalidate caches / restart solved the problem! Thanks!
Thanks for letting us know!
Thank you Anna Falevskaya!
I also encounter this problem and nothing useful can be obtained in search engins until I found your answer.
But, I wonder the reason why this problem happens?