Factbites
 Where results make sense
About us   |   Why use us?   |   Reviews   |   PR   |   Contact us  

Topic: Shotgun debugging


Related Topics

In the News (Wed 30 Dec 09)

  
  Shotgun debugging - Wikipedia, the free encyclopedia
Shotgun debugging is a process of making relatively undirected changes to software in the hope that a bug will be perturbed out of existence.
A very common example of Shotgun Debugging can occur when people are working with complex multi-threaded applications.
A programmer attempting to debug a race condition problem (such as a Deadlock), may find themselves writing debug text output code into the application (i.e.
en.wikipedia.org /wiki/Shotgun_debugging   (282 words)

  
 Sleek Software - Edit & Continue in VS 2005
Proponents of this debugging approach say that it is more efficient because there is no need to restart the program after every code change.
Perhaps the final nail in the coffin of “shotgun debugging” is that many of the EandC fixes made are small ones, often affecting only a few lines of code.
One appropriate way of debugging with EandC is when you find an obvious coding error, often while looking at something completely different, and change the code for an obvious fix.
sleeksoft.co.uk /public/techblog/articles/20051224_1.html   (1463 words)

  
 Shotgun Debugging   (Site not responding. Last check: 2007-10-12)
The practice that's derisively known as "shotgun debugging" is often mocked or raged against but it has on some occasions saved the day for me, and I didn't understand the real bugs until days later, if ever.
Shotgun Debugging is like this: "Hmm, what does this function do?
A: He's changing one tire at a time to see which one is flat.
c2.com /cgi/wiki?ShotgunDebugging   (266 words)

  
 The Joel on Software Discussion Group - Does Edit and Continue make us sloppy developers?
Usually if I'm debugging through the UI the time I use edit/continue is like "oops, I forgot to format that as a currency for display".
The "Edit and Continue" feature is sort of nice, but when I'm debugging and I find that type of situation I just stop debugging, fix the problem and rebuild.
I've had experiences where changing the state "on the fly" while debugging led to other undefined behavior later on down the road.
discuss.joelonsoftware.com /default.asp?joel.3.273195.18   (3025 words)

  
 jerith: Shotgun programming
I'm talking about spending hours randomly debugging a problem when looking at the actual runtime error message would lead you directly to the bug within minutes.
I'm talking about fundamentally not caring about what it is you end up with and what depths you sink to along the way.
Shotgun programming is the main reason I was so frustrated tutoring Computer Methods students.
jerith.livejournal.com /24717.html   (120 words)

  
 debugging - OneLook Dictionary Search
We found 10 dictionaries with English definitions that include the word debugging:
Tip: Click on the first link on a line below to go directly to a page where "debugging" is defined.
Phrases that include debugging: shotgun debugging, integrated debugging environment, on-chip debugging
www.onelook.com /cgi-bin/cgiwrap/bware/dofind.cgi?word=debugging   (137 words)

  
 Coding Horrors, Cargo Cult Programming, Ego, and Other Ghoulish Figures
Cargo cult programming can also refer to the practice of (over)applying a design principle blindly without understanding the reasons behind that design principle in the first place.
Many coding horrors, cargo cult programming, shotgun debugging and voodoo programming are all signs of programmers that have not done due diligence to understand the tools and/or code with which they are working.
It became such a habit for them to blame the pre-existing code that the management eventually concluded, when the rewrite proved worse than fruitless, that the whole code base should be thrown out and a replacement started immediately in the most popular Microsoft language.
blogs.slcdug.org /jjacobson/archive/2006/12/08/4875.aspx   (3070 words)

  
 twiddle - Definitions from Dictionary.com
Usually fixes one bug and generates severalnew ones (see also shotgun debugging).
To speak of twiddling a bitconnotes aimlessness, and at best doesn't specify what you're doingto the bit; `toggling a bit' has a more specific meaning (see bittwiddling, toggle).
twiddling a program often fixes one bug and generates several new ones (see also shotgun debugging).
dictionary.reference.com /browse/twiddle   (329 words)

  
 Bin's On-Line Dictionary
If a program is almost correct, rather than figure out the precise problem you might just keep tweaking it until it works.
See frobnicate and fudge factor; also see shotgun debugging.
To tune or bum a program; preferred usage in the UK.
language.bin.org /ref/dict/?t=Tweak   (189 words)

  
 Shotgun - Flickr: Photos tagged with shotgun   (Site not responding. Last check: 2007-10-12)
Shotgun Sports Resource Guide to sporting clays, skeet shooting, trap shooting ranges, bird hunting preserves, guides, outfitters, suppliers of shotgun
Carlson's Shotgun Choke Tubes and accessories for the hunter and shooter, the shooter's choice.
(a) supervised by a person over 21 years old, (preferably a shotgun certificate Possess a shotgun if covered and secured from the age of 15 years.
gisele-bundchen.easylookfor.com /elf/gisele-bundchen-shotgun.htm   (137 words)

  
 Mechanus: Philosophers with Clocks
This spell is a spell of banishment, which forces hostile gremlins (aka bugs) from the mechanical device that they are dealing with.
There is a second form of this known as "Shotgun Debugging" but that is much more dangerous since it works only 1 in 20 tries and often completely destroys the device.
Named after the most famous of the Tinkerer sect, and one of the greatest techno-shamans to ever live, Rube Goldberg.
www.mimir.net /mechanus/philosophy.shtml   (1260 words)

  
 Perl Bug?
I’m on the road again this week, so I scraped together a couple of extra hours and did a little debugging.
After a little shotgun debugging and reading about Perl Unicode support, I replaced the former with
That’s made the problem go away, which is sort of like solving the problem.
norman.walsh.name /2004/05/11/perlBug   (326 words)

  
 Re: View Source   (Site not responding. Last check: 2007-10-12)
While in most cases "View source" can be achieved by keyboard shortcuts and using the "View" menu, having it on the context meu is essential when debugging dynamic multi-frame sites.
as a result adapting sites to Konqueror is slower and messier (includes a lot of shotgun debugging and 'fix-type, reload' cycles) which under most circumstences just isn't worth it.
The context menu is most definatly not a place for debugging tools.
dot.kde.org /1064518307/1064529136/1064537737   (2545 words)

  
 Jargon - cargo cult programming   (Site not responding. Last check: 2007-10-12)
A style of (incompetent) programming dominated by ritual inclusion of code or program structures that serve no real purpose.
A cargo cult programmer will usually explain the extra code as a way of working around some bug encountered in the past, but usually neither the bug nor the reason the code apparently avoided the bug was ever fully understood (compare shotgun debugging, voodoo programming).
The term `cargo cult' is a reference to aboriginal religions that grew up in the South Pacific after World War II.
web.bilkent.edu.tr /Online/Jargon30/JARGON_C/CARGOCLT.HTML   (153 words)

  
 short from FOLDOC
Nearby terms: Short Code « shortcut « Shorten « shortest job first » Short Message Service » shotgun debugging » shovelware
The message is buffered by the GSM network until the phone becomes active.
Nearby terms: shortcut « Shorten « shortest job first « Short Message Service » shotgun debugging » shovelware » Show-And-Tell
ftp.sunet.se /foldoc/foldoc.cgi?short   (367 words)

  
 short from FOLDOC
Next: shortcut, shortest job first, Short Message Service, shotgun debugging
Next: shortest job first, Short Message Service, shotgun debugging
Next: shotgun debugging, shovelware, Show-And-Tell, showstopper, shriek, sht
www.instantweb.com /foldoc/foldoc.cgi?short   (270 words)

  
 Linux.com - Setting Up Your New Domain Mini-HOWTO.: Securing Your Domain
All too often, this is fixed by a sort of shotgun debugging approach, whereby the rules for the firewall are tweaked until all applications seem to run properly on the firewall host again.
Unfortunately, this can sometimes result in a firewall which has unintended holes.
With ipchains it is possible to write a firewall script which is easily debugged, and which avoids many of the packet source problems.
www.linux.com /howtos/Domain-8.shtml   (3095 words)

  
 Xnu Patches   (Site not responding. Last check: 2007-10-12)
My theory is that the randompid variable is being set too early during the kernel's initialization process.
This is a rather diffcult thing for me to debug since I don't have another machine for which to use as a remote debugger.
Even though it will boot, I can't login, which is another dead-end.
www.linville.org /darwin.html   (268 words)

  
 The New Hacker's Dictionary - = C =
It was intended strictly as a debugging aid, with dire consequences promised to anyone so deranged as to use it in production code.
To surround a section of code with comment delimiters or to prefix every line in the section with a comment marker; this prevents it from being compiled or interpreted.
Often done when the code is redundant or obsolete, but is being left in the source to make the intent of the active code clearer; also when the code in that section is broken and you want to bypass it in order to debug some other part of the code.
www.outpost9.com /reference/jargon/jargon_18.html   (12914 words)

  
 #1322 (Paged navigation & htaccess generation fails with "exotic" permalinks) - WordPress Trac - Trac
Made a mistake when reporting this: obviously this is a general error, not an Adminstration area.
Also, I should have prioritized this higher -- it required quite a bit of shotgun debugging on my part to discover.
Is this still valid with the new rewrite system?
trac.wordpress.org /ticket/1322   (206 words)

  
 Quick Shot review 18: Connectland ATX Power Supply Tester
Crashes, file corruption, video glitches, 1003 kinds of ridiculous Windows error message; all can be the fault of flaky power.
A lot of problems don't have anything to do with the PSU, of course, but it's still a good idea to make the PSU the first thing you swap out of the machine once you've been driven to the shotgun debugging stage.
A replacement PSU is cheap and swapping a PSU is easy.
www.dansdata.com /quickshot018.htm   (1322 words)

  
 Dan's Data letters #23
If it doesn't, then you've got yourself a spare PSU, which is a useful thing to have anyway.
If changing the PSU doesn't help, then you're down to shotgun debugging - removing/replacing components one at a time to see what, if anything, helps.
Start with the RAM, and work from there.
www.dansdata.com /danletters023.htm   (2326 words)

  
 Journal of osfameron (3135)
I don't know what effect this will have of course, but let's just see
;-> (I think my method could be called 'Shotgun configuring', and it's working out to be almost as successful as Shotgun debugging...) This now sort of works, except that Configure can't work out what the Intval type should be.
As per the README file's instructions, I do
use.perl.org /~osfameron/journal/5455   (431 words)

  
 Lilo and SCSI - LinuxQuestions.org
I'm getting the ubiquitous LILO error of LI and then straight 99's, which of course means can't load second stage because the drive geometry is misreported or gnomes have eaten the kernel or a million other things.
Before I go shotgun debugging lilo with a million different options, does anyone know an option to pass lilo that typically makes scsi happy?
Its doing the typical: lba32 bit addressing assumed message when I re-run LILO, is that bad?
www.linuxquestions.org /questions/showthread.php?t=57912   (380 words)

Try your search on: Qwika (all wikis)

Factbites
  About us   |   Why use us?   |   Reviews   |   Press   |   Contact us  
Copyright © 2005-2007 www.factbites.com Usage implies agreement with terms.