Skip to main content

No project description provided

Project description

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

  • 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

movoid_debug-1.4.6.tar.gz (18.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

movoid_debug-1.4.6-py3-none-any.whl (22.9 kB view details)

Uploaded Python 3

File details

Details for the file movoid_debug-1.4.6.tar.gz.

File metadata

  • Download URL: movoid_debug-1.4.6.tar.gz
  • Upload date:
  • Size: 18.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for movoid_debug-1.4.6.tar.gz
Algorithm Hash digest
SHA256 6c9aac78800589acfa01406c75c8b488ee4a1be15ffc4be64c4c9733c5ee3ad9
MD5 b752f41e31d98ae0c0c39b6cb060c34f
BLAKE2b-256 6a539254acf5cc10741293440c079a139a86f36170208527d768f363ae048f27

See more details on using hashes here.

File details

Details for the file movoid_debug-1.4.6-py3-none-any.whl.

File metadata

  • Download URL: movoid_debug-1.4.6-py3-none-any.whl
  • Upload date:
  • Size: 22.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for movoid_debug-1.4.6-py3-none-any.whl
Algorithm Hash digest
SHA256 0748edb6fe2ac78df4ab8e78921ed43badfa1e68526d0133025034e1550dd6ef
MD5 734a3824fb9aa0326b1c9bf890d91fba
BLAKE2b-256 be353a1f403b048be5a547da5e944d3af8dc576ffe31216ac22df4906d7cf07f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page