Tuesday, June 2, 2015

Episode 43: Debugging!


Introduction: "Easy" Programming Problems & https://blog.svpino.com/2015/05/07/five-programming-problems-every-software-engineer-should-be-able-to-solve-in-less-than-1-hour

We are sponsored by audible! http://www.audibletrial.com/programmingthrowdown


Book of the Show

Tool of the Show

  • Jason: rsync
  • Patrick:  Multimeter


  • Types of bugs
    • Crasher
    • Hang/Slowness
    • Wrong answer
    • Memory/Thread leak
    • Buffer Overrun
  • Techniques
    • Divide and Conquer
      • Finding where the problem isn’t
    • Logging
      • Print statements
      • Rolling files
    • Debugger
      • C/C++: GDB / LLDB
      • Javascript: FireBug
      • Python: pdb
      • Java: jdb or JDWP (Java Debugging Wire Protocol)
  • Profiling (asked for by Morten Nielsen)
    • Prelude/Postlude vs Random Sampling
    • C/C++: gprof
    • Javascript: Firefox/Chrome profiler
    • Python: Profile / cProfile
  • Memory Debugging
    • Valgrind
    • Address Sanitizer
  • Automation
  • Reporting
    • Crash Reporting
    • Aggregated statistics
  • Worst bug ever stories
    • Bugs that only happen in release builds
    • Bugs that only happen once per day
    • Bugs where you have to do something for a long time to get it to work
  • Crazy Stories
    • Friend’s dad debugged ATM machines in russia by playing notes at different frequencies
    • Stack unwinding by hand


  1. I am glad that I saw this post. It is informative blog for us and we need this type of blog thanks for share this blog, Keep posting such instructional blogs and I am looking forward for your future posts. Python Projects for Students Data analytics is the study of dissecting crude data so as to make decisions about that data. Data analytics advances and procedures are generally utilized in business ventures to empower associations to settle on progressively Python Training in Chennai educated business choices. In the present worldwide commercial center, it isn't sufficient to assemble data and do the math; you should realize how to apply that data to genuine situations such that will affect conduct. In the program you will initially gain proficiency with the specialized skills, including R and Python dialects most usually utilized in data analytics programming and usage; Python Training in Chennai at that point center around the commonsense application, in view of genuine business issues in a scope of industry segments, for example, wellbeing, promoting and account. Project Center in Chennai

  2. We’re an online shopping marketplace and we provide an affordable and seamless shopping experience. AllShopBiz offers shopping deals on the world’s largest selection of products and services. You can explore large range of products and product categories, as we provide you with the best prices across a wide-spread range of Electronics, Clothing and Apparels, Furniture etc. Looking for a website to purchase some electronic goods, but you don’t know where you can find a website where you can find everything related to electronics and more at a reasonable price?Store Shopping

  3. First of all, thank you for your post. 먹튀검증 Your posts are neatly organized with the information I want, so there are plenty of resources to reference. I bookmark this site and will find your posts frequently in the future. Thanks again ^^ Monster Truck Show

  4. That is very interesting, You are an excessively skilled blogger. I have joined your rss feed and look forward to in search of more of your excellent post. Also, I have shared your web site in my social networks. check this link

  5. Sometimes I discover a product that gets me so excited. It is not very often you find something with unlimited possibilities. A product that can fix pretty much anything, that you can create new things with, and improve how other things work. I have been playing around with Sugru for a couple of weeks and I love it! It is one of those things that once you have it, you think of a million uses for it. website

  6. You must have been sending me creative vibes because I’m working on a very similar project for my final Easter post! Yay for pretty eggs. Have a great day and thanks always for the beauty you bring us.game light

  7. I am glad to see this brilliant post. all the details are very helpful and good for us, keep up to good work.I found some useful information in your blog, it was awesome to read, thanks for sharing this great content to my vision, keep sharing.
    Java Training in Pune

  8. You must have been sending me creative vibes because I’m working on a very similar project for my final Easter post! Yay for pretty eggs. Have a great day and thanks always for the beauty you bring us.ฤกษ์แต่งงาน

  9. You should never the same password for multiple sites. Reusing a password repeatedly increases the likelihood that someone else will be able to steal your password. baby bottle sanitizer