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
Release history Release notifications | RSS feed
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.9.tar.gz
(19.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file movoid_debug-1.4.9.tar.gz.
File metadata
- Download URL: movoid_debug-1.4.9.tar.gz
- Upload date:
- Size: 19.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
96cf882964e25f03afc8d92b2d11df3935195d43400dca1629e248d9a4928a5b
|
|
| MD5 |
77d0c33f1c9d99ef9b35a6f2b06fda20
|
|
| BLAKE2b-256 |
8aea3fefe97fbf257a2499ad53f50d1eb95d2c044252644c89edbe5222eb999c
|
File details
Details for the file movoid_debug-1.4.9-py3-none-any.whl.
File metadata
- Download URL: movoid_debug-1.4.9-py3-none-any.whl
- Upload date:
- Size: 23.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
551686273ee60c0f7c531492f4d29c2cbd50d911ebdeadcf980fa4e00dab80e7
|
|
| MD5 |
90099935ef486b36f2c1ce93e1985d4b
|
|
| BLAKE2b-256 |
9dd9b6e69f532244aa433f8930471b6eeed369294f1cf24d5b71f160a866aa79
|