SlideShare uma empresa Scribd logo
1 de 17
SRI RAMANUJAR ENGINEERING COLLEGE
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING
SYSTEM SOFTWARE
INTERACTIVE DEBUGGING SYSTEM
By
Florence priyadarshini .W (CSE)
 What is Interactive debugging system?
The Interactive debugging system facilitates the programmers in
testing and debugging of programs.
 Approaches to debugging
 Print statements
 Printing to log files
 Heap checking
 Reverse execution
Debugging
functions and
capabilities
Unit test
Functions
Tracing and
Traceback
Program
display
Capabilities
Incremental
Aspects
Debugging functions and capabilities
Functions Execution
sequencing
Break points Conditional
expression
Gaits
Definition It is
observation
and control
flow of
program
execution.
A break point
cause the
execution to
be
suspended .
Specified
conditional
expressions
cause
execution to
be
suspended.
Run the
program in
various
speeds.
Conditions Can be halted
after a fixed
number of
instructions
are executed.
Specific point
program
When any of
the condition
become true
as defined by
user.
Runs in good
graphical
representation
of a program
Program
resumption
no yes no no
Unit test functions
Tracing and Traceback
Functions Tracing Traceback
definitions Used to trace the flow
of execution logic and
data modifications
Shows the path by
which the current
execution of the
statement is reached.
Conditions Only after
modifications
Path of current
statement
Program display capabilities
 It displays the program being debugged with statement numbers.
The user can control the level at which display occurs.
INCREMENTAL ASPECTS
What are the aspects ?
1. Modification during debugging.
2. Recompile incrementally during debugging.
What it should do ?
1. Save all the debugging specifications such as break points etc.
2. It must symbolically display or modify the content of variables and constants
of a program and then continue execution.
How it helps ?
Programmer need not reissue all debugging commands.
Needs for Debugging System
1. Able to determine the language of program in which it is written so it
must be language independent
2. It should get its context accordingly
When does a context used ?
Debugger switches using context when one program written in one
language calls a program written in the other language.
Each context has its own effect
1.Assignment statements :
COBOL : MOV 3.5 TO A
FORTRAN : A = 3.5
2.Conditional expression:
COBOL : IF A NOT EQUAL TO B
FORTRAN : IF (A.NE.B)
3.The notation used is based on the language being debugged.
Example :
Press F12 for Development window
Language used : HTML with PHP code
After clicking Maps button
Language used: HTML with JAVA script
Language translator :
1. Debugger should have access to information collected by
language translator.
2. Translators produce the required information in a standard
external form regardless of internal form used in translator.
3. Interface modules that can respond to request for
information in a standard way regardless of language.
Debugger Access Translator
C
Format
JAVA
Format
COBOL
Format
TRANSLATOR
OUTPUT
COBOL
Format
JAVA
Format
C
Format
Translator
output
Input Debugger
Translator
output
Optimized code
What is optimized code?
The process of modifying the software system to make it to work more
efficiently.
Uses:
1. Lower memory storage
2. Less power
How is it done ?
1. Invariant expressions can be removed form loop.
2. Separate loop can be combined into a single loop.
3. Redundant expressions can be eliminated.
4. Elimination of unnecessary branch instructions.
Disadvantages:
Due to code arrangement
1. Affect tracing
2. Affect Breakpoints
3. Affect Statement counts
Relationship with other Parts of the System
1.Runtime environment:
 Interactive debugger must be a part of runtime environment.
When an error is found immediate debugging must be possible.
Reason: Impossible to reproduce the failure in other environments.
2. Production environment:
 User should be able to debug in a production environment.
Cause: If a application fails during a program run , work dependent on that
application stops.
3. Security and integrity:
 Specific authorization should be given.
Limits: 1. An unauthorized user cannot access any data.
2.Should not be possible to use debuggers to interfere with any
aspect of system integrity
4.Language compilers and interpreters:
 Must co-ordinate its activities with existing and future language compilers
and interpreters.
Existing : Maintained
Future : Install new upgrades
What are the Criteria for User-interface ?
1. User friendly.
2. Use Full screen display and windowing display
3. Use menu bars
a.) Menus should have the heading of the task
b.) Possible to go directly to menus and it should not entire hierarchy.
4. Command Language:
a.)It must be clear, logical, simple syntax
b.)Should minimize punctuations eg : { } , / , etc ….
5. Available Help Facility .
Interactive debugging system

