CLion
 
Get CLion
You are viewing the documentation for an earlier version of CLion.

Debug arbitrary executables

Last modified: 11 February 2024

You can use CLion to debug an executable that was built elsewhere using any build system. This article describes three options you can choose between depending on your application. Whichever one you use, all the CLion debugging facilities will be fully available for your code. The requirements are that your binary includes debug symbols and you have the source files on hand.