-
Notifications
You must be signed in to change notification settings - Fork 307
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
clion plugin - unable to specify GDB #46
Comments
Hi @asa, you can specify the GDB binary in Settings > Build, Execution, Deployment > Toolchains. |
I'll close this -- please reopen if that didn't fix it. |
I believe the problem is that I am running on OSX. The debugger is not
found. Perhaps its assuming GDB?
…On Tue, Jan 24, 2017 at 1:43 PM, brendandouglas ***@***.***> wrote:
Closed #46 <#46>.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#46 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAF3mQETb3mUvUzBYB0kRfM2t429btAlks5rVnB3gaJpZM4LsmEA>
.
|
We currently only support linux. We have support for OSX and Windows planned at some stage, but it's not a current priority. Some things may work on OSX (and do indeed seem to, based on some of the comments here), but it's completely untested. As a separate issue, CLwB currently only supports gdb (see BlazeCidrLauncher for the relevant code). Still, if you have gdb installed on your system, and specify the binary path in the settings, I'd expect this to work. |
@asa, you may be interested in bazelbuild/bazel#2537. With the workarounds I've described on that thread, I've been able to generate One additional caveat: if your breakpoints don't take effect, check the console. GDB may be complaining that it can't find your source files, which can be worked around by adding |
I am unable to setup a debugger with the clion plugin. I get an error in the console: Error running Bazel run my_project:example: GDB executable not specified
I have tried to use --run_under, as well as setup gdb remote debugger, with no luck.
Perhaps I just need better docs?
The text was updated successfully, but these errors were encountered: