Valgrind on OSX Mojave

Answered

 Hi. I'm new to Clion.

I'm trying to debug some code on Mojave (macOS 10.14) with Clion 2018.2.6 (Build #CL-182.5107.21, built on November 13, 2018).  When I ran the debug option, it reported that the Valgrind executable wasn't found.  In trying to install Valgrind it seems that it doesn't yet support Mojave.

What are my options? Can I debug without Valgrind?  If so, could you tell me how please?

Thanks

0
2 comments

Hello! Yes, you should be able to debug without Valgrind. How do you start the debugging process? Does choosing Run > Debug on the main menu work for you?

0
Avatar
Permanently deleted user

My apologies - I feel like a fool! - I realised the debug icon I was pressing included the valgrind memory option.  I now know to use the "bug" icon. Thanks for your quick help.

0

Please sign in to leave a comment.