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
Select Use specified GDB:
If you installed UDB enter
/usr/local/bin/udbin the text box. Otherwise enter the location of the udb executable (the button to the right can be used to navigate the file tree).
When CLion recognises the pathname, a message will appear, eg “Version: 9.2”.
Install the plugin.
Choose File -> Settings… -> Plugins
Click on Search plugins in marketplace and find the Time Travel Debug for C/C++ plugin offered by Undo. Install the plugin and then restart CLion to enable it.
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 GDB console.