CLion 2022.1 EAP4: Debugger Enhancements, CUDA-GDB, and Valgrind with Docker Toolchain
The new CLion 2022.1 EAP build, 221.4906.7, is now available from our website, or via the Toolbox App. Please note that if you are on macOS, there is a separate build for Apple Silicon (M1 chip).
Those of you already using EAP3 can apply a patch to update to EAP4.
CUDA debugger in CLion
The CUDA-GDB debugger can now be used in CLion. We’ve fixed issues with the empty variables view in the debug tool window and with the No symbol in current context error (CPP-19915). The work on the debugger for CUDA is still not finished, however, the fix should allow you to at least do basic debugging and report any issues to our issue tracker.
To make it work, you’ll need to specify the cuda-gdb binary in the debugger setting of your current toolchain:
And use the following compiler option:
add_compile_options(-G) to add CUDA debug symbols.
Debugger UI updates
In CLion 2021.3, the debugger UI got an update. The feedback we received was mostly positive, but a few things irritated some users. We’ve decided to address these issues. In the layout settings of the debugger tool window there are two new options available:
- Separate Watches: enables you to use a separate tab with watches.
- Show Tab Labels: enables you to use debugger tool window tab names.
- We’ve fixed a regression for Boost.Test v1.69.0 on Windows, which resulted in no test run icons and no text macros highlighting.
- The option to show both decimal and hex values in the debugger now works for LLDB on Windows (Build, Execution, Deployment | Debugger | Data Views | C/C++ | Show integers as hex values and Display alongside the original value).
- Valgrind now works with the Docker toolchain.
- Following the Clang-Tidy settings update introduced in EAP1, the MISRA settings were also updated to provide you with a convenient visual representation of the MISRA C 2012 and MISRA C++ 2008 check lists:
The full release notes are available here.
Your CLion team
The Drive to Develop
Subscribe to Blog updates
CLion Nova – Final Update
CLion Nova is a free preview version of CLion equipped with the ReSharper C++/Rider C++ language engine. We started it as a stand-alone preview in November 2023, and since then we’ve received tons of positive and inspiring feedback. Based on that feedback, we’ve added a setting to the recent CLion C…
CLion 2024.1 EAP 4: Switch to CLion Nova in CLion Classic
The CLion 2024.1 EAP 4 build (241.13688.39) is out! It is available from our website, via the Toolbox App, or as a snap package if you’re using Ubuntu. With this build, we’re making CLion Nova available to all CLion Classic users. Switch to it from inside the IDE via the settings menu and try it …
CLion 2024.1 EAP 3: Assembly View Enhancements
Today, the CLion 2024.1 EAP 3 build (241.12662.59) is available from our website, via the Toolbox App, or as a snap package if you’re using Ubuntu. Here are the main improvements: Assembly view improvements: The Assembly view for ARM targets is now shown correctly (CPP-36901). Assembly vi…
CLion 2024.1 EAP 2: Improved Terminal and Other UX Enhancements
Some time ago, we shared our plans and directions. Just a couple of weeks ago, we kicked off our CLion 2024.1 EAP with CMake coding assistance, code analysis in device tree files, and forked processes debugging. Today, the CLion 2024.1 EAP 2 build (241.11761.23) is available from our website, via…