Design Con 2015
Breaking News
Blog

Debugging: what questions engineers should ask

Raja Bavani
6/30/2010 04:48 PM EDT

 4 comments   post a comment
NO RATINGS
Page 1 / 3 Next >
View Comments: Oldest First | Newest First | Threaded View
LarryM99
User Rank
CEO
re: Debugging: what questions engineers should ask
LarryM99   7/6/2010 5:40:14 PM
NO RATINGS
I once wrote an article on debugging that included an observation on how a good debugger operates. If I may be allowed to (probably mis)quote myself: "A good debugger sees what is, not what he expects it to be, what he thinks it must be, or what he wants it to be". Literally the developer is their own worst enemy when debugging a system. They know what it is supposed to do, so they come in with expectations that this is what it must be doing. This is why a different person sees bugs that a developer will miss. Larry M.

rajabavani
User Rank
Rookie
re: Debugging: what questions engineers should ask
rajabavani   7/20/2010 3:37:36 AM
NO RATINGS
Larry, Thanks for reading my blog. I liked your quote very much. The ability to see or visualize the right thing is very critical to debugging. Regards, Raja Bavani My Product Engineering Blog: http://www.mindtree.com/blogs/category/software-product-engineering

dagans
User Rank
Rookie
re: Debugging: what questions engineers should ask
dagans   9/13/2010 8:35:19 PM
NO RATINGS
I devoted a whole book, appropriately titled "Debugging" to the subject. It too is a lighter attempt to enable better debugging. But it does work -- all of the general guidelines I've seen are still covered by the 9 rules and their corollaries. So for example, Larry M.'s comment is covered well by rule 3, Quit Thinking and Look. The 9 rules are available on a poster from www.debuggingrules.com. -- Dave Agans

rajabavani
User Rank
Rookie
re: Debugging: what questions engineers should ask
rajabavani   9/22/2010 8:24:17 AM
NO RATINGS
Dave, Thanks for the comments. I had a look at your poster and it is quiet simple and practical. Thanks for sharing. Debugging continues to consume significant efforts (and hence cost) among all Software Engineering activities. Following such rules and asking critical questions will benefit engineers who spend long hours in debugging. Regards, Raja Bavani http://www.mindtree.com/blogs/category/software-product-engineering

Flash Poll
Like Us on Facebook

Datasheets.com Parts Search

185 million searchable parts
(please enter a part number or hit search to begin)
EE Times on Twitter
EE Times Twitter Feed
Top Comments of the Week