element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Essentials
  • Learn
  • Learning Center
  • Essentials
  • More
  • Cancel
Essentials
Polls Poll: Would You Be Interesting in an ESSENTIALS on Debugging?
  • Forum
  • Documents
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Essentials to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Engagement
  • Author Author: rscasny
  • Date Created: 25 Oct 2019 7:54 PM Date Created
  • Last Updated Last Updated: 11 Oct 2021 2:59 PM
  • Views 1368 views
  • Likes 1 like
  • Comments 16 comments
Related
Recommended

Poll: Would You Be Interesting in an ESSENTIALS on Debugging?

Debugging is an activity just about everyone involved in embedded design or working with any kind of single board computer does. What are the principles of debugging? In other words, the ESSENTIALS of [approaches to] debugging?

 

Poll Question: Would you be interested in an Essentials on Debugging?

  • Share
  • History
  • More
  • Cancel
  • Sign in to reply

Top Comments

  • dougw
    dougw over 5 years ago +8
    I assume this refers to software/firmware debugging. Hardware troubleshooting would be another great topic. Troubleshooting and debugging can be deceptively hard and can require extreme creativity.
  • 14rhb
    14rhb over 5 years ago +7
    My current C code on the Digilent BASYS MX3 is meant to add two 4-bit nibbles but the 7-segment display shows this instead....I'm very interested in debugging techniques.
  • michaelkellett
    michaelkellett over 5 years ago in reply to fmilburn +6
    I'm always interested in debugging - I spend a lot of time doing it. If you commission a series then please: 1) If at all possible make it vendor neutral - to my mind several of the "Essentials" have been…
Parents
  • koudelad
    koudelad over 5 years ago

    Debugging might be useful. However, I can't resist posting a link to an Embedded.fm episode with Jack Ganssle: https://embedded.fm/episodes/2014/5/27/53-being-a-grownup-engineer

    If you want to his opinion about debugging, head to 22:20 . I recommend hearing the whole episode (and also some others with James Grenning with test driven development approach, to get different opinion).

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • michaelkellett
    michaelkellett over 5 years ago in reply to koudelad

    Ganssle now makes a living out of proposing the absurd.

    Even in his opening phrases on debugging he's into the nonsense; suggesting that software is unique in the proportion of time spent debugging.

    It isn't, most significant human endeavor involves multiple attempts, prototyping, testing, debugging etc.

    I'm not suggesting that it isn't a good idea to try to get things as right as is reasonable, first time - of course it is.

    But pretending that proving that some code does what it's specification says it does will solve all software problems (or all problems that can be fixed by software) is just plain daft.

    The biggest problem is not addressed by Spark, Ada or much else - and that is getting the specification right.

    Look at Boeing's problem with the MAX737, as far as we know the code did what they meant it to do, the problem was that the single sensor was duff.

    No amount of proving the code was correct to spec would make any difference. (Other issues noted.)

     

    In the real world people do ask me to make box A talk to box B with no detailed specs of either. We make stuff to do the connecting and debug it.

    Just the same as if you asked a builder to put a porch up over your front door, a bit like the one at number 7.

    I wouldn't recommend that you use my box interface specced as it was to control a nuke, or the porch as a bomb shelter.

     

    Ganssle's failure is not to grasp that, for an awful lot of stuff, "Good enough" is good enough - but he gets paid for his rants.

     

    That's my rant (nearly) over - debugging is your friend - cherish it !

     

     

    MK

    • Cancel
    • Vote Up +5 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • michaelkellett
    michaelkellett over 5 years ago in reply to koudelad

    Ganssle now makes a living out of proposing the absurd.

    Even in his opening phrases on debugging he's into the nonsense; suggesting that software is unique in the proportion of time spent debugging.

    It isn't, most significant human endeavor involves multiple attempts, prototyping, testing, debugging etc.

    I'm not suggesting that it isn't a good idea to try to get things as right as is reasonable, first time - of course it is.

    But pretending that proving that some code does what it's specification says it does will solve all software problems (or all problems that can be fixed by software) is just plain daft.

    The biggest problem is not addressed by Spark, Ada or much else - and that is getting the specification right.

    Look at Boeing's problem with the MAX737, as far as we know the code did what they meant it to do, the problem was that the single sensor was duff.

    No amount of proving the code was correct to spec would make any difference. (Other issues noted.)

     

    In the real world people do ask me to make box A talk to box B with no detailed specs of either. We make stuff to do the connecting and debug it.

    Just the same as if you asked a builder to put a porch up over your front door, a bit like the one at number 7.

    I wouldn't recommend that you use my box interface specced as it was to control a nuke, or the porch as a bomb shelter.

     

    Ganssle's failure is not to grasp that, for an awful lot of stuff, "Good enough" is good enough - but he gets paid for his rants.

     

    That's my rant (nearly) over - debugging is your friend - cherish it !

     

     

    MK

    • Cancel
    • Vote Up +5 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube