Undo Software’s UndoDB can run on platforms like the Eclipse IDE. It looks like the conventional debugger but the stepping buttons give it away. They not only go forward, but backwards. (Image courtesy of Undo Software).

Best of 2015: Debugging with Undo Software

Nov. 30, 2015
Undo Software’s UndoDB is a trace-based debugging tool that allows replaying of execution and data for almost any application.

The Best of 2015 Electronic Design choice for software is often a challenge because of improvements, but this year one stands out.

“It failed, but how did I get here?” This is a typical lament of a developer using a debugger when a program fails. Usually a breakpoint can be set after the fact or well before, but pinpointing where and how a failure occurs is often as much art as it is skill. That was until Undo Software developed UndoDB, a reverse-execution debugging tool. Undo Software’s UndoDB is a trace-based debugging tool that allows replaying of execution and data for almost any application in using debug platforms like the Eclipse IDE (see the figure).

UndoDB essentially instruments an application, allowing it to trace the execution of the program. This log is stored and then replayed by the enhanced debugger that knows about the UndoDB log file. It can step forward or backward. This is similar to many trace/debug facilities that can move backwards and forward through the execution list.

The difference is that UndoDB tracks data operations as well and can present the contents of registers and memory values. This means it can also scan and set breakpoints associated with data. For example, if the program stops when a bad value is detected it is possible to backtrack to determine when the value was changed and even examine other values that might have been used to compute the bad value.

The typical overhead for using UndoDB is about 1.7. The system can handle multicore systems that use shared memory. It can also handle multiple threads.

Finding bugs can be a difficult task, but UndoDB can greatly reduce the time to find the root cause of an application. 

Sponsored Recommendations

Near- and Far-Field Measurements

April 16, 2024
In this comprehensive application note, we delve into the methods of measuring the transmission (or reception) pattern, a key determinant of antenna gain, using a vector network...

DigiKey Factory Tomorrow Season 3: Sustainable Manufacturing

April 16, 2024
Industry 4.0 is helping manufacturers develop and integrate technologies such as AI, edge computing and connectivity for the factories of tomorrow. Learn more at DigiKey today...

Connectivity – The Backbone of Sustainable Automation

April 16, 2024
Advanced interfaces for signals, data, and electrical power are essential. They help save resources and costs when networking production equipment.

Empowered by Cutting-Edge Automation Technology: The Sustainable Journey

April 16, 2024
Advanced automation is key to efficient production and is a powerful tool for optimizing infrastructure and processes in terms of sustainability.

Comments

To join the conversation, and become an exclusive member of Electronic Design, create an account today!