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.1

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.1
File Size Uploaded Provenance Actions
movoid_debug-1.6.1.tar.gz 26.6 kB Without provenance Details for movoid_debug-1.6.1.tar.gz

Built distribution (wheel)

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

Total release size: 58.9 kB

Release files / movoid_debug-1.6.1.tar.gz

Download URL movoid_debug-1.6.1.tar.gz
Size 26.6 kB
Tags Source
SHA-256 checksum
How to use checksums
6010b2ae5e7e6648f12aec70238e0ce7974ed187a8f0aa13c0a6d43609ff9c2d
BLAKE2b-256 checksum
How to use checksums
e61fe6211eae4ac3c6f0ee18755ff434ba8f7b9476cabe81656765260b3df33a
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.1-py3-none-any.whl

Download URL movoid_debug-1.6.1-py3-none-any.whl
Size 32.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0e08cb8b268c3075c375fda863e795e924a0b69a7180d89ee4ff881eaea240e3
BLAKE2b-256 checksum
How to use checksums
07f24f819618115d9728c5ed81d04541700478a0add499a9f2d18595bad244a6
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.1

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.

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