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: Seeing data

add to favorites email to friend print save as pdf

Related Stories

Beyond NYC: Other places adapting to climate, too

6 hours ago

From Bangkok to Miami, cities and coastal areas across the globe are already building or planning defenses to protect millions of people and key infrastructure from more powerful storm surges and other effects ...

China paper hits out at US surveillance programme

6 hours ago

China's official army newspaper on Sunday branded the United States Internet surveillance programme exposed by former spy Edward Snowden as "frightening", and accused the US of being a "habitual offender" ...

German spy service plans 'more online surveillance'

6 hours ago

Germany's foreign intelligence service plans a major expansion of Internet surveillance despite deep unease over revelations of US online spying, Der Spiegel news weekly reported on Sunday.

Recommended for you

Seeing data

19 hours ago

More data are being created, consumed, and transported than ever before, and in all areas of society, including business, government, health care, and science. The hope and promise is that this influx of ...

Making online translation accurate, reliable and efficient

Jun 13, 2013

European cooperation is based on our ability to understand each other. Given that there are presently 23 official EU languages, the availability of online tools to facilitate accurate translation is fundamentally ...

User comments : 0

More news stories

Multiview 3-D photography made simple

Computational photography is the use of clever light-gathering tricks and sophisticated algorithms to extract more information from the visual environment than traditional cameras can.

Microsoft mulled buying Nokia unit

Microsoft was in talks to boost its position in the mobile phone market by buying the devices business from Nokia but failed to seal a deal, the Wall Street Journal reported Wednesday.

LA to give every student an iPad; $30M order

Los Angeles' school system, the second largest in the United States, is ordering iPads for all its students, handing Apple a major success in its quest to make the tablet computer a replacement for textbooks.