This feature is experimental and may change or be removed in the future.
CLion is a C/C++ IDE from JetBrains, available from the JetBrains website.
Undo supplies a plugin which integrates UDB into CLion, allowing you to interactively debug an application from within the CLion IDE.
Enabling UDB within CLion¶
Configure CLion to use UDB.
Choose File › Settings… › Build, Execution, Deployment › Toolchains.
Under Debugger choose Custom GDB executable.
If you have previously installed UDB, enter
/usr/local/bin/udbin the text box. Otherwise, use the Browse button and navigate to the location of the udb executable.
When CLion recognises the pathname, a message will appear, e.g. “✓ Version: 10.2”.
Install the plugin.
Choose File › Settings… › Plugins.
Select the Marketplace tab, enter
udbin the search box, press Install and restart CLion.
Using UDB within CLion¶
Starting a debug session works exactly as normal with CLion. However the debugger toolbars have some new buttons.
If you are familiar with other UDB commands, they can be entered at the Debug GDB tab.