CLion 2021.2 EAP: Updates to Remote Development Mode, Debugger, and CMake Presets
A new CLion 2021.2 EAP build (212.4037.2) is now available from our website, via the Toolbox App, or as a snap package (if you are using Ubuntu). Note that if you are on macOS, there is a separate build for Apple Silicon (M1 chip).
Please read on for more details about the changes, give them a try, and share your feedback with us!
Here are the main highlights:
- Remote development in Docker without source synchronization
- More CMake Presets enhancements
- The option to specify a source file during the debug session
- Update notifications from the Toolbox App
Remote development in Docker without source synchronization
A new setting now provides a way to configure and use docker containers for remote development in CLion without unnecessary source synchronization. This improves the remote development experience in Docker in several ways:
- No initial project upload to Docker
- No code duplication (previously, one copy of the project was local and one was in Docker)
Here is how to set up remote development without source synchronization:
Configure a Docker container with mapped volumes:
- Set up a remote toolchain in CLion.
Go to Build, Execution, Deployment | Deployment settings and change the connection type to Local or mounted folder:
Then fill in the path mappings with the mapped volumes:
- Now you can use this remote Docker toolchain for your CMake or Makefile remote projects.
Finally, this should also work not just for Docker, but in general when you have your local and remote machines sharing a mounted volume or when 3rd-party synchronization is configured outside of CLion. We haven’t tested it carefully yet, but you can try it out and share your feedback with us.
More CMake Presets enhancements
In the first 2021.2 EAP build, we introduced initial support for CMake Presets. Later we added some improvements, like loading build presets automatically when you open your project in CLion. In this EAP build we’ve fixed some NullPointerException and MalformedJsonException issues when parsing the preset, and we’ve forced the Reload CMake action to fetch changes in presets, if any.
The option to specify a source file during the debug session
The previous EAP build brought a whole set of significant enhancements to the debugger, like relaxed breakpoints, remote LLDB, the ability to debug core dumps on Windows, and others.
In this EAP build, we’ve addressed the case where CLion can’t find the source files during the debug session. This might happen when you debug a custom executable using some fake project or when there is some library built on CI without the source code being in the project. Stepping to these source locations will cause the disassembly view in CLion, as the IDE can’t locate the actual source code. Now you can explicitly specify where to find the source files. The notification is shown in the disassembly view:
Update notifications from the Toolbox App
Do you use the Toolbox App to manage CLion installations and updates? Now you won’t miss any critical product updates from it. Your IDE will inform you if there is a new version available for download and give you the option to upgrade right from CLion. You’ll need to have Toolbox App 1.20.8804 or later for this.
The full release notes are available here.
Your CLion team
The Drive to Develop
Subscribe to Blog updates
Thanks, we've got you!
CLion 2023.3 Release Candidate
CLion 2023.3 is on its way, and the release candidate for v2023.3 is already available! To install CLion 2023.3 RC (build 233.11799.171), download it from the website, update via the Toolbox App, or use this snap package (for Ubuntu). You need an active subscription or a trial license to use CLi…
CLion Nova: A New Update With Various Bug Fixes
CLion Nova, a free preview of CLion with the ReSharper C++/Rider C++ language engine, was announced recently. We’re excited to see how well you liked the first build! There are about 3,700 users right now and the overall feedback is mostly positive, especially that which is related to performance an…
CLion 2023.3 Goes Beta
The Beta version of CLion Classic 2023.3 is now available with key improvements and changes that are expected in the upcoming release. Download build 233.11799.37 from our website, via the Toolbox App, or as a snap package for Ubuntu. If you are using CLion Nova, note that we do not plan to release…
CLion Nova Explodes onto the C and C++ Development Scene
TL;DR Today, we’re announcing a free early preview of CLion, which uses the ReSharper C++/Rider C++ language engine instead of the CLion "legacy" engine. The Preview build is available via our dedicated Toolbox App feed. At some point in 2024, depending on the results of the feedback coll…