Logo

Topik sebelumnya

test --- Regression tests package for Python

Topik berikutnya

Audit events table

Halaman Ini

  • Laporkan Bug
  • Lihat Sumber

Navigasi

  • index
  • modul |
  • berikut |
  • sebelum |
  • python logo
  • Python »
  • 3.8.14 Documentation »
  • Pustaka Standar Python »
  • |

Debugging dan ProfilingΒΆ

Pustaka-pustaka ini membantu Anda dalam pengembangan Python: debugger memungkinkan Anda untuk menelusuri kode, menganalisis bingkai tumpukan (stack frames), dan mengatur breakpoints dll., Dan profiler menjalankan kode dan memberi Anda rincian waktu eksekusi, yang memungkinkan Anda untuk mengidentifikasi kemacetan (bottlenecks) dalam program Anda. Audit memberikan visibilitas ke dalam perilaku runtime yang seharusnya memerlukan debugging atau patch yang mengganggu.

  • Audit events table
  • bdb --- Debugger framework
  • faulthandler --- Dump the Python traceback
    • Dumping the traceback
    • Fault handler state
    • Dumping the tracebacks after a timeout
    • Dumping the traceback on a user signal
    • Issue with file descriptors
    • Contoh
  • pdb --- The Python Debugger
    • Debugger Commands
  • The Python Profilers
    • Introduction to the profilers
    • Instant User's Manual
    • profile and cProfile Module Reference
    • The Stats Class
    • What Is Deterministic Profiling?
    • Limitations
    • Calibration
    • Using a custom timer
  • timeit --- Measure execution time of small code snippets
    • Basic Examples
    • Python Interface
    • Command-Line Interface
    • Contoh-contoh
  • trace --- Trace or track Python statement execution
    • Command-Line Usage
      • Main options
      • Modifiers
      • Filters
    • Programmatic Interface
  • tracemalloc --- Trace memory allocations
    • Contoh-contoh
      • Display the top 10
      • Compute differences
      • Get the traceback of a memory block
      • Pretty top
    • API
      • Fungsi-Fungsi
      • DomainFilter
      • Filter
      • Frame
      • Snapshot
      • Statistic
      • StatisticDiff
      • Trace
      • Traceback

Topik sebelumnya

test --- Regression tests package for Python

Topik berikutnya

Audit events table

Halaman Ini

  • Laporkan Bug
  • Lihat Sumber

Navigasi

  • index
  • modul |
  • berikut |
  • sebelum |
  • python logo
  • Python »
  • 3.8.14 Documentation »
  • Pustaka Standar Python »
  • |
© Hak Cipta 2001-2022, Python Software Foundation.
This page is licensed under the Python Software Foundation License Version 2.
Examples, recipes, and other code in the documentation are additionally licensed under the Zero Clause BSD License.

The Python Software Foundation is a non-profit corporation. Please donate.

Terakhir diperbarui pada Sep 12, 2022. Found a bug?
Created using Sphinx 2.4.4.