Cincinnati.Com
NKY.COM  |  ENQUIRER  |  CIN WEEKLY  |  Classifieds  |  Cars  |  Homes  |  Jobs  |  Help
Currently:
33°F
Cloudy
Weather | Traffic
The Enquirer
HOME
NEWS
ENTERTAINMENT
SPORTS
REDS
BENGALS
LOCAL GUIDE
MULTIMEDIA
ARCHIVES
SEARCH
 
 TODAY'S ENQUIRER 
 Front Page 
 Local News 
 Sports 
-- Business 
 Editorials 
 Tempo 
 Home Style 
 Travel 
 Health 
 Technology 
 Weather 
 Back Issues 
 Search 
 Subscribe 

 SPORTS 
 Bearcats 
 Bengals 
 High School 
 Reds 
 Xavier 

 VIEWPOINTS 
 Jim Borgman 
 Columnists 
 Readers' views 

 ENTERTAINMENT 
 Movies 
 Dining 
 Horoscopes 
 Lottery Results 
 Local Events 
 Video Games 

 CINCINNATI.COM 
 Giveaways 
 Maps/Directions 
 Send an E-Postcard 
 Coupons 
 Visitor's Guide 
 Web Directory 

 CLASSIFIEDS 
 Jobs 
 Cars 
 Homes 
 General 
 Place an ad 

 HELP 
 Feedback 
 Subscribe 
 Search 
 Newsroom Directory 



 
Tuesday, July 27, 2004

Program gives users tools to correct bugs


Project aims to make computers friendlier for all

By Mike Crissey
The Associated Press

PITTSBURGH - Computer bugs, or errors in software, can mess up just about anything: They've been blamed for missing homework, blackouts, prison breaks and even the loss of multimillion-dollar space probes.

But they're difficult pests to eliminate, because doing so requires programmers to perform "an elaborate detective investigation," said Brad Myers, a Carnegie Mellon University computer science professor. "You are trying to make guesses about where the problem is and prove your hypothesis. A lot of time programmers guess wrong ... and add new bugs because they were trying to fix something that wasn't broken."

But help is on the way. Myers and a graduate student, Andrew Ko, have developed a debugging program that lets users ask questions about computer errors in plain English: Why didn't a program behave as expected?

Funded by $1.2 million from the National Science Foundation, Whyline - short for Workspace for Helping You Link Instructions to Numbers and Events - is designed for programmers of all kinds, from hard-core professionals to weekend Web designers.

Their work is part of a larger, nationwide project - called End Users Shaping Effective Software, or EUSES - to make computers friendlier for everyday users by changing everything from how they look to how they act.

Ultimately, perhaps, error messages will be easier to understand than "general protection fault" or "fatal exceptions."

You may not know it, but chances are you, too, are a programmer. If you've created a spreadsheet, made macros in Excel or Word or used a Web application to fetch news about your hobby or favorite celebrity, you've programmed.

Programming is a lot like translation. Writing code involves taking what you want to do and converting it into computer language; hunting down a bug requires the opposite, which sometimes isn't as easy.

Whyline aims to simplify debugging and troubleshooting.

While testing a program, if something appears to go awry, a user can hit the "Why" button, which stops the program. Whyline then offers questions based on programmed events. For example, if a program contains rules about Pac-Man shrinking when he hits a ghost, Whyline will let the programmer ask "Why didn't Pac-Man resize?"

Lines of programming code related to the question are highlighted in a window. Another window shows what happened while the program was running, with a flow chart and timeline.

In studies involving a handful of graduate students, from relative novices to experienced programmers, Ko and Myers found that Whyline could help users find bugs eight times faster and do 40 percent more programming.

Whyline has been used only to debug programs in Alice, an academic programming language with a limited vocabulary of commands to make interactive 3-D worlds, like video games.

And the more complex a program gets, the harder it is for Whyline to offer the right questions and answers. It can't answer complicated questions such as, "Why did Pac-Man shrink after he ate the power pellet and was hit by a ghost?"

Adding Whyline to a different language, like Java, which is 10 times as complex, could limit how much Whyline can help. So Whyline is a very long way from getting incorporated into the world's most widespread software, Microsoft Corp.'s Windows operating system. When asked about its own debugging efforts, Microsoft didn't comment.




TECH TUESDAY
E-mail: Messages are evidence
Google market value put at $36B
When thief logs on, software helps locate stolen laptop
Program gives users tools to correct bugs

MORE BUSINESS HEADLINES
Home sales set record in June
Adjustable mortgages can hurt lower-income
Omnicare earnings trigger slide
Frisch's growth is golden
Ashland reports doubled profits
Survey says wages here are average
Venture capital investment hits 2-year high
Tristate summary
Generic drug maker Mylan to buy King



 

Latest Headline News
Updated Every 30 Minutes
BUSINESS NEWS

U.S. Rises in Auto Reliability Ratings

Congolese Shun Own Currency for Dollars

Delta Air Lines Posts $52M Profit in 3Q

Prepared Holiday Meals Up in Popularity

Christmas Returns to Wal-Mart Marketing


Cincinnati.Com
Search our site by keyword:  
Search also: News | Jobs | Homes | Cars | Classifieds | Obits | Coupons | Events | Dining
Movies/DVDs | Video Games | Hotels | Golf | Visitor's Guide | Maps/Directions | Yellow Pages

  CINCINNATI.COM  |  NKY.COM  |  ENQUIRER  |  CIN WEEKLY  |  Classifieds  |  Cars  |  Homes  |  Jobs  |  Help


Search | Questions/help | News tips | Letters to the editors | Subscribe
Newspaper advertising | Web advertising | Place a classified | Circulation

Copyright 1995-2007. The Cincinnati Enquirer, a Gannett Co. Inc. newspaper.
Use of this site signifies agreement to terms of service updated 12/19/2002.