• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Principles of debugging

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    Principles of debugging

    I just wanted to reach out to you guys, with what I have learned about debugging complex systems.

    Debugging systematically is about simplifying the problem to the smallest possible number of moving parts, without masking the problem. So if there are three moving parts I lock down two of them (part A, part B) with a snapshot of their dynamic states (*) and then I observe the behaviour of the third (part C). If that is correct, then I rotate the test through to the next part, locking down part A and part C and observing part B.

    This is otherwise known as a "process of elimination". This works for electronics, software, interpersonal issues in teams

    (*) you must lock the moving parts down in a valid state to keep the debugging scenario realistic.

    #2
    Bot?
    Originally posted by MaryPoppins
    I'd still not breastfeed a nazi
    Originally posted by vetran
    Urine is quite nourishing

    Comment


      #3
      Ceteris paribus

      Comment


        #4
        Originally posted by d000hg View Post
        Bot?
        It may well be doohgie, I'll keep an eye on him...
        "I can put any old tat in my sig, put quotes around it and attribute to someone of whom I've heard, to make it sound true."
        - Voltaire/Benjamin Franklin/Anne Frank...

        Comment


          #5
          Originally posted by cojak View Post
          It may well be doohgie, I'll keep an eye on him...
          It bloody well isn't me, how rude.
          Originally posted by MaryPoppins
          I'd still not breastfeed a nazi
          Originally posted by vetran
          Urine is quite nourishing

          Comment


            #6
            Originally posted by d000hg View Post
            It bloody well isn't me, how rude.
            It may well be, doohgie.... (sigh)
            "I can put any old tat in my sig, put quotes around it and attribute to someone of whom I've heard, to make it sound true."
            - Voltaire/Benjamin Franklin/Anne Frank...

            Comment

            Working...
            X