SlideShare uma empresa 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

Mais conteúdo relacionado

Destaque

20121204 are your lights on?
20121204 are your lights on?20121204 are your lights on?
20121204 are your lights on?jasonmel
 
Session 31 Michelle Benyamine Karin Blidberg
Session 31 Michelle Benyamine Karin BlidbergSession 31 Michelle Benyamine Karin Blidberg
Session 31 Michelle Benyamine Karin BlidbergKarin-Blidberg
 
Digital Business: Conferencing and Collaboration Overview
Digital Business: Conferencing and Collaboration OverviewDigital Business: Conferencing and Collaboration Overview
Digital Business: Conferencing and Collaboration OverviewDigital Business
 
2010 DFC Taiwan-Chi 047 綠計劃
2010 DFC Taiwan-Chi 047 綠計劃2010 DFC Taiwan-Chi 047 綠計劃
2010 DFC Taiwan-Chi 047 綠計劃dfctaiwan2010
 
шаблон визитки проекта
шаблон визитки проекташаблон визитки проекта
шаблон визитки проектаMisterfister
 
150605 ωρολόγιο πρόγραμμα α', β', γ' γελ και πρόσβαση αει 2015 16
150605 ωρολόγιο πρόγραμμα α', β', γ' γελ και πρόσβαση αει 2015 16150605 ωρολόγιο πρόγραμμα α', β', γ' γελ και πρόσβαση αει 2015 16
150605 ωρολόγιο πρόγραμμα α', β', γ' γελ και πρόσβαση αει 2015 16Eleni Papadopoulou
 
The coevasi ointerattivodemo
The coevasi ointerattivodemoThe coevasi ointerattivodemo
The coevasi ointerattivodemoTheCoevas
 

Destaque (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

A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...RKavithamani
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 

Último (20)

A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 

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.