Mais conteúdo relacionado

Mais procurados

Loader and Its types
Loader and Its typesLoader and Its types
Loader and Its typesParth Dodiya
 
debugging - system software
debugging - system softwaredebugging - system software
debugging - system softwareVicky Shan
 
System Programming- Unit I
System Programming- Unit ISystem Programming- Unit I
System Programming- Unit ISaranya1702
 
Introduction to loaders
Introduction to loadersIntroduction to loaders
Introduction to loadersTech_MX
 
Single pass assembler
Single pass assemblerSingle pass assembler
Single pass assemblerBansari Shah
 
Fundamentals of Language Processing
Fundamentals of Language ProcessingFundamentals of Language Processing
Fundamentals of Language ProcessingHemant Sharma
 
System software - macro expansion,nested macro calls
System software - macro expansion,nested macro callsSystem software - macro expansion,nested macro calls
System software - macro expansion,nested macro callsSARASWATHI S
 
Debuggers in system software
Debuggers in system softwareDebuggers in system software
Debuggers in system softwaregayathri ravi
 
Linker and Loader Explained
Linker and Loader  ExplainedLinker and Loader  Explained
Linker and Loader ExplainedAdarsh Kr Sinha
 

Mais procurados (20)

Ch 4 linker loader
Ch 4 linker loaderCh 4 linker loader
Ch 4 linker loader
 
Unit 3 sp assembler
Unit 3 sp assemblerUnit 3 sp assembler
Unit 3 sp assembler
 
Loader and Its types
Loader and Its typesLoader and Its types
Loader and Its types
 
Editor structure
Editor structureEditor structure
Editor structure
 
Direct linking loaders
Direct linking loadersDirect linking loaders
Direct linking loaders
 
debugging - system software
debugging - system softwaredebugging - system software
debugging - system software
 
System Programming- Unit I
System Programming- Unit ISystem Programming- Unit I
System Programming- Unit I
 
Assembler
AssemblerAssembler
Assembler
 
Introduction to loaders
Introduction to loadersIntroduction to loaders
Introduction to loaders
 
Software tools
Software toolsSoftware tools
Software tools
 
Design of a two pass assembler
Design of a two pass assemblerDesign of a two pass assembler
Design of a two pass assembler
 
Single pass assembler
Single pass assemblerSingle pass assembler
Single pass assembler
 
Fundamentals of Language Processing
Fundamentals of Language ProcessingFundamentals of Language Processing
Fundamentals of Language Processing
 
Unit 4 sp macro
Unit 4 sp macroUnit 4 sp macro
Unit 4 sp macro
 
System software - macro expansion,nested macro calls
System software - macro expansion,nested macro callsSystem software - macro expansion,nested macro calls
System software - macro expansion,nested macro calls
 
Debuggers in system software
Debuggers in system softwareDebuggers in system software
Debuggers in system software
 
Two pass Assembler
Two pass AssemblerTwo pass Assembler
Two pass Assembler
 
Linker and Loader Explained
Linker and Loader  ExplainedLinker and Loader  Explained
Linker and Loader Explained
 
Language processors
Language processorsLanguage processors
Language processors
 
Phases of Compiler
Phases of CompilerPhases of Compiler
Phases of Compiler
 

Destaque

Destaque (11)

Notes on Debugging
Notes on DebuggingNotes on Debugging
Notes on Debugging
 
Debugging
DebuggingDebugging
Debugging
 
The Art Of Debugging
The Art Of DebuggingThe Art Of Debugging
The Art Of Debugging
 
System software 1ppt(udated)
System software 1ppt(udated)System software 1ppt(udated)
System software 1ppt(udated)
 
Debugging
DebuggingDebugging
Debugging
 
Debugging
DebuggingDebugging
Debugging
 
Ch21 real time software engineering
Ch21 real time software engineeringCh21 real time software engineering
Ch21 real time software engineering
 
Compiler Design(NANTHU NOTES)
Compiler Design(NANTHU NOTES)Compiler Design(NANTHU NOTES)
Compiler Design(NANTHU NOTES)
 
Code Optimization
Code OptimizationCode Optimization
Code Optimization
 
Text editor
Text editorText editor
Text editor
 
OPEN SOURCE SEMINAR PRESENTATION
OPEN SOURCE SEMINAR PRESENTATIONOPEN SOURCE SEMINAR PRESENTATION
OPEN SOURCE SEMINAR PRESENTATION
 

