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.5.7.tar.gz (26.5 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.5.7-py3-none-any.whl (32.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: movoid_debug-1.5.7.tar.gz
  • Upload date:
  • Size: 26.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for movoid_debug-1.5.7.tar.gz
Algorithm Hash digest
SHA256 d0a73069fe137be29ab66d85f9c68a55bc02cb9389b5f6a9db0431a19bc6ee40
MD5 a3e3b13fb6cf61ab4ac77695c607dbec
BLAKE2b-256 4d1f98bbf7a5e74d4e51aa02231bad5117e5056fa3511505c5145ca3586a6731

See more details on using hashes here.

File details

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

File metadata

  • Download URL: movoid_debug-1.5.7-py3-none-any.whl
  • Upload date:
  • Size: 32.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for movoid_debug-1.5.7-py3-none-any.whl
Algorithm Hash digest
SHA256 cdeb8b3c7f812c42e6d8bc957a7e975c921552fcd4c3c4bf9d473b6479c67f38
MD5 012393a7e7418ad4614efb9fbb1f2eb0
BLAKE2b-256 b8d1e2e441ca473a9d2a0134d855432d0fbbd4295dc06cc439ee726279e37875

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