cpsc 102 debugging
play

CPSC 102 Debugging Z A IN R IZ V I A Little History Lesson - PowerPoint PPT Presentation

CPSC 102 Debugging Z A IN R IZ V I A Little History Lesson 1946 Page from Harvard Mark II computers log. Entry by Grace Hopper Moth fmew in the machine. A Little History Lesson It has been just so in all of my


  1. CPSC 102 Debugging Z A IN R IZ V I

  2. A Little History Lesson • 1946 • Page from Harvard Mark II computer’s log. • Entry by Grace Hopper • Moth fmew in the machine.

  3. A Little History Lesson  “It has been just so in all of my inventions. The fjrst step is an intuition, and comes with a burst, then difgiculties arise — this thing gives out and [it is] then that "Bugs" — as such little faults and difgiculties are called — show themselves and months of intense watching, study and labor are requisite before commercial success or failure is certainly reached.” Thomas Edison Letter to Theodore Puskas (1878)

  4. A Little History Lesson  “... an analysing process must equally have been performed in order to furnish the Analytical Engine with the necessary operative data; and that herein may also lie a possible source of error. Granted that the actual mechanism is unerring in its processes, the cards may give it wrong orders.” Ada Lovelace Ada Lovelace’s notes 1843 notes on the analytical engine

  5. Rubber Ducky Debugging

  6. Debugging Practices  Pair programming  Code commenting  Reading the code  Write tests  Debugging tools  Version Control (gdb, jdb, pdb)

  7. Find! That! Bug!

  8. Find! That! Bug!

  9. Find! That! Bug!

  10. Find! That! Bug!

  11. Debugging Tools  pdb - The Python Debugger  jdb – The Java Debugger  gdb – Gnu Debugger

Recommend


More recommend