Free 186 More Best Homemade Tools eBook:  
New: 300+ fresh build posts/day from 275 forums → BuildThreads.com

User Tag List

Results 1 to 5 of 5

Thread: An Arduino Debugging Tool

Threaded View

  1. #2
    Supporting Member BuffaloJohn's Avatar
    Join Date
    Aug 2019
    Location
    Oregon, USA
    Posts
    1,310
    Thanks
    502
    Thanked 783 Times in 464 Posts

    BuffaloJohn's Tools
    What is old is new...

    Back in the 70's we did the same thing - in Assembly or Fortran on the Cyber 74 or the Univac 1108 - and we didn't have any kind of fancy development environment, unless you count getting a chair with arms in the room where we punched cards - ah those were the days, submitting a card deck and going away for hours while we waited our turn for the deck to be run and the results printed or plotted and then waiting for the display light to indicate our job was done.

    Also did that on every other computer I worked on - micros, minis, controllers, and on. Why? Shouldn't these fancy IDEs do all that? Well, no, sometimes you were trying to debug a highly sensitive to time code bit, interrupt or driver or whatever. When working on something that is broke, you sometimes need to figure out where it is broken at speed. The old print statement worked well, but sometimes you needed to send the place code off to a port so you could get back to running the real code - a quick write to a port and back to work.

    And then you found out that it worked differently with the debugging statements and it was back to the drawing board trying to figure how to measure without changing the result... all hail Heisenberg!!!

    Ok, that reference might be obscure for some, Heisenberg's Uncertainty Principle states there is a limit to the simultaneous measurement of position and momentum. That same principle applies to the examination of a working machine or code.

  2. The Following 2 Users Say Thank You to BuffaloJohn For This Useful Post:

    old_toolmaker (Oct 31, 2021), rgsparber (Oct 31, 2021)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •