IronPython
  • What’s New in Python
    • What’s New in Python 2.7
    • What’s New in Python 2.6
    • What’s New in Python 2.5
    • What’s New in Python 2.4
    • What’s New in Python 2.3
    • What’s New in Python 2.2
    • What’s New in Python 2.1
    • What’s New in Python 2.0
  • The Python Tutorial
    • 1. Whetting Your Appetite
    • 2. Using the Python Interpreter
    • 3. An Informal Introduction to Python
    • 4. More Control Flow Tools
    • 5. Data Structures
    • 6. Modules
    • 7. Input and Output
    • 8. Errors and Exceptions
    • 9. Classes
    • 10. Brief Tour of the Standard Library
    • 11. Brief Tour of the Standard Library – Part II
    • 12. What Now?
    • 13. Interactive Input Editing and History Substitution
    • 14. Floating Point Arithmetic: Issues and Limitations
  • Python Setup and Usage
    • 1. Command line and environment
    • 2. Using Python on Unix platforms
    • 3. Using Python on Windows
    • 4. Using Python on a Macintosh
  • The Python Language Reference
    • 1. Introduction
    • 2. Lexical analysis
    • 3. Data model
    • 4. Execution model
    • 5. Expressions
    • 6. Simple statements
    • 7. Compound statements
    • 8. Top-level components
    • 9. Full Grammar specification
  • The Python Standard Library
    • 1. Introduction
    • 2. Built-in Functions
    • 3. Non-essential Built-in Functions
    • 4. Built-in Constants
    • 5. Built-in Types
    • 6. Built-in Exceptions
    • 7. String Services
    • 8. Data Types
    • 9. Numeric and Mathematical Modules
    • 10. File and Directory Access
    • 11. Data Persistence
    • 12. Data Compression and Archiving
    • 13. File Formats
    • 14. Cryptographic Services
    • 15. Generic Operating System Services
    • 16. Optional Operating System Services
    • 17. Interprocess Communication and Networking
    • 18. Internet Data Handling
    • 19. Structured Markup Processing Tools
    • 20. Internet Protocols and Support
    • 21. Multimedia Services
    • 22. Internationalization
    • 23. Program Frameworks
    • 24. Graphical User Interfaces with Tk
    • 25. Development Tools
    • 26. Debugging and Profiling
    • 27. Python Runtime Services
    • 28. Custom Python Interpreters
    • 29. Restricted Execution
    • 30. Importing Modules
    • 31. Python Language Services
    • 32. Python compiler package
    • 33. Miscellaneous Services
    • 34. MS Windows Specific Services
    • 35. Unix Specific Services
    • 36. Mac OS X specific services
    • 37. MacPython OSA Modules
    • 38. SGI IRIX Specific Services
    • 39. SunOS Specific Services
    • 40. Undocumented Modules
  • Extending and Embedding the Python Interpreter
    • 1. Extending Python with C or C++
    • 2. Defining New Types
    • 3. Building C and C++ Extensions with distutils
    • 4. Building C and C++ Extensions on Windows
    • 5. Embedding Python in Another Application
  • IronPython .NET API Reference Manual
    • 1. Extending IronPython with C#
    • 2. Parsing and Tokenizing
  • Distributing Python Modules
    • 1. An Introduction to Distutils
    • 2. Writing the Setup Script
    • 3. Writing the Setup Configuration File
    • 4. Creating a Source Distribution
    • 5. Creating Built Distributions
    • 6. Registering with the Package Index
    • 7. Uploading Packages to the Package Index
    • 8. Examples
    • 9. Extending Distutils
    • 10. Command Reference
    • 11. API Reference
  • Installing Python Modules
    • Introduction
    • Standard Build and Install
    • Alternate Installation
    • Custom Installation
    • Distutils Configuration Files
    • Building Extensions: Tips and Tricks
  • Documenting Python
    • 1. Introduction
    • 2. Style Guide
    • 3. reStructuredText Primer
    • 4. Additional Markup Constructs
    • 5. Differences to the LaTeX markup
    • 6. Building the documentation
  • Python HOWTOs
    • Python Advocacy HOWTO
    • Porting Extension Modules to 3.0
    • Curses Programming with Python
    • Descriptor HowTo Guide
    • Idioms and Anti-Idioms in Python
    • Functional Programming HOWTO
    • Logging HOWTO
    • Logging Cookbook
    • Regular Expression HOWTO
    • Socket Programming HOWTO
    • Sorting HOW TO
    • Unicode HOWTO
    • HOWTO Fetch Internet Resources Using urllib2
    • HOWTO Use Python in the web
  • Python Frequently Asked Questions
    • General Python FAQ
    • Programming FAQ
    • Design and History FAQ
    • Library and Extension FAQ
    • Extending/Embedding FAQ
    • Python on Windows FAQ
    • Graphic User Interface FAQ
    • “Why is Python Installed on my Computer?” FAQ
  • Glossary
  • About these documents
    • Contributors to the Python Documentation
  • Reporting Bugs
    • Documentation bugs
    • Using the Python issue tracker
  • Copyright
  • History and License
    • History of IronPython
    • Terms and conditions for accessing or otherwise using IronPython
    • Licenses and Acknowledgements for Incorporated Software
    • History of Python
    • Terms and conditions for accessing or otherwise using Python
    • Licenses and Acknowledgements for Incorporated Software
 
IronPython
  • Docs »
  • 26. Debugging and Profiling
  • Edit on GitHub

26. Debugging and Profiling¶

These libraries help you with Python development: the debugger enables you to step through code, analyze stack frames and set breakpoints etc., and the profilers run code and give you a detailed breakdown of execution times, allowing you to identify bottlenecks in your programs.

  • 26.1. bdb — Debugger framework
  • 26.2. pdb — The Python Debugger
  • 26.3. Debugger Commands
  • 26.4. The Python Profilers
    • 26.4.1. Introduction to the profilers
    • 26.4.2. Instant User’s Manual
    • 26.4.3. What Is Deterministic Profiling?
    • 26.4.4. Reference Manual – profile and cProfile
      • 26.4.4.1. The Stats Class
    • 26.4.5. Limitations
    • 26.4.6. Calibration
    • 26.4.7. Extensions — Deriving Better Profilers
  • 26.5. hotshot — High performance logging profiler
    • 26.5.1. Profile Objects
    • 26.5.2. Using hotshot data
    • 26.5.3. Example Usage
  • 26.6. timeit — Measure execution time of small code snippets
    • 26.6.1. Command Line Interface
    • 26.6.2. Examples
  • 26.7. trace — Trace or track Python statement execution
    • 26.7.1. Command-Line Usage
      • 26.7.1.1. Main options
      • 26.7.1.2. Modifiers
      • 26.7.1.3. Filters
    • 26.7.2. Programmatic Interface
Next Previous

© Copyright IronPython Team; Microsoft Corporation; Python Software Foundation. Last updated on Nov 16, 2013.

Sphinx theme provided by Read the Docs
Advertisement