SlideShare una empresa de Scribd logo
1 de 5
Debugging:
9 Indispensable Rules
(Rules 1-3)

- Mudabbir Warsi
  (ITCM Dev, CA Technologies)
Understand the System

“It is not so impossible, however, that a man should possess all knowledge which is likely to be
useful to him in his work, and this, I have endeavored in my case to do”.
                            – Sherlock Holmes

Read the manual

Remember Murphy’s Law

Know what is reasonable

Know the lay of the land

Know your tools

      o Choose the right tools

      o Use the tool correctly

      o Interpret the results correctly

      o Understand the limitations of your tools
    Debugging: 9 indispensable rules.   07/07/2011   Copyright (c) 2011 CA. All rights reserved.
Make it fail

“There is nothing like first-hand evidence”.
                            – Sherlock Holmes


How to make it fail?

       o Start at the beginning

       o No detail is insignificant

       o Stimulate the failure. Don’t simulate the failure

       o What if it’s intermittent?

       o What if it’s still intermittent?

Why to make it fail?

      o Did you fix it, or Did you get lucky?

      o But “that” can’t happen!
    Debugging: 9 indispensable rules.   07/07/2011   Copyright (c) 2011 CA. All rights reserved.
Quit thinking and look

“It is a capital mistake to theorize before one has data. Insensibly one begins to twist facts to
suit theories , instead of theories to suit facts”.
                            – Sherlock Holmes

See the failure

My eyes are open….Now what?

     o Design Instrumentation in

     o Build Instrumentation in later

The Heisenberg uncertainty principle

Guess, but look before you fix




    Debugging: 9 indispensable rules.   07/07/2011   Copyright (c) 2011 CA. All rights reserved.
Questions

Más contenido relacionado

Destacado (16)

20121204 are your lights on?
20121204 are your lights on?20121204 are your lights on?
20121204 are your lights on?
 
Session 31 Michelle Benyamine Karin Blidberg
Session 31 Michelle Benyamine Karin BlidbergSession 31 Michelle Benyamine Karin Blidberg
Session 31 Michelle Benyamine Karin Blidberg
 
Pertemuan 9
Pertemuan 9Pertemuan 9
Pertemuan 9
 
Parasite control
Parasite controlParasite control
Parasite control
 
Bsm master
Bsm   masterBsm   master
Bsm master
 
Μάθημα Moodle
Μάθημα MoodleΜάθημα Moodle
Μάθημα Moodle
 
Digital Business: Conferencing and Collaboration Overview
Digital Business: Conferencing and Collaboration OverviewDigital Business: Conferencing and Collaboration Overview
Digital Business: Conferencing and Collaboration Overview
 
Training devolopment
Training devolopmentTraining devolopment
Training devolopment
 
2010 DFC Taiwan-Chi 047 綠計劃
2010 DFC Taiwan-Chi 047 綠計劃2010 DFC Taiwan-Chi 047 綠計劃
2010 DFC Taiwan-Chi 047 綠計劃
 
шаблон визитки проекта
шаблон визитки проекташаблон визитки проекта
шаблон визитки проекта
 
Greem earth
Greem earthGreem earth
Greem earth
 
Bulat Stolyarov. Urban Index Russia
Bulat Stolyarov. Urban Index RussiaBulat Stolyarov. Urban Index Russia
Bulat Stolyarov. Urban Index Russia
 
150605 ωρολόγιο πρόγραμμα α', β', γ' γελ και πρόσβαση αει 2015 16
150605 ωρολόγιο πρόγραμμα α', β', γ' γελ και πρόσβαση αει 2015 16150605 ωρολόγιο πρόγραμμα α', β', γ' γελ και πρόσβαση αει 2015 16
150605 ωρολόγιο πρόγραμμα α', β', γ' γελ και πρόσβαση αει 2015 16
 
Bibliouhkh
BibliouhkhBibliouhkh
Bibliouhkh
 
The coevasi ointerattivodemo
The coevasi ointerattivodemoThe coevasi ointerattivodemo
The coevasi ointerattivodemo
 
4. program integer
4. program integer4. program integer
4. program integer
 

Último

Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
EADTU
 
SURVEY I created for uni project research
SURVEY I created for uni project researchSURVEY I created for uni project research
SURVEY I created for uni project research
CaitlinCummins3
 

Último (20)

How to Send Pro Forma Invoice to Your Customers in Odoo 17
How to Send Pro Forma Invoice to Your Customers in Odoo 17How to Send Pro Forma Invoice to Your Customers in Odoo 17
How to Send Pro Forma Invoice to Your Customers in Odoo 17
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
 
What is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptxWhat is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptx
 
Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17
 
VAMOS CUIDAR DO NOSSO PLANETA! .
VAMOS CUIDAR DO NOSSO PLANETA!                    .VAMOS CUIDAR DO NOSSO PLANETA!                    .
VAMOS CUIDAR DO NOSSO PLANETA! .
 
Spring gala 2024 photo slideshow - Celebrating School-Community Partnerships
Spring gala 2024 photo slideshow - Celebrating School-Community PartnershipsSpring gala 2024 photo slideshow - Celebrating School-Community Partnerships
Spring gala 2024 photo slideshow - Celebrating School-Community Partnerships
 
8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital Management8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital Management
 
Rich Dad Poor Dad ( PDFDrive.com )--.pdf
Rich Dad Poor Dad ( PDFDrive.com )--.pdfRich Dad Poor Dad ( PDFDrive.com )--.pdf
Rich Dad Poor Dad ( PDFDrive.com )--.pdf
 
UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024
 
Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...
 
SURVEY I created for uni project research
SURVEY I created for uni project researchSURVEY I created for uni project research
SURVEY I created for uni project research
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...
 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
DEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUM
DEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUMDEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUM
DEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUM
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Ernest Hemingway's For Whom the Bell Tolls
Ernest Hemingway's For Whom the Bell TollsErnest Hemingway's For Whom the Bell Tolls
Ernest Hemingway's For Whom the Bell Tolls
 

Debugging 9 indispensable rules

  • 1. Debugging: 9 Indispensable Rules (Rules 1-3) - Mudabbir Warsi (ITCM Dev, CA Technologies)
  • 2. Understand the System “It is not so impossible, however, that a man should possess all knowledge which is likely to be useful to him in his work, and this, I have endeavored in my case to do”. – Sherlock Holmes Read the manual Remember Murphy’s Law Know what is reasonable Know the lay of the land Know your tools o Choose the right tools o Use the tool correctly o Interpret the results correctly o Understand the limitations of your tools Debugging: 9 indispensable rules. 07/07/2011 Copyright (c) 2011 CA. All rights reserved.
  • 3. Make it fail “There is nothing like first-hand evidence”. – Sherlock Holmes How to make it fail? o Start at the beginning o No detail is insignificant o Stimulate the failure. Don’t simulate the failure o What if it’s intermittent? o What if it’s still intermittent? Why to make it fail? o Did you fix it, or Did you get lucky? o But “that” can’t happen! Debugging: 9 indispensable rules. 07/07/2011 Copyright (c) 2011 CA. All rights reserved.
  • 4. Quit thinking and look “It is a capital mistake to theorize before one has data. Insensibly one begins to twist facts to suit theories , instead of theories to suit facts”. – Sherlock Holmes See the failure My eyes are open….Now what? o Design Instrumentation in o Build Instrumentation in later The Heisenberg uncertainty principle Guess, but look before you fix Debugging: 9 indispensable rules. 07/07/2011 Copyright (c) 2011 CA. All rights reserved.