09 May 2020
Webinar on “Debugging Techniques”
Audience: VI MCA, IV MCA, II MCA, IV MS, II MS, VIII B.Sc(R), IV B.Sc(R), VI BCA, IV BCA
Date: 9th May 2020
Timing: 2.00 to 4. PM
Number of audience participated: 600
Resource persons: Mr. Ravindra Kondekar, Software Scientist, Fintech company in US
Event organizing Body: School of CSA, REVA University
Objective of the Session
Debugging - It is a systematic process of spotting and fixing the number of bugs, or defects, in a piece of software so that the software is behaving as expected. , the best thing to do is to avoid the bug when you write the programme in the first place! It is important to sit and think before you code: decide exactly what needs to be achieved, how you plan to accomplish that, design the high-level algorithm cleanly, convince yourself it is correct, decide what are the concrete data structures you plan to use, and what are the invariants you plan to maintain. All the effort spent in designing and thinking about the code before you write it will pay off later. The benefits are twofold. First, having a clean design will reduce the probability of defects in your programme. Second, even if a bug shows up during testing, a clean design with clear invariants will make it much easier to track down and fix the bug.
Topics discussed in the session
• Bug Prevention and Defensive Programmeming
• Classes of Defects
• Debugging strategies
• Debugging by brute force
• Induction strategy
• Deduction strategy
• Backtracking strategy and
• Debugging by testing