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.5.0.tar.gz
(24.7 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.5.0.tar.gz.
File metadata
- Download URL: movoid_debug-1.5.0.tar.gz
- Upload date:
- Size: 24.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.24
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd4751e2f9c07d4821f395e8ce2b15af83cec41b678469ec14aeb7e3fdb62809
|
|
| MD5 |
e972b54cea0c7a7836dfa72a35395685
|
|
| BLAKE2b-256 |
0ab426a1b0a8e292fa1705153b04201c08e4c0a56e1b7033aa89813c118ead32
|
File details
Details for the file movoid_debug-1.5.0-py3-none-any.whl.
File metadata
- Download URL: movoid_debug-1.5.0-py3-none-any.whl
- Upload date:
- Size: 30.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.24
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1179595cf56ff4e9a5f8d07168680b2fdbb663607accfe9ad3965b3c6b61960b
|
|
| MD5 |
6b4d520dd98fbb736d49082b04d25b28
|
|
| BLAKE2b-256 |
dbe1789780d840db17badc8e2a9d4938387ed4023e32eea5e8817a10d1a1a8c7
|