Clion: gdb report missing file for cc_test #6509
Labels
awaiting-maintainer
Awaiting review from Bazel team on issues
lang: c++
C++ rules integration
product: CLion
CLion plugin
type: bug
Description of the bug:
run button for all the targets works well.
But gdb button works only for cc_binary.
cc_test will report a missing file issue, even for the path the binary of gdbserver exists.
Here are the clion cmds for both cc_binary debug and cc_test debug:
I am using remote development ssh connecting to a VM and install the bazel plugin.
Which category does this issue belong to?
No response
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
BUILD.bazel:
main.cpp:
Which Intellij IDE are you using? Please provide the specific version.
CLion 2024.1.4 Build #JBC-241.18034.45, built on June 18, 2024 Licensed to Huawei Technologies Co., Ltd. Runtime version: 17.0.11+1-b1207.24 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Windows 11.0 Controller in Remote Development GC: G1 Young Generation, G1 Old Generation Memory: 2048M Cores: 16 Registry: debugger.attach.dialog.enabled=true run.processes.with.pty=TRUE ide.experimental.ui=true rdclient.backend.actionHandlers=false
What programming languages and tools are you using? Please provide specific versions.
c++14
bazel-6.1.0
What Bazel plugin version are you using?
Bazel for CLion 2024.06.04.0.2-api-version-241
Have you found anything relevant by searching the web?
No response
Any other information, logs, or outputs that you want to share?
The text was updated successfully, but these errors were encountered: