Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CLion Debug not working on Mac

Tags:

c++

macos

clion

I haven't used CLion in a bit and something is amiss - when I try to debug, breakpoints are not hit. I see the checkmark flash briefly but the program continues to run. Here is a 15 second video showing what happens:

https://youtu.be/txn6W6aSWnM

This project is the vanilla Hello World project with a couple of lines of code added to the main program, and a breakpoint added in the middle.

This is a new Mac - is something misconfigured? Or has something broken in CLion?

Note: This is still happening with 2018.1. I've reported to JetBrains and sent various logs, etc., but still no ability to debug.

like image 204
sfjac Avatar asked Feb 12 '26 21:02

sfjac


1 Answers

I'm using a Mac with the latest version of OSX (10.13.4 as of writing), and also using CLion 2018.1.2. I had this same issue.

The fix was straight forward. Simply go to Tools > CMake > Reset Cache and Reload Project.

like image 169
Adam Avatar answered Feb 14 '26 09:02

Adam



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!