⏰ when

When Was the First Computer Bug Found?

HistoryComputing

Quick Answer

On 9 September 1947, operators of the Harvard Mark II computer found a moth trapped in a relay, which they taped into the logbook with the note "first actual case of bug being found" β€” popularising the term "debugging" in computing.

The Full Story

The famous moth was discovered on 9 September 1947 by Grace Hopper team while working on the Harvard Mark II electromechanical computer at the Naval Weapons Laboratory in Dahlgren, Virginia. The moth had become lodged in Relay 70 of Panel F, causing a malfunction. Operator William Burke removed it and taped it into the logbook alongside the note: "First actual case of bug being found." While the term "bug" for technical glitches predates this incident β€” Thomas Edison used it as early as 1878 to describe flaws in his inventions β€” the Mark II moth gave the term its enduring association with computer errors and popularised "debugging" as the process of fixing them. The original logbook page with the moth is preserved at the Smithsonian National Museum of American History. Grace Hopper, who led the Mark II programming team and would become one of the pioneers of computer programming (she helped develop COBOL), loved telling the story and is often credited with coining the term, though she herself acknowledged it was older.

Key Facts

1.The moth was found in Relay 70, Panel F of the Harvard Mark II β€” an electromechanical computer that used thousands of mechanical relays, any of which could be disrupted by a physical obstruction.
2.Thomas Edison used the word "bug" to describe technical problems as early as 1878, writing about "bugs" in his telephone designs in a letter to a colleague.
3.The original logbook page with the taped moth and the famous "first actual case of bug being found" note is preserved at the Smithsonian National Museum of American History in Washington, D.C.

YouTube Angle

Suggested video title for this topic:

"The First Computer Bug β€” How a Moth Made Computing History"