Semelhante a Interactive debugging system

Qualidade de Software em zOS usando IBM Debug Tool e RDz
Qualidade de Software em zOS usando IBM Debug Tool e RDzQualidade de Software em zOS usando IBM Debug Tool e RDz
Qualidade de Software em zOS usando IBM Debug Tool e RDzPaulo Batuta
 
Introduction to system programming
Introduction to system programmingIntroduction to system programming
Introduction to system programmingsonalikharade3
 
Software development slides
Software development slidesSoftware development slides
Software development slidesiarthur
 
Problem Solving Techniques
Problem Solving TechniquesProblem Solving Techniques
Problem Solving TechniquesAshesh R
 
Introduction to programming language (basic)
Introduction to programming language (basic)Introduction to programming language (basic)
Introduction to programming language (basic)nharsh2308
 
Stnotes doc 5
Stnotes doc 5Stnotes doc 5
Stnotes doc 5Alok Jain
 
Introduction to compiler
Introduction to compilerIntroduction to compiler
Introduction to compilerA. S. M. Shafi
 
Manual testing visonia
Manual testing   visoniaManual testing   visonia
Manual testing visoniaVisoniaTechlab
 
Chap 1-language processor
Chap 1-language processorChap 1-language processor
Chap 1-language processorshindept123
 
Principles of programming
Principles of programmingPrinciples of programming
Principles of programmingRob Paok
 
Testing Presentation
Testing PresentationTesting Presentation
Testing Presentationsureshpkumar
 
design intoduction of_COMPILER_DESIGN.pdf
design intoduction of_COMPILER_DESIGN.pdfdesign intoduction of_COMPILER_DESIGN.pdf
design intoduction of_COMPILER_DESIGN.pdfadvRajatSharma
 

Semelhante a Interactive debugging system (20)

Ss debuggers
Ss debuggersSs debuggers
Ss debuggers
 
Qualidade de Software em zOS usando IBM Debug Tool e RDz
Qualidade de Software em zOS usando IBM Debug Tool e RDzQualidade de Software em zOS usando IBM Debug Tool e RDz
Qualidade de Software em zOS usando IBM Debug Tool e RDz
 
Translators(Compiler, Assembler) and interpreter
Translators(Compiler, Assembler) and interpreterTranslators(Compiler, Assembler) and interpreter
Translators(Compiler, Assembler) and interpreter
 
Introduction to system programming
Introduction to system programmingIntroduction to system programming
Introduction to system programming
 
Software development slides
Software development slidesSoftware development slides
Software development slides
 
Problem Solving Techniques
Problem Solving TechniquesProblem Solving Techniques
Problem Solving Techniques
 
Training 8051Report
Training 8051ReportTraining 8051Report
Training 8051Report
 
Introduction to programming language (basic)
Introduction to programming language (basic)Introduction to programming language (basic)
Introduction to programming language (basic)
 
Stnotes doc 5
Stnotes doc 5Stnotes doc 5
Stnotes doc 5
 
Introduction to compiler
Introduction to compilerIntroduction to compiler
Introduction to compiler
 
Manual testing visonia
Manual testing   visoniaManual testing   visonia
Manual testing visonia
 
Chap 1-language processor
Chap 1-language processorChap 1-language processor
Chap 1-language processor
 
Principles of programming
Principles of programmingPrinciples of programming
Principles of programming
 
PROBLEM SOLVING
PROBLEM SOLVINGPROBLEM SOLVING
PROBLEM SOLVING
 
Types of system software
Types of system softwareTypes of system software
Types of system software
 
Testing Presentation
Testing PresentationTesting Presentation
Testing Presentation
 
WEBSITE DEVELOPMENT
WEBSITE DEVELOPMENTWEBSITE DEVELOPMENT
WEBSITE DEVELOPMENT
 
Debug tool
Debug toolDebug tool
Debug tool
 
Computer
ComputerComputer
Computer
 
design intoduction of_COMPILER_DESIGN.pdf
design intoduction of_COMPILER_DESIGN.pdfdesign intoduction of_COMPILER_DESIGN.pdf
design intoduction of_COMPILER_DESIGN.pdf
 

Último

UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICSUNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICSrknatarajan
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college projectTonystark477637
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...Call Girls in Nagpur High Profile
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdfKamal Acharya
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . pptDineshKumar4165
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01KreezheaRecto
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...SUHANI PANDEY
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756dollysharma2066
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduitsrknatarajan
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VDineshKumar4165
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdfSuman Jyoti
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringmulugeta48
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfJiananWang21
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingrknatarajan
 

