Bazel for CLion crashes on project restart when debugging (macOS) #5255
Labels
awaiting-maintainer
Awaiting review from Bazel team on issues
lang: c++
C++ rules integration
product: CLion
CLion plugin
topic: bazel
Bazel integration (external repositories, aspects, flags, etc)
type: bug
Description of the bug:
Whenever a project which was imported to CLion using Bazel is closed, upon reopening the project the plugin crashes when attempting to debug.
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Import any C++ Bazel project into CLion (any trivial hello world program will do). Set a breakpoint. Press the 'debug' button in CLion and confirm that it works. Close the project tab. Reopen the project. Now run 'debug' again. CLion will complain that the plugin has crashed and now the program runs without any breakpoints being triggered (presumably because the plugin crashed).
Keep in mind that this issue affects macOS. I am unaware whether it is a problem for other OS.
Which Intellij IDE are you using? Please provide the specific version.
CLion, Build #CL-232.8660.186
What programming languages and tools are you using? Please provide specific versions.
C++, /usr/bin/cc defaults to clang
What Bazel plugin version are you using?
Bazel: 6.3.2, Bazel for CLion: 2023.07.18.0.1-api-version-232
Have you found anything relevant by searching the web?
Any other information, logs, or outputs that you want to share?
No response
The text was updated successfully, but these errors were encountered: