Skip to main content

这个是一系列函数、类的装饰器,在运行时,如果报错,那么将会进入调试状态 默认情况下:

  • 1:将所有Exception raise 出去,不做任何处理
  • 2:将Exception保存下来,可以在任意的地方调用某个方法抛出

debug状态下:

  • 0:直接进入debug模式,弹出窗口,并进行操作
  • 1:将所有Exception raise 出去,不做任何处理
  • 2:将Exception保存下来,可以在任意的地方调用某个方法抛出

启动方法

命令行

在命令行运行python脚本时,可以在命令行中额外输入__debug=1或__debug=debug来启动debug状态,其他指令均为默认情况

代码

在代码中可以通过以下方式来直接开启debug模式

from movoid_debug import FLOW
FLOW.debug_type=1

Metadata

Release files for movoid-debug 1.6.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for movoid-debug 1.6.2
File Size Uploaded Provenance Actions
movoid_debug-1.6.2.tar.gz 27.0 kB Without provenance Details for movoid_debug-1.6.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for movoid-debug 1.6.2
File Interpreter ABI Platform Actions
movoid_debug-1.6.2-py3-none-any.whl Python 3 none any Details for movoid_debug-1.6.2-py3-none-any.whl

Total release size: 59.3 kB

Release files / movoid_debug-1.6.2.tar.gz

Download URL movoid_debug-1.6.2.tar.gz
Size 27.0 kB
Tags Source
SHA-256 checksum
How to use checksums
281efa980ad61a9796f95d0c8504c909da396e2f07d78288e89e3586df161ebe
BLAKE2b-256 checksum
How to use checksums
7e5a0203cd7f9bf4d3b10679f61df4998255d290a3ddf0ff2ae8ffe97b5f855d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / movoid_debug-1.6.2-py3-none-any.whl

Download URL movoid_debug-1.6.2-py3-none-any.whl
Size 32.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a626e46a26cbee5d475cbaa6750f2bf315e5e6cf6cae04fc2e874f046eae1d50
BLAKE2b-256 checksum
How to use checksums
0381a4909060d4996b09a4c0f237b1eeda7a2766968dd36a9c479fe7b8c6e0eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Security for movoid-debug 1.6.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page