shotgun debugging -> απόπειρα διόρθωσης σφάλματος σε πρόγραμμα κάνοντας πειραματικές αλλαγές στον κώδικα, αποσφαλμάτωση με αλλαγές στα κουτουρού

spiros

  • Administrator
  • Hero Member
  • *****
    • Posts: 812079
    • Gender:Male
  • point d’amour
shotgun debugging -> απόπειρα διόρθωσης σφάλματος σε πρόγραμμα κάνοντας πειραματικές αλλαγές στον κώδικα

Shotgun debugging can be defined as:

A process of making relatively un-directed changes to software in the hope that a bug will be perturbed out of existence.
Using the approach of trying several possible solutions of hardware or software problem at the same time, in the hope that one of the solutions (typically source code modifications) will work.
Shotgun debugging has a relatively low success rate and can be very time consuming, except when used as an attempt to work around programming language features that one may be using improperly. When combined with domain expertise and a strong intuition for the underlying codebase, it can be a good starting point to gut-solve a buggy piece of code a few times before formally researching the corresponding error message. When used in this way, it may be a valuable technique that is faster than browsing through the Internet searching a particular error message every time.
https://en.wikipedia.org/wiki/Shotgun_debugging
« Last Edit: 22 Jan, 2020, 18:00:24 by spiros »


 

Search Tools