Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bazel for CLion crashes on project restart when debugging (macOS) #5255

Open
mihneagogu opened this issue Aug 17, 2023 · 1 comment
Open
Assignees
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

Comments

@mihneagogu
Copy link

mihneagogu commented Aug 17, 2023

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

@mihneagogu mihneagogu added awaiting-maintainer Awaiting review from Bazel team on issues type: bug labels Aug 17, 2023
@iancha1992 iancha1992 added product: CLion CLion plugin lang: c++ C++ rules integration topic: bazel Bazel integration (external repositories, aspects, flags, etc) labels Aug 17, 2023
@tpasternak
Copy link
Collaborator

I can't reproduce it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
Status: Untriaged
Development

No branches or pull requests

5 participants