CLion 2022.3 EAP: CMake Debugger
A new CLion 2022.3 EAP build is available! Download build 223.7255.15 from our website, via the Toolbox App, or as a snap package (if you are using Ubuntu). Update via patch if you are using the previous EAP build. DOWNLOAD CLION EAP CMake Debugger CMake is a tricky scripting language that is sometimes hard to work with. Just watch this fantastic talk by Mateusz Pusz from CppNow 2021 and take the CMake quiz in the beginning of the presentation to test your CMake knowledge! Since CMake is a language of a build system, identifying the best way to debug an error or a suspicious behavior in a
CLion 2022.2 EAP3: CMakeCache Editor, Symbol Servers for Debug, Evaluation of Constant Values in the Editor
A new CLion 2022.2 EAP3, 222.2889.11, is available from our website, via the Toolbox App, or as a snap package (if you are using Ubuntu). If you are on macOS, there is a separate build for Apple Silicon (M1 chip). Those who are already using EAP2 can apply a patch to update to EAP3. DOWNLOAD CLION 2022.2 EAP The main highlights: A new UI for CMake cache variables. Ability to configure symbol servers when debugging on Windows. Auto import for the MSVC toolchain. Ability to view constant values in the Quick Documentation pop-up. Improved autocompletion for types. UI for setting CMake
C++ Annotated: July 2021
C++ language news, sanitizers, C++20 concepts, parallel STL algorithms, C++ tools releases, and interview with Bjarne Stroustrup
CLion 2021.2: CMake Presets, GNU Autotools Projects, Debugger Updates, New Static Analysis, and More
The C++ ecosystem is evolving, and so too is our cross-platform C/C++ IDE. CLion 2021.2 can help you by protecting your code from typical C++ memory safety issues, simplifying your build configurations, and making debugging easier and more effective.
7 Top Tips for Debugging C++
Today we have Greg Law with us. In this guest blog post, Greg will share a few top tips for debugging C++ code. Greg (@gregthelaw) is the co-founder and CEO at Undo. He is a programmer at heart, but likes to keep one foot in the software world and one in the business world. Greg finds it particularly rewarding to turn innovative software technology into real business development. Greg has over 20 years of experience in both academia and innovative startup software companies. Brian Kernighan famously said, “Everyone knows that debugging is twice as hard as writing a
CLion 2021.2 EAP: Many Debugger Updates and Fixes for CMake Presets
The CLion 2021.2 Early Access Program was recently launched. Did you manage to try out the new Load CMake Presets feature? Or did you play with Cling, an interactive C++ interpreter now supported in CLion? We really hope you managed to catch a few dangling pointers or references with the help of recently introduced Lifetimes analysis. Today we are happy to announce the second EAP build (212.3724.2), which 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).
CLion Debugging – Beyond the Basics – Part 3: Beyond Local
This if the third and final part of our Advanced Debugger series. If you haven't seen them, do catch: "Part 1: Suspended" and "Part 2: Dynamic" As well as the earlier, "Debugging Fundamentals" video. In this video we start by looking a direct access to the GDB or LLDB terminal, as well as running commands on start-up using .gdbinit or .lldbinit, then look at attaching to external processes and debugging on remote machines. We also look at debugging core dumps and running the debugger with root privileges. We hope you have enjoyed this series and have learnt some ways to make your
CLion Debugging – Beyond the Basics – Part 2: Dynamic
Following up on "Part 1: Suspended", of our Advanced Debugger series, Part 2 focuses on the dynamic part of working with breakpoints, watchpoints and setting the execution point. Because this an advanced series, we look beyond simply setting and removing breakpoints, and take a look at the different types of breakpoints we support, as well as all the options along with them. In many cases your breakpoints may not even need to break at all! Watchpoints let you break when data changes - or even when it is read. And being able to skip over lines of code - or even go back - by setting the executi
CLion Debugging – Beyond the Basics – Part 1: Suspended
Back in October of last year I wrote "CLion Debugging – Part 1: Fundamentals", to introduce the everyday debugging features in CLion. It was "Part 1", because the promise was that I would follow up with a "Part 2", covering more advanced features. One thing you should never do is call something "Part 1" before you've written later parts! Part 2 has been a long time coming not just because it was bigger than expected, but so much bigger that I am, in turn, splitting it into three parts! Therefore I've rebased on "Beyond the Basics - Part 1", and
CLion 2021.1 EAP: New MISRA C and C++ Checks, and Core Dump Debug Enhancements
The new CLion 2021.1 EAP build (211.6432.9) is now available. You can get it 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). DOWNLOAD CLION 2021.1 EAP More MISRA C and C++ checks We continue our work on extending the list of supported checks. You can find the current list of supported checks on our confluence page here. We keep this page updated so that you can easily get a sense of the current state of the support, i.e. how many checks are covered by CLion. We’ve added
CLion 2020.3: Core Dumps Debug and Debug as Root, CTest Support, MISRA Guideline Integration, and a Better Qt Project Experience
This version is focused on the debugging experience and on the flexibility of the unit testing integration. Embedded developers will find support for the first collection of MISRA checks. CLion 2020.3 also introduces a variety of IDE functions tuned specifically for working with Qt code.
CLion 2020.3 Goes Beta: It’s All About Debug!
CLion 2020.3 has reached Beta! Build 203.5981.40 is available from our website, via the Toolbox App, or as a snap package (for Ubuntu). DOWNLOAD CLION 2020.3 EAP The CLion 2020.3 EAP has already introduced a couple of performance-enhancing features to the debugger: A new Set Execution Point action Ability to debug Core Dumps And there’s even more in the Beta! Ability to run and debug with root privileges Interactive hints and Inline watches Run/debug as root CLion 2020.3 can run and debug your application with root privileges. A new setting “Run with Administrator privileges”/“Run