Debugger Features and Benefits
Allinea DDT makes debugging faster and gives developers the break they need to deliver software on time.
- Debugs native Linux applications, including those running on more than one server - such as on HPC clusters using MPI.
- Controls processes and threads - step through program execution, stop on variable changes, errors and at user inserted breakpoints.
- Has market leading memory debugging to detect hard-to-find or intermittent problems caused by memory leaks, dangling pointers, beyond-bounds array access.
- Outstanding C++ debugging support - including powerful and extensible C++ STL debugging to view STL containers intuitively.
- Complete Fortran debugging support - including F90/F95/F2008 features.
- Shows variables and arrays across multiple processes and detects changes automatically.
- Provides In-built editing, building and version control integration - with outstanding support for working on remote systems.
- Has an Offline mode for debugging non-interactively and recording application behavior and state.
If you work with multiple processes and threads, through libraries like MPI or OpenMP, Allinea DDT makes concurrency easy.
Control threads and processes individually and collectively
- Set breakpoints on groups of MPI processes, and all or individual threads (OpenMP and pthreads).
- Step or play processes and threads individually or en-masse.
- Create groups of processes based on variable/expression values, current code location or process state.
See state and differences between processes and threads easily
The parallel stack view gives a scalable view of thread and process stacks - from a handful of processes and threads to hundreds of thousands - it groups stacks to highlight the differences that can indicate divergence - ideal for MPI, OpenMP, pthreads, CUDA and OpenACC debugging.
Unusual data values and changes are seen instantly with smart highlighting and sparklines - thumbnail-plots that show values of variables across every process. Read more about sparklines in our blog. Additional cross-process and thread comparison tools help to group or search data.
DDT also makes it easier to understand the types of bugs that multi-process codes can introduce - by debugging message queues for the widely used MPI standard.
- Diagnose deadlocks, livelocks and message synchronization errors with both graphical and table-based message queue displays for MPI.
- Integration support for open-source MPI correctness tools.
Above all, it's tried and tested at scale - with lightning-fast performance even at the extreme: step and display 700,000 processes in a fraction of a second.
We know it's essential to see variables quickly and understand the most complex data structures - and with Allinea DDT you can.
- View variables and expressions - and watch as they change as you debug through your code with automatic change detection
- Browse through variables, objects, modules and complex C++ classes, structs or F90 derived type data structures and multi-dimensional arrays.
- Dereference pointers or find addresses of objects - and use memory debugging to find out where a pointer was allocated and how large the allocation is.
- Extensible intelligent display of complex data structures such as C++ and C++11 STL, Boost and Qt data containers - including list, set, map, multimap, QString and many more.
- Add support for your own custom data types to show only the data you care about.
- Set watchpoints to stop when data is read or written by any process.
DDT's built-in fast memory debugger reveals problems in heap (allocated) memory usage automatically.
- Instantly stops on exceptions and crashes – identify the source and data behind any crash with an easy to use comprehensive interface to application state.
- Catch out-of-bounds data access as soon as it occurs.
- Consign memory leaks to history: leak reports detail the source locations that are responsible for the memory allocation.
- Supports custom allocators - so that allocation locations are reported at the level that matters to your application.
- Check for dangling pointers.
- Examine a pointer - check if it is valid and and view the full stack of where it was allocated - and how large its allocation is.
- C, C++ memory allocated with malloc, new and similar
- Fortran or F90 allocatable memory and pointers.
DDT makes source navigation easy.
- Automatically detects source file locations.
- Search for functions/terms across all files.
- Click to leap to function definitions.
- Tool tips to display values and types.
- Leaps to source on process stop
- Tightly linked components mean a simple click in (eg.) the stack view takes you straight to the code.
- Edit and build - so that you can make and verify your change within the GUI.
- Version control - commit your change, or see at a glance when code was changed whilst debugging.
The development capabilities in Allinea DDT and Allinea Forge are explored in the Allinea Forge features page.
Working on remote systems? Connect from your laptop with native Mac, Windows and Linux clients with the free native remote client - no more laggy X connection forwarding!
We've put time into debugging so that you don't have to. Allinea DDT integrates the best practice to help you spot the causes of problems more quickly.
- Catch common errors at source with built-in static analysis for C, C++ and Fortran - which warns about bugs before you've even hit them.
- Why does this revision of my code behave differently to the previous one? Version control integration highlights recent changes - and allows you to see why and where changes have been introduced.
- A single command in Allinea DDT will automatically log the values of variables across all processes at each changed section of code, allowing you to track down exactly how and why a particular change introduced problems to your code.
To help you manage your progress during debugging our logbook provides a handy record of the steps you've taken and the things that have been observed.
- Automatic, always-on logging of your debugging activity so that it’s easy to go back and review the evidence for things you might have missed at the time.
- Share logbooks with others on your team, making collaborative debugging a reality.
- Compare two traces side-by-side, to see changes between systems, versions or process counts jump right out.
Scalable printf and powerful command-line modes
Handles and visualizes huge data sets
- Export to industry standard data formats HDF5 and CSV.
- Browse arrays and gather statistics – over all your processes in parallel – with powerful filtering to search petabytes in parallel.
- Visualize and debug data simultaneously using Allinea DDT's connector to the VisIt scientific visualization tool.
Cross-platform for the HPC architectures of today and tomorrow
Allinea DDT is cross-platform - supporting all of today's leading technical-computing platforms. It's a CUDA debugger, a parallel debugger, a multi-threaded debugger, an OpenMP debugger and a memory debugger all at the same time - and supports mixed hybrid programming models.