Software 'Chipper' Speeds Debugging

Oct 01, 2007

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

Explore further: Artificial intelligence identifies the musical progression of the Beatles

add to favorites email to friend print save as pdf

Related Stories

Google worker shows early-draft glimpse of Chrome OS

4 hours ago

The Chrome OS is in for a future look. Athena, a Chromium OS project, will bring forth the new Chrome OS user experience. Google's François Beaufort on Friday, referring to the screenshot he posted, said," ...

Firefighters battle wild blazes in Spain

7 hours ago

Spanish firefighters on Saturday battled forest blazes that have destroyed hundreds of hectares of parched land and forced scores of people from their homes, authorities said.

Kingston, Jamaica hybrid project to harness sun and wind

18 hours ago

A hybrid energy project in Kingston, Jamaica, aims to satisfy the need for money-saving renewable energy. U.S.-based WindStream Technologies recently announced the wind solar hybrid installation commissioned ...

Archaeologists excavate NY Colonial battleground

18 hours ago

Archaeologists are excavating an 18th-century battleground in upstate New York that was the site of a desperate stand by Colonial American troops, the flashpoint of an infamous massacre and the location of the era's largest ...

Recommended for you

Designing exascale computers

Jul 23, 2014

"Imagine a heart surgeon operating to repair a blocked coronary artery. Someday soon, the surgeon might run a detailed computer simulation of blood flowing through the patient's arteries, showing how millions ...

User comments : 0