CLion 2020.2 EAP: Dangling Pointer Analysis, Remote Mode Paths, and Other Fixes
A new CLion 2020.2 EAP build 202.6109.21 is now available for download!
Get it from our website, via the Toolbox App, or as a snap package (if you are using Ubuntu). A patch update is ready for anyone using the previous 2020.2 EAP build:
Remote mode enhancements
In Remote mode, CLion works with projects stored on a local machine and synchronizes them to a remote host. You can configure remote host synchronization paths in Settings / Preferences | Build, Execution, Deployment | Deployment. We’ve fixed a bug where the deployment path couldn’t be changed if the root path was different from the default value (CPP-14185). This can be useful for setups where the root path points to the
/home/user directory. In the default configuration, the deployment path points to paths in the
/tmp/tmp.<temp number> format. But when the root path is configured differently to the default root path, it gets prepended to the deployment path.
If the deployment configuration is changed, CLion now reloads the CMake project automatically (as if the "resync with remote hosts" action was triggered).
Dangling pointer analysis
CLion now helps catch dangling pointers, i.e. pointers that point to invalid data:
Typical cases are double-free and use-after-free problems.
The analysis has some limitations:
- Dangling pointers inspection works in local scope only.
- Dangling pointers inspection does not work when pointer arithmetics is used.
- Dangling pointers inspection does not work when macro is used (check the sample in CPP-4593).
Regardless of these limitations, this inspection can be really helpful and we’ll definitely continue to improve it.
explicit(bool)from C++20 is now supported in CLion.
- Extend selection inside directives has been improved (CPP-19939).
- In the PlatformIO plugin: an Arduino-specific source stub is now generated when a new Arduino project is created (CPP-20537).
Full release notes are here.
In previous EAP builds:
- Makefile projects support
- Doctest unit testing framework integration
- Code coverage enhancements
- Support for Git installed in WSL2
Get a build and give it a try! We will greatly appreciate your feedback here in the comments and in our issue tracker.
Your CLion team
The Drive to Develop
Subscribe to Blog updates
Thanks, we've got you!
The CLion 2023.3 Early Access Program Is Open
We recently shared our preliminary plans for v2023.3, which we plan to release at the end of November. We are now happy to announce that the CLion 2023.3 Early Access Program (EAP) starts today! Our EAP lets the community participate in discussions devoted to our products and influence the developm…
CLion 2023.2 Release Candidate
CLion 2023.2 is on its way, while the release candidate for v2023.2 is already available! To install CLion 2023.2 RC (build 232.8660.139), download it from the website, update via the Toolbox App, or use this snap package (for Ubuntu). Please note, you need an active subscription or a trial lice…
CLion 2023.2 Goes Beta
The Beta version of CLion 2023.2 is now available with the key improvements and changes that are expected in the upcoming release. Download build 232.8660.49 from our website, via the Toolbox App, or as a snap package (for Ubuntu). DOWNLOAD CLION 2023.2 BETA Text search in Search Everywhere Searc…
CLion 2023.2 EAP6: Debugger Enhancements
The new CLion 232.8660.8 build is available from our website, via the Toolbox App, or as a snap package if you are using Ubuntu. You can also update via patch if you are using the previous EAP build. DOWNLOAD CLION EAP ARM assembly CLion now supports ARM assembly languages, which means you’ll see c…