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

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
 

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

The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxShobhayan Kirtania
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
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
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
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
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
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
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...Pooja Nehwal
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 

Último (20)

The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptx
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
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
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
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
 
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
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
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
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 

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.