x
Loading
 Loading
Hello, Guest | Login | Register

The latest gadgets, gizmos, and golden masters

Travel backwards in (application) time, make a Mugshot, and put Apache in your pocket.

Debugging Back to the Future

Raise your hand if you’ve ever driven yourself to the brink of insanity hunting down a bug. OK. You can put your hands down! Been there, done that. Debugging can be one of the trickiest, most time consuming tasks of any developer’s job. To track down a defect, you must be able to reproduce the error on demand, reconstruct the chain of events that led to the error, and backtrack along that path to find and fix the bug’s root cause. Some programming languages make this process easy. For example, if you’re working in an “archaic” language such as C or C++, you may be jealous of some of the tools available to Java developers.
But that’s old news now, thanks to Undo Software’s (http://undo-software.com/) UndoDB, a bidirectional debugger for Linux. UndoDB allows you to step both forward and backward through an application, a previously difficult undertaking for compiled languages. According to its man page, “undodb is a wrapper for gdb that allows[ the GNU Dbugger] to interface with the UndoDB reverse-execution engine. It adds some user-defined commands to gdb that allow a program to be stepped backwards as well as forwards.”
Using UndoDB, you can find a bug quickly, repeat it several times without rerunning the application from scratch, and fix it, all in record time.
UndoDB is available on most popular Linux distributions and costs $495 for commercial use. UndoDB is…

Please log in to view this content.

Not Yet a Member?

Register with LinuxMagazine.com and get free access to the entire archive, including:

  • Hands-on Content
  • White Papers
  • Community Features
  • And more.
Already a Member?
Log in!
Username

Password

Remember me

Forgotten your password?
Forgotten your username?
Read More
  1. Free Trial Download: Build Professional Linux Installers with InstallAnywhere
  2. Reporting for midsize companies. Empower your business with self-service reporting
  3. Executive Brief: Using BI and BPM to Address the Information Challenges of Midsize Companies
  4. Why Performance Management? A Guide for the Midsize Organization
  5. Combining Flexibility and Control: A New Model for OS/Platform Management
Follow Linux Magazine
Rackspace