SlideShare a Scribd company logo
1 of 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

More Related Content

What's hot

debugging - system software
debugging - system softwaredebugging - system software
debugging - system softwareVicky Shan
 
Introduction to loaders
Introduction to loadersIntroduction to loaders
Introduction to loadersTech_MX
 
Loader and Its types
Loader and Its typesLoader and Its types
Loader and Its typesParth Dodiya
 
Quality and productivity factors
Quality and productivity factorsQuality and productivity factors
Quality and productivity factorsNancyBeaulah_R
 
Object oriented software engineering concepts
Object oriented software engineering conceptsObject oriented software engineering concepts
Object oriented software engineering conceptsKomal Singh
 
Metrics for project size estimation
Metrics for project size estimationMetrics for project size estimation
Metrics for project size estimationNur Islam
 
Requirements engineering process in software engineering
Requirements engineering process in software engineeringRequirements engineering process in software engineering
Requirements engineering process in software engineeringPreeti Mishra
 
Loaders ( system programming )
Loaders ( system programming ) Loaders ( system programming )
Loaders ( system programming ) Adarsh Patel
 
Software Measurement and Metrics.pptx
Software Measurement and Metrics.pptxSoftware Measurement and Metrics.pptx
Software Measurement and Metrics.pptxubaidullah75790
 
Domain-Specific Software Engineering
Domain-Specific Software EngineeringDomain-Specific Software Engineering
Domain-Specific Software Engineeringelliando dias
 
Message and Stream Oriented Communication
Message and Stream Oriented CommunicationMessage and Stream Oriented Communication
Message and Stream Oriented CommunicationDilum Bandara
 
Operating system services 9
Operating system services 9Operating system services 9
Operating system services 9myrajendra
 
Programming team structure
Programming team structureProgramming team structure
Programming team structureNancyBeaulah_R
 

What's hot (20)

debugging - system software
debugging - system softwaredebugging - system software
debugging - system software
 
Introduction to loaders
Introduction to loadersIntroduction to loaders
Introduction to loaders
 
Assembler
AssemblerAssembler
Assembler
 
Loader and Its types
Loader and Its typesLoader and Its types
Loader and Its types
 
Quality and productivity factors
Quality and productivity factorsQuality and productivity factors
Quality and productivity factors
 
Debugging
DebuggingDebugging
Debugging
 
Object oriented software engineering concepts
Object oriented software engineering conceptsObject oriented software engineering concepts
Object oriented software engineering concepts
 
Metrics for project size estimation
Metrics for project size estimationMetrics for project size estimation
Metrics for project size estimation
 
Direct linking loaders
Direct linking loadersDirect linking loaders
Direct linking loaders
 
Translators(Compiler, Assembler) and interpreter
Translators(Compiler, Assembler) and interpreterTranslators(Compiler, Assembler) and interpreter
Translators(Compiler, Assembler) and interpreter
 
Requirements engineering process in software engineering
Requirements engineering process in software engineeringRequirements engineering process in software engineering
Requirements engineering process in software engineering
 
Loaders ( system programming )
Loaders ( system programming ) Loaders ( system programming )
Loaders ( system programming )
 
Introduction to Compiler design
Introduction to Compiler design Introduction to Compiler design
Introduction to Compiler design
 
Software Measurement and Metrics.pptx
Software Measurement and Metrics.pptxSoftware Measurement and Metrics.pptx
Software Measurement and Metrics.pptx
 
Domain-Specific Software Engineering
Domain-Specific Software EngineeringDomain-Specific Software Engineering
Domain-Specific Software Engineering
 
System Programming Overview
System Programming OverviewSystem Programming Overview
System Programming Overview
 
Message and Stream Oriented Communication
Message and Stream Oriented CommunicationMessage and Stream Oriented Communication
Message and Stream Oriented Communication
 
Operating system services 9
Operating system services 9Operating system services 9
Operating system services 9
 
Programming team structure
Programming team structureProgramming team structure
Programming team structure
 
Role-of-lexical-analysis
Role-of-lexical-analysisRole-of-lexical-analysis
Role-of-lexical-analysis
 

Viewers also liked

Viewers also liked (12)

Notes on Debugging
Notes on DebuggingNotes on Debugging
Notes on Debugging
 
Editor structure
Editor structureEditor structure
Editor structure
 
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
 
Software tools
Software toolsSoftware tools
Software tools
 
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
 

Similar to 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
 
Software Fault Tolerance
Software Fault ToleranceSoftware Fault Tolerance
Software Fault ToleranceAnkit Singh
 

Similar to 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
 
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
 
Software Fault Tolerance
Software Fault ToleranceSoftware Fault Tolerance
Software Fault Tolerance
 

Recently uploaded

Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLDeelipZope
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...RajaP95
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 

Recently uploaded (20)

Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 

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 .