SlideShare a Scribd company logo
6
Most read
14
Most read
15
Most read
SRI RAMANUJAR ENGINEERING COLLEGE
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING
SYSTEM SOFTWARE
INTERACTIVE DEBUGGING SYSTEM
By
Florence priyadarshini .W (CSE)
Interactive debugging system
 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

PPTX
Text Editor in System software
PPT
Interrupt
PPTX
System software - macro expansion,nested macro calls
PPTX
Cache performance considerations
PPTX
Types of Compilers
PPTX
Basic Computer Organization and Design
PPT
Operating systems
PPTX
System Programing Unit 1
Text Editor in System software
Interrupt
System software - macro expansion,nested macro calls
Cache performance considerations
Types of Compilers
Basic Computer Organization and Design
Operating systems
System Programing Unit 1

What's hot (20)

PPTX
Memory Management in OS
PPT
1.Role lexical Analyzer
PPTX
Loaders ( system programming )
PDF
Language processors
PPTX
Direct linking loader
PPTX
Types of environment in Artificial Intelligence
PPTX
Input Output Organization
PPTX
Fundamentals of Language Processing
PPTX
bus and memory tranfer (computer organaization)
PPTX
Operating system memory management
PDF
8 memory management strategies
PPTX
Interrupts
PPS
Timing and-control-unit
PDF
operating system structure
PPT
Priority scheduling algorithms
PPTX
Semophores and it's types
PPTX
Single pass assembler
PPTX
Phases of Compiler
PPT
Operating Systems Process Scheduling Algorithms
PPTX
Instruction sets of 8086
Memory Management in OS
1.Role lexical Analyzer
Loaders ( system programming )
Language processors
Direct linking loader
Types of environment in Artificial Intelligence
Input Output Organization
Fundamentals of Language Processing
bus and memory tranfer (computer organaization)
Operating system memory management
8 memory management strategies
Interrupts
Timing and-control-unit
operating system structure
Priority scheduling algorithms
Semophores and it's types
Single pass assembler
Phases of Compiler
Operating Systems Process Scheduling Algorithms
Instruction sets of 8086
Ad

Viewers also liked (13)

PPTX
Notes on Debugging
PPT
PPTX
Editor structure
ODP
The Art Of Debugging
PPTX
System software 1ppt(udated)
PPTX
PPT
Software tools
PPT
Debugging
PPTX
Ch21 real time software engineering
DOC
Compiler Design(NANTHU NOTES)
PPT
Code Optimization
PPTX
Text editor
PPTX
OPEN SOURCE SEMINAR PRESENTATION
Notes on Debugging
Editor structure
The Art Of Debugging
System software 1ppt(udated)
Software tools
Debugging
Ch21 real time software engineering
Compiler Design(NANTHU NOTES)
Code Optimization
Text editor
OPEN SOURCE SEMINAR PRESENTATION
Ad

Similar to Interactive debugging system (20)

PPTX
Ss debuggers
PDF
Qualidade de Software em zOS usando IBM Debug Tool e RDz
PPTX
Translators(Compiler, Assembler) and interpreter
PPTX
Introduction to system programming
PPT
Software development slides
PPT
Problem Solving Techniques
PPTX
Lec 2 Compiler, Interpreter, linker, loader.pptx
PDF
COMPUTER SCIENCE COURSE 204 COMPILER CONSTRUCTION,.pdf
PPTX
Programming C ppt for learning foundations
DOCX
Training 8051Report
PDF
Introduction to programming language (basic)
DOC
Stnotes doc 5
PDF
Introduction to compiler
PPT
Manual testing visonia
PPT
Chap 1-language processor
PPTX
Principles of programming
DOCX
PROBLEM SOLVING
PPTX
Types of system software
PPT
Testing Presentation
PPTX
2 arts of assembly languge programming-converted.pptx
Ss debuggers
Qualidade de Software em zOS usando IBM Debug Tool e RDz
Translators(Compiler, Assembler) and interpreter
Introduction to system programming
Software development slides
Problem Solving Techniques
Lec 2 Compiler, Interpreter, linker, loader.pptx
COMPUTER SCIENCE COURSE 204 COMPILER CONSTRUCTION,.pdf
Programming C ppt for learning foundations
Training 8051Report
Introduction to programming language (basic)
Stnotes doc 5
Introduction to compiler
Manual testing visonia
Chap 1-language processor
Principles of programming
PROBLEM SOLVING
Types of system software
Testing Presentation
2 arts of assembly languge programming-converted.pptx

Recently uploaded (20)

PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PPTX
Current and future trends in Computer Vision.pptx
PPT
Mechanical Engineering MATERIALS Selection
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PDF
composite construction of structures.pdf
PPTX
bas. eng. economics group 4 presentation 1.pptx
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PPT
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
PDF
Digital Logic Computer Design lecture notes
PPTX
web development for engineering and engineering
PPTX
Artificial Intelligence
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPTX
Construction Project Organization Group 2.pptx
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PPTX
Foundation to blockchain - A guide to Blockchain Tech
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
Current and future trends in Computer Vision.pptx
Mechanical Engineering MATERIALS Selection
Embodied AI: Ushering in the Next Era of Intelligent Systems
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
UNIT-1 - COAL BASED THERMAL POWER PLANTS
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
composite construction of structures.pdf
bas. eng. economics group 4 presentation 1.pptx
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
Digital Logic Computer Design lecture notes
web development for engineering and engineering
Artificial Intelligence
Operating System & Kernel Study Guide-1 - converted.pdf
Construction Project Organization Group 2.pptx
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
Foundation to blockchain - A guide to Blockchain Tech

Interactive debugging system

  • 1. SRI RAMANUJAR ENGINEERING COLLEGE DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING SYSTEM SOFTWARE INTERACTIVE DEBUGGING SYSTEM By Florence priyadarshini .W (CSE)
  • 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 .