Software 'Chipper' Speeds Debugging

Computer scientists at UC Davis have developed a technique to speed up program debugging by automatically "chipping" the software into smaller pieces so that bugs can be isolated more easily.

Computer programs consist of thousands, tens or even hundreds of thousands of lines of code. To isolate a bug in the code, programmers often break it into smaller pieces until they can pin down the error in a smaller stretch that is easier to manage. UC Davis graduate student Chad Sterling and Ron Olsson, professor of computer science, set out to automate that process.

"It's really tedious to go through thousands of lines of code," Olsson said.

The "Chipper" tools developed by Sterling and Olsson chip off pieces of software while preserving the program structure.

"The pieces have to work after they are cut down," Olsson said. "You can't just cut in mid-sentence."

In a recent paper in the journal "Software -- Practice and Experience," Olsson and Sterling describe ChipperJ, a version developed for the Java programming language. ChipperJ was able to reduce large programs to 20 to 35 percent of their former size in under an hour.

More information about automated program chipping is available on Olsson's Web site at www.cs.ucdavis.edu/~olsson/ .

Source: UC Davis

Citation: Software 'Chipper' Speeds Debugging (2007, October 1) retrieved 26 April 2024 from https://phys.org/news/2007-10-software-chipper-debugging.html
This document is subject to copyright. Apart from any fair dealing for the purpose of private study or research, no part may be reproduced without the written permission. The content is provided for information purposes only.

Explore further

Promotion age and promotion speed have a significant impact on current research productivity, research finds

0 shares

Feedback to editors