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: Machine-learning breakthrough paves way for medical screening, prevention and treatment

Related Stories

Yik Yak's frat-bro founders shrug off growing pains

7 minutes ago

The most popular post of all time on Yik Yak is a dirty joke. Less than 2 years old, the Atlanta-based social network is geared mostly toward college students who access and post unsigned announcements through an app on their ...

Fears for pink iguanas as Galapagos volcano erupts

26 minutes ago

A volcano in the Galapagos islands erupted for the first time in more than 30 years Monday, sending streams of lava flowing down its slopes and potentially threatening the world's only colony of pink iguanas.

Recommended for you

'Deep web search' may help scientists

May 25, 2015

When you do a simple Web search on a topic, the results that pop up aren't the whole story. The Internet contains a vast trove of information—sometimes called the "Deep Web"—that isn't indexed by search ...

User comments : 0

Please sign in to add a comment. Registration is free, and takes less than a minute. Read more

Click here to reset your password.
Sign in to get notified via email when new comments are made.