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

  10. Fantastic post! Please keep sharing. I know of a roofing company if you are looking for Game Please get in touch! Thanks, have a good day.Budapest apartments

  11. It is to one's greatest advantage to know every one of your choices prior to making a bet. The straight bet is to a greater degree a long stretch sort of bet. You won't pile up the enormous mixture immediately however after some time, it will add up. Lusitania Masonry

  12. 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. Long Island Cedar Siding Contractor

  13. Thanks for the inforamtion. it is really helpful keep sharing.
    Java Classes in Pune

  14. I recently came across your article and have been reading along. I want to express my admiration of your writing skill and ability to make readers read from the beginning to the end.
    Java Classes in Pune

  15. The details that you are trying to share in this post is really informative for many peoples. But the lesser information that is available makes it really difficult to understand it for readers. I think you need to add more details to make it understandable to the users.Female Muslim Personal Trainer

  16. I just want to mention I am just newbie to blogging and site-building and actually loved you’re blog. Likely I’m planning to bookmark your blog post. You definitely have fabulous articles. With thanks for sharing your website page. SSD Cheap Web Hosting

  17. Hello! I could have sworn I’ve been to this website
    before but after checking through some of the post I realized it’s new to me.
    Anyhow, I’m definitely glad I found it and I’ll be book-marking and checking back frequently! witneycouriers

  18. Howdy! Do you know if they make any plugins to assist with SEO? I’m trying to get my blog to rank for some targeted keywords but I’m not seeing very good results. If you know of any please share. Cheers! การ์ดแต่งงาน

  19. Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic. If possible, as you gain expertise, would you mind updating your blog with extra information? It is extremely helpful for me. witneycouriers

  20. Nice post. I learn some thing tougher on diverse blogs everyday. It will always be stimulating to learn content using their company writers and exercise a little from their store. I’d prefer to use some while using the content in my weblog whether you don’t mind.Welcome to Jason's Holidays

  21. Ozone Sterilizer cabinet can be widely used in the room temperature disinfection and sterilization of packaging containers, work clothes, cleaning utensils, raw and auxiliary materials, molds, etc. in pharmaceutical factories, hospitals, biological products factories, cosmetics factories, food factories and other industries.

  22. Thank you for another informative web site. Where else could I get that type of information written in such a perfect way? I have a project that I am just now working on, and I’ve been on the look out for such information.Cloud Consulting Services

  23. There are a lot of talents and excellent works which still not included in the Olympics. In my opinion the other side of Sports which mean art and all, they need an Olympic level competition. Dog Cooling Mat,