Tuesday, June 2, 2015

Episode 43: Debugging!

Download


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

News

Book of the Show

Tool of the Show

  • Jason: rsync
  • Patrick:  Multimeter

Debugging

  • 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


18 comments:

  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

    ReplyDelete
  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

    ReplyDelete
  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

    ReplyDelete
  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

    ReplyDelete
  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

    ReplyDelete
  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

    ReplyDelete
  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

    ReplyDelete
  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.ฤกษ์แต่งงาน

    ReplyDelete
  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

    ReplyDelete
  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

    ReplyDelete
  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

    ReplyDelete
  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

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

    ReplyDelete
  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

    ReplyDelete
  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

    ReplyDelete