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.10.tar.gz
(19.4 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.10.tar.gz.
File metadata
- Download URL: movoid_debug-1.4.10.tar.gz
- Upload date:
- Size: 19.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a0b2fbe19f294153db34a5ee0b6acfcf1b969d3dbf316c79f1883d423ad4aa3
|
|
| MD5 |
3ad5468f7b4dfc9232f364b39b5a679e
|
|
| BLAKE2b-256 |
f9eb65dce746d2d79b0b3c2ad0860e9cb4f004cda029845fce73823cdd750c49
|
File details
Details for the file movoid_debug-1.4.10-py3-none-any.whl.
File metadata
- Download URL: movoid_debug-1.4.10-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 |
008e1c87427a84d3b2fbc9db4a138ca33d4fab82e67a13dca1eaf8c1fa8dd2f2
|
|
| MD5 |
e619b1062fcb47a133c71400197a6b29
|
|
| BLAKE2b-256 |
fcc721a092eb684e3f3aa5077da3a4d041c9d4fee6f783654a8f7fcf76ec1ad3
|