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
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…