The Jargon File (version 4.4.7, 29 Dec 2003):
shotgun debugging
 n.
    The software equivalent of Easter egging; the making of relatively
    undirected changes to software in the hope that a bug will be perturbed out
    of existence. This almost never works, and usually introduces more bugs.
The Free On-line Dictionary of Computing (30 December 2018):
shotgun debugging
   The software equivalent of Easter egging; the making of
   relatively undirected changes to software in the hope that a
   bug will be perturbed out of existence.  This almost never
   works, and usually introduces more bugs.
   [Jargon File]