Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Set breakpoints with CMake command for Visual Studio

I generate a visual studio project with CMake.

Is it possible to set breakpoints via a CMake command, during or after project generation?

This would be great for a few assert calls that I always break on.

If it's possible to add breakpoints via a command line call, that would help too.

Thanks!

(XCode or Eclipse would help too)

like image 790
Marcus10110 Avatar asked Jan 24 '26 19:01

Marcus10110


1 Answers

Nope, it's not possible. Setting breakpoints is about running a program, while CMake is for building it.

like image 187
arrowd Avatar answered Jan 27 '26 11:01

arrowd



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!