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 execution point, is a feature newly added just last year that really rounds out our debugging support.
Coming up next will be the third and final part of this series (or the fouth debugger video, overall), where we’ll look at lower level GDB and LLDB support, attaching to external, local, processes, remote debugging, debugging as root, and debugging core dumps.
Update (May 4, 2021): CLion Debugging – Beyond the Basics – Part 3: Beyond Local
Subscribe to Blog updates
Thanks, we've got you!
Introducing the New CLion Conan Plugin
We are thrilled to announce the launch of the new version of the Conan CLion Plugin, now compatible with the 2.X versions of Conan.
How To Address 7 Major C++ Pain Points with CLion
The top major C++ pain points have remained unchanged in recent years. How can a modern IDE help address these pain points?
How To Debug C++ Code Efficiently: Disassemble On Demand
CLion 2023.1 brought the ability to explore assembly code even when the source code is available. A new Disassemble action has been added to improve your debugging experience, help you catch issues, and eliminate inefficiencies in the code. When debugging C or C++ code in CLion, you can explore th…