Último (20)

UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICSUNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 

Interactive debugging system

  • 1. SRI RAMANUJAR ENGINEERING COLLEGE DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING SYSTEM SOFTWARE INTERACTIVE DEBUGGING SYSTEM By Florence priyadarshini .W (CSE)
  • 2.
  • 3.  What is Interactive debugging system? The Interactive debugging system facilitates the programmers in testing and debugging of programs.
  • 4.  Approaches to debugging  Print statements  Printing to log files  Heap checking  Reverse execution
  • 5. Debugging functions and capabilities Unit test Functions Tracing and Traceback Program display Capabilities Incremental Aspects Debugging functions and capabilities
  • 6. Functions Execution sequencing Break points Conditional expression Gaits Definition It is observation and control flow of program execution. A break point cause the execution to be suspended . Specified conditional expressions cause execution to be suspended. Run the program in various speeds. Conditions Can be halted after a fixed number of instructions are executed. Specific point program When any of the condition become true as defined by user. Runs in good graphical representation of a program Program resumption no yes no no Unit test functions
  • 7. Tracing and Traceback Functions Tracing Traceback definitions Used to trace the flow of execution logic and data modifications Shows the path by which the current execution of the statement is reached. Conditions Only after modifications Path of current statement
  • 8. Program display capabilities  It displays the program being debugged with statement numbers. The user can control the level at which display occurs.
  • 9. INCREMENTAL ASPECTS What are the aspects ? 1. Modification during debugging. 2. Recompile incrementally during debugging. What it should do ? 1. Save all the debugging specifications such as break points etc. 2. It must symbolically display or modify the content of variables and constants of a program and then continue execution. How it helps ? Programmer need not reissue all debugging commands.
  • 10. Needs for Debugging System 1. Able to determine the language of program in which it is written so it must be language independent 2. It should get its context accordingly When does a context used ? Debugger switches using context when one program written in one language calls a program written in the other language. Each context has its own effect 1.Assignment statements : COBOL : MOV 3.5 TO A FORTRAN : A = 3.5 2.Conditional expression: COBOL : IF A NOT EQUAL TO B FORTRAN : IF (A.NE.B) 3.The notation used is based on the language being debugged.
  • 11. Example : Press F12 for Development window Language used : HTML with PHP code
  • 12. After clicking Maps button Language used: HTML with JAVA script
  • 13. Language translator : 1. Debugger should have access to information collected by language translator. 2. Translators produce the required information in a standard external form regardless of internal form used in translator. 3. Interface modules that can respond to request for information in a standard way regardless of language. Debugger Access Translator C Format JAVA Format COBOL Format TRANSLATOR OUTPUT COBOL Format JAVA Format C Format Translator output Input Debugger Translator output
  • 14. Optimized code What is optimized code? The process of modifying the software system to make it to work more efficiently. Uses: 1. Lower memory storage 2. Less power How is it done ? 1. Invariant expressions can be removed form loop. 2. Separate loop can be combined into a single loop. 3. Redundant expressions can be eliminated. 4. Elimination of unnecessary branch instructions. Disadvantages: Due to code arrangement 1. Affect tracing 2. Affect Breakpoints 3. Affect Statement counts
  • 15. Relationship with other Parts of the System 1.Runtime environment:  Interactive debugger must be a part of runtime environment. When an error is found immediate debugging must be possible. Reason: Impossible to reproduce the failure in other environments. 2. Production environment:  User should be able to debug in a production environment. Cause: If a application fails during a program run , work dependent on that application stops. 3. Security and integrity:  Specific authorization should be given. Limits: 1. An unauthorized user cannot access any data. 2.Should not be possible to use debuggers to interfere with any aspect of system integrity 4.Language compilers and interpreters:  Must co-ordinate its activities with existing and future language compilers and interpreters. Existing : Maintained Future : Install new upgrades
  • 16. What are the Criteria for User-interface ? 1. User friendly. 2. Use Full screen display and windowing display 3. Use menu bars a.) Menus should have the heading of the task b.) Possible to go directly to menus and it should not entire hierarchy. 4. Command Language: a.)It must be clear, logical, simple syntax b.)Should minimize punctuations eg : { } , / , etc …. 5. Available Help Facility .